Interface DatabaseSchema
-
- All Known Subinterfaces:
TypedDatabaseSchema
- All Known Implementing Classes:
DatabaseSchemaImpl,ForwardingDatabaseSchema
public interface DatabaseSchemaRepresents an ovsdb database schema, which is comprised of a set of tables.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static DatabaseSchemafromJson(String dbName, com.fasterxml.jackson.databind.JsonNode json)StringgetName()Set<String>getTables()VersiongetVersion()booleanhasTable(String table)<E extends TableSchema<E>>
Etable(String tableName, Class<E> clazz)DatabaseSchemawithInternallyGeneratedColumns()
-
-
-
Method Detail
-
hasTable
boolean hasTable(String table)
-
table
<E extends TableSchema<E>> E table(String tableName, Class<E> clazz)
-
getName
String getName()
-
getVersion
Version getVersion()
-
withInternallyGeneratedColumns
DatabaseSchema withInternallyGeneratedColumns()
-
fromJson
static DatabaseSchema fromJson(String dbName, com.fasterxml.jackson.databind.JsonNode json)
-
-