Interface DatabaseSchema
-
- All Known Subinterfaces:
TypedDatabaseSchema
- All Known Implementing Classes:
DatabaseSchemaImpl
,ForwardingDatabaseSchema
public interface DatabaseSchema
Represents 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 DatabaseSchema
fromJson(String dbName, com.fasterxml.jackson.databind.JsonNode json)
String
getName()
Set<String>
getTables()
Version
getVersion()
boolean
hasTable(String table)
<E extends TableSchema<E>>
Etable(String tableName, Class<E> clazz)
DatabaseSchema
withInternallyGeneratedColumns()
-
-
-
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)
-
-