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
-
-
Constructor Summary
Constructors Constructor Description Row()
Row(TableSchema<E> tableSchema)
Row(TableSchema<E> tableSchema, List<Column<E,?>> columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(String columnName, Column<E,?> data)
boolean
equals(Object obj)
The equals method for Row object should be used with caution.<D> Column<E,D>
getColumn(ColumnSchema<E,D> schema)
Collection<Column<E,?>>
getColumns()
TableSchema<E>
getTableSchema()
int
hashCode()
The hashCode method for Row object should be used with caution.void
setTableSchema(TableSchema<E> tableSchema)
String
toString()
-
-
-
Constructor Detail
-
Row
public Row()
-
Row
public Row(TableSchema<E> tableSchema)
-
Row
public Row(TableSchema<E> tableSchema, List<Column<E,?>> columns)
-
-
Method Detail
-
getColumn
public <D> Column<E,D> getColumn(ColumnSchema<E,D> schema)
-
getColumns
public Collection<Column<E,?>> getColumns()
-
getTableSchema
public TableSchema<E> getTableSchema()
-
setTableSchema
public void setTableSchema(TableSchema<E> tableSchema)
-
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.
-
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.
-
-