|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xerial.db.AbstractTuple
public abstract class AbstractTuple
A base implementation of the Tuple interface
| Constructor Summary | |
|---|---|
AbstractTuple(Relation relation)
|
|
| Method Summary | |
|---|---|
Relation |
getRelation()
Gets the relational schema of this tuple |
abstract Object |
getValue(int relationIndex)
Gets the column value |
Object |
getValue(String parameterName)
Gets the column value |
abstract void |
setValue(int relationIndex,
Object value)
Sets the tuple value of the specified column |
void |
setValue(String parameterName,
Object value)
Gets the tuple value of the specified column name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xerial.db.Tuple |
|---|
getByteSize, load, save |
| Constructor Detail |
|---|
public AbstractTuple(Relation relation)
| Method Detail |
|---|
public Relation getRelation()
Tuple
getRelation in interface Tuple
public abstract void setValue(int relationIndex,
Object value)
Tuple
setValue in interface TuplerelationIndex - the column index to which the value is setvalue - the column value to set
public void setValue(String parameterName,
Object value)
Tuple
setValue in interface TupleparameterName - the column name to which the value is setvalue - the column value to setpublic abstract Object getValue(int relationIndex)
Tuple
getValue in interface TuplerelationIndex - the column index from which the value is read
public Object getValue(String parameterName)
Tuple
getValue in interface TupleparameterName - the column name from which the value is read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
