|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.store.access.conglomerate.OpenConglomerateScratchSpace
A utility class to store and use temporary scratch space associated with a conglomerate.
Field Summary | |
private int[] |
format_ids
A complete array of format id's for this conglomerate. |
private InstanceGetter[] |
row_for_export_class_template
|
private FormatableBitSet |
row_for_export_column_list
A template of info about the classes in the returned row. |
private DataValueDescriptor[] |
scratch_row
A Scratch row used for qualifying rows in the conglomerate. |
private DataValueDescriptor[] |
scratch_template
A Scratch template used for searching and qualifying rows in the conglomerate. |
Constructor Summary | |
OpenConglomerateScratchSpace(int[] format_ids)
Constructors for This class: |
Method Summary | |
DataValueDescriptor[] |
get_row_for_export()
Return an empty template (possibly partial) row to be given back to a client. |
DataValueDescriptor[] |
get_scratch_row()
Return an empty template (possibly partial) row to be used and reused internally for processing. |
DataValueDescriptor[] |
get_template()
Return a complete empty row. |
void |
init(FormatableBitSet export_column_list)
Initialize scratch space for reuse by possibly different template. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private FormatableBitSet row_for_export_column_list
This template is allocated on demand, and is used to efficiently create new rows for export from this class. This variable is for use by get_row_for_export().
private InstanceGetter[] row_for_export_class_template
private DataValueDescriptor[] scratch_template
private DataValueDescriptor[] scratch_row
private int[] format_ids
Constructor Detail |
public OpenConglomerateScratchSpace(int[] format_ids)
Method Detail |
public DataValueDescriptor[] get_row_for_export() throws StandardException
The main use of this is for fetchSet() and fetchNextGroup() which allocate rows and then give them back entirely to the caller.
StandardException
- Standard exception policy.public DataValueDescriptor[] get_scratch_row() throws StandardException
The main use of this is for qualifying rows where a row has not been provided by the client. This routine cache's a single row for reuse by the caller, if the caller needs 2 concurrent scratch rows, some other mechanism must be used.
StandardException
- Standard exception policy.public DataValueDescriptor[] get_template() throws StandardException
The main use of this is for searching a tree where a complete copy of the row is needed for searching.
StandardException
- Standard exception policy.public void init(FormatableBitSet export_column_list)
Some data is only valid per statement.
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |