|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.aida.ref.tuple.FTupleAdapter
Field Summary |
Fields inherited from interface hep.tuple.interfaces.FTuple |
ROWS_UNKNOWN |
Constructor Summary | |
FTupleAdapter(hep.aida.ITuple tuple)
|
Method Summary | |
void |
close()
Free any resources associated with the Tuple (open disk files etc) |
FTupleColumn |
column(int index)
Get a TupleColumn |
FTupleColumn |
columnByName(String name)
Find the index of a column by name |
int |
columnIndexByName(String name)
Get the index corresponding to a given column. |
String |
columnName(int index)
Get the name of a column from its index |
int |
columns()
Get the number of columns in the Tuple |
Class |
columnType(int index)
Get the type of a column from its index |
void |
columnValue(int column,
FTupleCursor cursor,
Value value)
Get a value stored in the column. |
FTupleCursor |
cursor()
Get a cursor for accessing data from the Tuple. |
boolean |
isInMemory()
The purpose of this method is to see if a FTuple would benefit from being buffered in memory for performance issues. |
String |
name()
Get the name of the Tuple. |
int |
rows()
Get the number of rows in the Tuple |
protected void |
setTuple(hep.aida.ITuple tuple)
|
boolean |
supportsMultipleCursors()
Determine if this Tuple supports multiple cursors |
boolean |
supportsRandomAccess()
Determine if the cursor returned by getCursor allows random access to the data |
String |
title()
Get the title of the Tuple. |
FTuple |
tuple(int index)
Get Folder at the current cursor position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FTupleAdapter(hep.aida.ITuple tuple)
Method Detail |
public void close()
FTuple
close
in interface FTuple
public FTupleColumn column(int index)
FTuple
column
in interface FTuple
index
- The index of the column to return
public FTupleColumn columnByName(String name)
FTuple
columnByName
in interface FTuple
name
- The name of the column to search for
public int columnIndexByName(String name)
FTuple
columnIndexByName
in interface FTuple
name
- The column's name.
public String columnName(int index)
FTuple
columnName
in interface FTuple
index
- The column's index
public Class columnType(int index)
FTuple
columnType
in interface FTuple
index
- The column's index
public void columnValue(int column, FTupleCursor cursor, Value value)
FTuple
columnValue
in interface FTuple
column
- The column's index.cursor
- The cursor that specifies which value to get.value
- The Value object in which the value is passed.public int columns()
FTuple
columns
in interface FTuple
public FTupleCursor cursor() throws IllegalStateException
FTuple
cursor
in interface FTuple
IllegalStateException
public boolean isInMemory()
FTuple
isInMemory
in interface FTuple
public String name()
FTuple
name
in interface FTuple
public int rows()
FTuple
rows
in interface FTuple
public boolean supportsMultipleCursors()
FTuple
supportsMultipleCursors
in interface FTuple
public boolean supportsRandomAccess()
FTuple
supportsRandomAccess
in interface FTuple
public String title()
FTuple
title
in interface FTuple
public FTuple tuple(int index)
FTuple
tuple
in interface FTuple
index
- The column's index of the Folder.
protected void setTuple(hep.aida.ITuple tuple)
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |