| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private ColumnOrdering[] | |
| private ScanController | |
| private boolean | |
| private long | |
| private ExecIndexRow |
| Access | Constructor and Description |
|---|---|
| pack-priv | DistinctScalarAggregateResultSet(NoPutResultSet
input result set s, boolean true if the source results are in sorted order isInSortedOrder, int indicates the number of the
SavedObject off of the PreparedStatement that holds the
AggregatorInfoList used by this routine. aggregateItem, int orderingItem, Activation activation a, int saved object that builds an empty output row ra, int maxRowSize, int The resultSetNumber for this result set resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost)Constructor |
| dropDistinctAggSort | back to summary |
|---|---|
| private boolean dropDistinctAggSort | |
| maxRowSize | back to summary |
|---|---|
| private int maxRowSize | |
| order | back to summary |
|---|---|
| private ColumnOrdering[] order | |
| scanController | back to summary |
|---|---|
| private ScanController scanController | |
| sorted | back to summary |
|---|---|
| private boolean sorted | |
| sortId | back to summary |
|---|---|
| private long sortId | |
| sortResultRow | back to summary |
|---|---|
| private ExecIndexRow sortResultRow | |
| DistinctScalarAggregateResultSet | back to summary |
|---|---|
| pack-priv DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, int ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException Constructor
| |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan.
| |
| closeSource | back to summary |
|---|---|
| protected void closeSource() throws StandardException Close the source of whatever we have been scanning.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Overrides org. Implements org. Return the next row. If it is a scalar aggregate scan
| |
| getRowFromResultSet | back to summary |
|---|---|
| public ExecIndexRow getRowFromResultSet(boolean doClone) throws StandardException Overrides org. Get a row from the sorter. Side effects: sets currentRow.
| |
| loadSorter | back to summary |
|---|---|
| private ScanController loadSorter() throws StandardException Load up the sorter. Feed it every row from the source scan. If we have a vector aggregate, initialize the aggregator for each source row. When done, close the source scan and open the sort. Return the sort scan controller.
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Overrides org. Implements org. Open the scan. Load the sorter and prepare to get rows from it.
| |
| reopenCore | back to summary |
|---|---|
| public void reopenCore() throws StandardException Overrides org. Implements org. reopen a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |