Esempio n. 1
0
 // Schema operations
 @Override
 public ListenableFuture<List<String>> getDatabases() {
   return new MockListenableFuture<>(Collections.singletonList(vtepSchema.getName()));
 }
Esempio n. 2
0
 private DatabaseSchema getDbSchema(String dbName) {
   return (vtepSchema.getName().equals(dbName)) ? vtepSchema : null;
 }