org.objectweb.medor.tuple.api
Interface Tuple
- MemoryTuple
This interface represents a tuple like in database terminology.
It is a list of attributes. Each getXXX(attributeNum) method retrieves the
value of
an attribute into an XXX type if possible. Columns are numbered starting
from 1.
Tuple extends the Cloneable
interface to indicate to the Object.clone() method that it is legal for
that method to make a field-for-field copy of instances of a tuple class.
BigDecimal | getBigDecimal(int i) - Returns the value of the designated column
in the current row of this Tuple
as a BigDecimal in the java programming language
|
BigInteger | getBigInteger(int i) - Returns the value of the designated column
in the current row of this Tuple
as a BigDecimal in the java programming language
|
boolean | getBoolean(int i) - Returns the value of the designated column
in the current row of this Tuple
as a Boolean of java programming language
|
byte | getByte(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java byte
|
byte[] | getByteArray(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java byte
|
char | getChar(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java char
|
char[] | getCharArray(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java char[]
|
Date | getDate(int i) - Returns the value of the designated column
in the current row of this Tuple as a java.sql.Data
|
double | getDouble(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java double
|
float | getFloat(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java float
|
int | getInt(int i) - Returns the value of the designated column
in the current row of this Tuple as a java int
|
Operand | getLikeOperand(int i) - Returns the value of the designated column
in the current row of this Tuple
as an org.objectweb.medor.filter.Operand Object
|
long | getLong(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java long
|
Object | getObject(int i) - Returns the value of the designated column
in the current row of this Tuple as a Java Object
|
short | getShort(int i) - Returns the value of the designated column
in the current row of this Tuple
as a Short in the java programming language
|
int | getSize() - Give the number of the attribute in this Tuple object.
|
String | getString(int i) - Returns the value of the designated column
in the current row of this Tuple
as a String in java programming language
|
TupleCollection | getTupleCollection(int i) - Returns the value of the designated column
in the current row of this Tuple
as a org.objectweb.medor object
|
boolean | isDefined(int i)
|
Operand[] | toOperandArray() - Give the array of Operand object representation of the Tuple.
|
getBigDecimal
public BigDecimal getBigDecimal(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a BigDecimal in the java programming language
getBigInteger
public BigInteger getBigInteger(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a BigDecimal in the java programming language
getBoolean
public boolean getBoolean(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a Boolean of java programming language
getByte
public byte getByte(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java byte
getByteArray
public byte[] getByteArray(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java byte
getChar
public char getChar(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java char
getCharArray
public char[] getCharArray(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java char[]
getDate
public Date getDate(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a java.sql.Data
getDouble
public double getDouble(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java double
getFloat
public float getFloat(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java float
getInt
public int getInt(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a java int
getLikeOperand
public Operand getLikeOperand(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as an org.objectweb.medor.filter.Operand Object
getLong
public long getLong(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java long
getObject
public Object getObject(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple as a Java Object
getShort
public short getShort(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a Short in the java programming language
getSize
public int getSize()
Give the number of the attribute in this Tuple object.
- an int
getString
public String getString(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a String in java programming language
getTupleCollection
public TupleCollection getTupleCollection(int i)
throws MedorException
Returns the value of the designated column
in the current row of this Tuple
as a org.objectweb.medor object
isDefined
public boolean isDefined(int i)
toOperandArray
public Operand[] toOperandArray()
Give the array of Operand object representation of the Tuple.
- an array of Operand type.