|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tuple
Tuple interface represents an instance of a Relation.
| Method Summary | |
|---|---|
int |
getByteSize()
Gets the byte size of this tuple |
Relation |
getRelation()
Gets the relational schema of this tuple |
Object |
getValue(int columnIndex)
Gets the column value |
Object |
getValue(String columnName)
Gets the column value |
int |
load(BufferReader reader)
Loads the tuple from the buffer |
int |
save(BufferWriter writer)
Saves the tuple to the buffer |
void |
setValue(int columnIndex,
Object value)
Sets the tuple value of the specified column |
void |
setValue(String columnName,
Object value)
Gets the tuple value of the specified column name |
| Method Detail |
|---|
Relation getRelation()
void setValue(int columnIndex,
Object value)
columnIndex - the column index to which the value is setvalue - the column value to set
void setValue(String columnName,
Object value)
columnName - the column name to which the value is setvalue - the column value to setObject getValue(int columnIndex)
columnIndex - the column index from which the value is read
Object getValue(String columnName)
columnName - the column name from which the value is read
int getByteSize()
int load(BufferReader reader)
reader - the BufferReader
int save(BufferWriter writer)
writer - the BufferWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
