|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.mapper.rdb.lib.RdbTupleCollection
Is a TupleCollection encaspulating a prefetched buffer.
Constructor Summary | |
RdbTupleCollection(java.lang.Object txctx,
java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
int pi,
Logger l,
PClassMapping pcm,
boolean withSubType,
java.lang.Object png)
|
Method Summary | |
void |
close()
|
void |
first()
Moves the cursor to the first Tuple of this TupleCollection |
java.math.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 |
java.math.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[] |
java.util.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 |
TupleStructure |
getMetaData()
|
java.lang.Object |
getObject(int i)
Returns the value of the designated column in the current row of this Tuple as an Object in the java programming language |
int |
getPNameIndex()
Gets the index of the PName of the persistent class which is pefetched |
PrefetchBuffer |
getPrefetchBuffer()
Gets the PrefetchBuffer associated with the TupleCollection. |
int |
getRow()
Retrieves the current row Number of this TupleCollection |
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. |
java.lang.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 |
Tuple |
getTuple()
|
Tuple |
getTuple(int row)
|
TupleCollection |
getTupleCollection(int i)
Returns the value of the designated column in the current row of this Tuple as a org.objectweb.medor object |
void |
invalidatePrefetchBuffer()
|
boolean |
isDefined(int i)
|
boolean |
isEmpty()
|
boolean |
isLast()
|
boolean |
next()
Moves the cursor down one row from its current position to the next tuple |
boolean |
row(int i)
|
Operand[] |
toOperandArray()
Give the array of Operand object representation of the Tuple. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RdbTupleCollection(java.lang.Object txctx, java.sql.ResultSet rs, java.sql.PreparedStatement ps, int pi, Logger l, PClassMapping pcm, boolean withSubType, java.lang.Object png) throws MedorException, java.sql.SQLException
Method Detail |
public PrefetchBuffer getPrefetchBuffer()
PPrefetchTupleCollection
getPrefetchBuffer
in interface PPrefetchTupleCollection
public int getPNameIndex()
PPrefetchTupleCollection
getPNameIndex
in interface PPrefetchTupleCollection
public TupleStructure getMetaData() throws MedorException
MedorException
public boolean isLast() throws MedorException
MedorException
public void close() throws MedorException
MedorException
public boolean next() throws MedorException
MedorException
public void first() throws MedorException
MedorException
public int getRow() throws MedorException
MedorException
public Tuple getTuple() throws MedorException
MedorException
public Tuple getTuple(int row) throws MedorException
MedorException
public boolean isEmpty() throws MedorException
MedorException
public boolean row(int i) throws MedorException
MedorException
public int getSize()
public Operand[] toOperandArray()
public boolean getBoolean(int i) throws MedorException
MedorException
public byte getByte(int i) throws MedorException
MedorException
public byte[] getByteArray(int i) throws MedorException
MedorException
public char getChar(int i) throws MedorException
MedorException
public char[] getCharArray(int i) throws MedorException
MedorException
public java.util.Date getDate(int i) throws MedorException
MedorException
public double getDouble(int i) throws MedorException
MedorException
public float getFloat(int i) throws MedorException
MedorException
public int getInt(int i) throws MedorException
MedorException
public Operand getLikeOperand(int i) throws MedorException
MedorException
public long getLong(int i) throws MedorException
MedorException
public java.lang.Object getObject(int i) throws MedorException
MedorException
public short getShort(int i) throws MedorException
MedorException
public java.math.BigDecimal getBigDecimal(int i) throws MedorException
MedorException
public java.math.BigInteger getBigInteger(int i) throws MedorException
MedorException
public java.lang.String getString(int i) throws MedorException
MedorException
public TupleCollection getTupleCollection(int i) throws MedorException
MedorException
public boolean isDefined(int i)
public void invalidatePrefetchBuffer() throws MedorException
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |