Class Row<E extends TableSchema<E>>

java.lang.Object
org.opendaylight.ovsdb.lib.notation.Row<E>

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

  • Constructor Details

  • Method Details

    • getColumn

      public <D> Column<E,D> getColumn(ColumnSchema<E,D> schema)
    • getColumns

      public Collection<Column<E,?>> getColumns()
    • addColumn

      public void addColumn(String columnName, Column<E,?> data)
    • getTableSchema

      public TableSchema<E> getTableSchema()
    • setTableSchema

      public void setTableSchema(TableSchema<E> tableSchema)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      The hashCode method for Row object should be used with caution. This method will use all the columns in the row to calculate the hashKey. Hence using this method on a partial Row will return a different hashKey and will not work in most of the use-cases this method might be used.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      The equals method for Row object should be used with caution. This method will compare all the columns in the row being compared. Hence using this method to compare a partial Row will return false and will not work in most of the use-cases this method might be used.
      Overrides:
      equals in class Object