| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private long | beginMemoryUsage
Information about memory usage to dynamically tune the in-memory sort buffer size. |
| private Vector | mergeRuns
A vector of the conglomerate ids of the merge runs. |
| private int | |
| private MergeSort | sort
The sort this inserter is for. |
| private SortBuffer | sortBuffer
An in-memory ordered set that is used to sort rows before they're sent to merge runs. |
| pack-priv Vector | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| private int | |
| private TransactionManager | tran
The transaction this inserter is in. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | completedInserts()
Implements org. Called when the caller has completed inserting rows into the sorter. |
| public SortInfo | Returns: The SortInfo object which contains info about current sort.Implements org. Return SortInfo object which contains information about the current sort. |
| pack-priv boolean | Returns: true if initialization was successfulInitialize this inserter. |
| public void | insert(DataValueDescriptor[]
The row to insert into the SortController. The stored
representations of the row's columns are copied into a new row
somewhere in the sort. row)Implements org. Insert a row into the sort. |
| avoidMergeRun | back to summary |
|---|---|
| private boolean avoidMergeRun | |
| beginMemoryUsage | back to summary |
|---|---|
| private long beginMemoryUsage Information about memory usage to dynamically tune the in-memory sort buffer size. | |
| mergeRuns | back to summary |
|---|---|
| private Vector<Long> mergeRuns A vector of the conglomerate ids of the merge runs. | |
| runSize | back to summary |
|---|---|
| private int runSize | |
| sort | back to summary |
|---|---|
| private MergeSort sort The sort this inserter is for. | |
| sortBuffer | back to summary |
|---|---|
| private SortBuffer sortBuffer An in-memory ordered set that is used to sort rows before they're sent to merge runs. | |
| stat_mergeRunsSize | back to summary |
|---|---|
| pack-priv Vector<Integer> stat_mergeRunsSize | |
| stat_numMergeRuns | back to summary |
|---|---|
| pack-priv int stat_numMergeRuns | |
| stat_numRowsInput | back to summary |
|---|---|
| pack-priv int stat_numRowsInput | |
| stat_numRowsOutput | back to summary |
|---|---|
| pack-priv int stat_numRowsOutput | |
| stat_sortType | back to summary |
|---|---|
| pack-priv String stat_sortType | |
| totalRunSize | back to summary |
|---|---|
| private int totalRunSize | |
| tran | back to summary |
|---|---|
| private TransactionManager tran The transaction this inserter is in. | |
| MergeInserter | back to summary |
|---|---|
| pack-priv MergeInserter() | |
| completedInserts | back to summary |
|---|---|
| public void completedInserts() Implements org. Called when the caller has completed inserting rows into the sorter.
| |
| getSortInfo | back to summary |
|---|---|
| public SortInfo getSortInfo() throws StandardException Implements org. Return SortInfo object which contains information about the current sort.
| |
| initialize | back to summary |
|---|---|
| pack-priv boolean initialize(MergeSort sort, TransactionManager tran) Initialize this inserter.
| |
| insert | back to summary |
|---|---|
| public void insert(DataValueDescriptor[] row) throws StandardException Implements org. Insert a row into the sort.
| |