public class StoredTableRow
extends java.lang.Object
Constructor and Description |
---|
StoredTableRow(StoredTableSchema schema)
creates a row for the specified table schema
|
Modifier and Type | Method and Description |
---|---|
<E> E |
getPayload(StoredFieldSchema<E> field)
gets the payload for the specified field
|
StoredTableSchema |
getStoredTableSchema()
get the table schema this row relates to
|
<E> void |
setPayload(FieldSchema<E> field,
E payload)
sets the payload for specified field
|
public StoredTableRow(StoredTableSchema schema)
schema
- the schema of the tablepublic <E> void setPayload(FieldSchema<E> field, E payload)
field
- field schemapayload
- payload to add for this row for the field schemapublic <E> E getPayload(StoredFieldSchema<E> field)
field
- the field schemapublic StoredTableSchema getStoredTableSchema()