|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.store.access.sort.MergeInserter
| Field Summary | |
(package private) boolean |
avoidMergeRun
|
(package private) long |
beginFreeMemory
Information about memory usage to dynamically tune the in-memory sort buffer size. |
(package private) long |
beginTotalMemory
|
(package private) long |
estimatedMemoryUsed
|
(package private) java.util.Vector |
mergeRuns
A vector of the conglomerate ids of the merge runs. |
(package private) int |
runSize
|
protected MergeSort |
sort
The sort this inserter is for. |
(package private) SortBuffer |
sortBuffer
An in-memory ordered set that is used to sort rows before they're sent to merge runs. |
protected java.util.Vector |
stat_mergeRunsSize
|
protected int |
stat_numMergeRuns
|
protected int |
stat_numRowsInput
|
protected int |
stat_numRowsOutput
|
protected java.lang.String |
stat_sortType
|
(package private) int |
totalRunSize
|
protected TransactionManager |
tran
The transaction this inserter is in. |
| Constructor Summary | |
MergeInserter()
|
|
| Method Summary | |
void |
close()
Close this sort controller. |
SortInfo |
getSortInfo()
Return SortInfo object which contains information about the current sort. |
(package private) boolean |
initialize(MergeSort sort,
TransactionManager tran)
Initialize this inserter. |
void |
insert(DataValueDescriptor[] row)
Insert a row into the sort. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MergeSort sort
protected TransactionManager tran
java.util.Vector mergeRuns
SortBuffer sortBuffer
long beginFreeMemory
long beginTotalMemory
long estimatedMemoryUsed
boolean avoidMergeRun
int runSize
int totalRunSize
protected java.lang.String stat_sortType
protected int stat_numRowsInput
protected int stat_numRowsOutput
protected int stat_numMergeRuns
protected java.util.Vector stat_mergeRunsSize
| Constructor Detail |
public MergeInserter()
| Method Detail |
public void insert(DataValueDescriptor[] row)
throws StandardException
insert in interface SortControllerrow - The row to insert into the conglomerate. The stored
representations of the row's columns are copied into a new row
somewhere in the conglomerate.
StandardException - Standard exception policy.SortController.insert(org.apache.derby.iapi.types.DataValueDescriptor[])public void close()
close in interface SortControllerSortController.close()
public SortInfo getSortInfo()
throws StandardException
getSortInfo in interface SortControllerStandardException - Standard exception policy.SortInfo
boolean initialize(MergeSort sort,
TransactionManager tran)
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||