public class MultipleTableRow
extends java.lang.Object
Constructor and Description |
---|
MultipleTableRow(StoredTableSchema schema) |
Modifier and Type | Method and Description |
---|---|
void |
addAllStoredFieldToCurrentRow(NamedList<StoredField> allstoredfields)
Adds all the fields in the list
|
void |
addQueryCondition(QueryCondition conditionforupdate) |
void |
addStoredFieldToCurrentRow(StoredField storedfield)
Adds a specific field
|
NamedList<StoredField> |
getPayload(int index)
gets all fields for the row
|
<E> E |
getPayload(int index,
StoredFieldSchema<E> field)
gets the payload for the given field schema
|
int |
getPayloadSize() |
QueryCondition |
getQueryCondition(int index) |
StoredTableSchema |
getTableSchema() |
void |
setNextQuery()
move to the next row of processing
|
public MultipleTableRow(StoredTableSchema schema)
schema
- common schema for all rowspublic void setNextQuery()
public void addStoredFieldToCurrentRow(StoredField storedfield)
storedfield
- the stored field to add to current rowpublic void addAllStoredFieldToCurrentRow(NamedList<StoredField> allstoredfields)
allstoredfields
- a list of stored fields for the current rowpublic void addQueryCondition(QueryCondition conditionforupdate)
conditionforupdate
- the condition for update for the current rowpublic StoredTableSchema getTableSchema()
public int getPayloadSize()
public NamedList<StoredField> getPayload(int index)
index
- index of the rowpublic <E> E getPayload(int index, StoredFieldSchema<E> field)
index
- index of the rowfield
- schema of the fieldpublic QueryCondition getQueryCondition(int index)
index
- index of the row