Class TableSchema<E extends TableSchema<E>>

java.lang.Object
org.opendaylight.ovsdb.lib.schema.TableSchema<E>
Direct Known Subclasses:
GenericTableSchema

public abstract class TableSchema<E extends TableSchema<E>> extends Object
  • Field Details

    • UUID_COLUMN_SCHMEMA

      protected static final ColumnSchema UUID_COLUMN_SCHMEMA
    • VERSION_COLUMN_SCHMEMA

      protected static final ColumnSchema VERSION_COLUMN_SCHMEMA
  • Constructor Details

  • Method Details

    • getColumns

      public Set<String> getColumns()
    • getColumnList

      public List<String> getColumnList()
    • getColumnSchemas

      public Map<String,ColumnSchema> getColumnSchemas()
    • hasColumn

      public boolean hasColumn(String column)
    • getColumnType

      public ColumnType getColumnType(String column)
    • as

      public <E extends TableSchema<E>> E as(Class<E> clazz)
    • insert

      public Insert<E> insert()
    • multiValuedColumn

      public <D> ColumnSchema<E,Set<D>> multiValuedColumn(String column, Class<D> type)
    • multiValuedColumn

      public <K, V> ColumnSchema<E,Map<K,V>> multiValuedColumn(String column, Class<K> keyType, Class<V> valueType)
    • column

      public <D> ColumnSchema<E,D> column(String column, Class<D> type)
    • column

      public ColumnSchema column(String column)
    • getName

      public String getName()
    • updatesFromJson

      public TableUpdate<E> updatesFromJson(com.fasterxml.jackson.databind.JsonNode value)
    • createRow

      public Row<E> createRow(com.fasterxml.jackson.databind.node.ObjectNode rowNode)
    • createRows

      public List<Row<E>> createRows(com.fasterxml.jackson.databind.JsonNode rowsNode)
    • withInternallyGeneratedColumns

      public abstract E withInternallyGeneratedColumns()
    • haveInternallyGeneratedColumns

      protected final boolean haveInternallyGeneratedColumns()