|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JRHierarchicalDataset
A JRHierarchicalDataset provides data for JReport for generating reports. JRHierarchicalDataset class is developed by user of JReport, and it can provide data from flat file, non-relational database, or application data.
| Method Summary | |
|---|---|
void |
close()
Releases this object's resource. |
java.sql.Array |
getArray(int leafIndex)
Returns the value of the designated leaf in the current branch node row as an Array object in the Java programming language. |
java.math.BigDecimal |
getBigDecimal(int leafIndex)
Gets the value of the designated leaf in the current branch node row as a java.math.BigDecimal with full precision. |
java.io.InputStream |
getBinaryStream(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a stream in the Java programming language. |
boolean |
getBoolean(int leafIndex)
Gets the value of the designated leaf node in the current branch node row as a boolean in the Java programming language. |
byte |
getByte(int leafIndex)
Gets the value of the designated leaf in the current branch node row as a byte in the Java programming language. |
byte[] |
getBytes(int leafIndex)
Gets the value of the designated leaf in the current branch node row as a byte array in the Java programming language. |
java.sql.Date |
getDate(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a java.sql.Date object in the Java programming language. |
double |
getDouble(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a double in the Java programming language. |
float |
getFloat(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a float in the Java programming language. |
int |
getInt(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a int in the Java programming language. |
long |
getLong(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a long in the Java programming language. |
JRHierarchicalDatasetMetaData |
getMetaData()
Retrieves the number, types and properties of this object's leafs |
short |
getShort(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a short in the Java programming language. |
java.lang.String |
getString(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a String in the Java programming language. |
java.sql.Time |
getTime(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a java.sql.Time object in the Java programming language. |
java.sql.Timestamp |
getTimestamp(int leafIndex)
Returns the value of the designated leaf in the current branch node row as a java.sql.Timestamp object in the Java programming language. |
boolean |
next(java.lang.String branchName)
Moves the cursor down one row from its current position in the current node. |
boolean |
wasNull()
Reports whether the last leaf read had a value of SQL NULL |
| Method Detail |
|---|
JRHierarchicalDatasetMetaData getMetaData()
boolean next(java.lang.String branchName)
boolean getBoolean(int leafIndex)
byte getByte(int leafIndex)
byte[] getBytes(int leafIndex)
short getShort(int leafIndex)
int getInt(int leafIndex)
long getLong(int leafIndex)
float getFloat(int leafIndex)
double getDouble(int leafIndex)
java.math.BigDecimal getBigDecimal(int leafIndex)
java.sql.Date getDate(int leafIndex)
java.sql.Time getTime(int leafIndex)
java.sql.Timestamp getTimestamp(int leafIndex)
java.lang.String getString(int leafIndex)
java.sql.Array getArray(int leafIndex)
java.io.InputStream getBinaryStream(int leafIndex)
boolean wasNull()
void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||