Class SortedReduceIndexAdapter
- java.lang.Object
-
- org.h2.engine.DbObjectBase
-
- org.h2.schema.SchemaObjectBase
-
- org.h2.index.BaseIndex
-
- org.apache.ignite.internal.processors.query.h2.twostep.AbstractReduceIndexAdapter
-
- org.apache.ignite.internal.processors.query.h2.twostep.SortedReduceIndexAdapter
-
- All Implemented Interfaces:
org.h2.engine.DbObject,org.h2.index.Index,org.h2.schema.SchemaObject
public final class SortedReduceIndexAdapter extends AbstractReduceIndexAdapter
H2Indexadapter forSortedReducer.
-
-
Constructor Summary
Constructors Constructor Description SortedReduceIndexAdapter(GridKernalContext ctx, ReduceTable tbl, String name, org.h2.table.IndexColumn[] cols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareRows(org.h2.result.SearchRow rowData, org.h2.result.SearchRow compare)doublegetCost(org.h2.engine.Session ses, int[] masks, org.h2.table.TableFilter[] filters, int filter, org.h2.result.SortOrder sortOrder, HashSet<org.h2.table.Column> allColumnsSet)protected SortedReducerreducer()-
Methods inherited from class org.apache.ignite.internal.processors.query.h2.twostep.AbstractReduceIndexAdapter
add, canGetFirstOrLast, checkRename, close, find, findFirstOrLast, getDiskSpaceUsed, getRowCount, getRowCountApproximation, needRebuild, remove, remove, truncate
-
Methods inherited from class org.h2.index.BaseIndex
canFindNext, canScan, checkIndexColumnTypes, commit, createLookupBatch, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, removeChildrenAndResources, setSortedInsertMode
-
Methods inherited from class org.h2.engine.DbObjectBase
getChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
SortedReduceIndexAdapter
public SortedReduceIndexAdapter(GridKernalContext ctx, ReduceTable tbl, String name, org.h2.table.IndexColumn[] cols)
- Parameters:
ctx- Kernal context.tbl- Table.name- Index name,cols- Columns.
-
-
Method Detail
-
reducer
protected SortedReducer reducer()
-
getCost
public double getCost(org.h2.engine.Session ses, int[] masks, org.h2.table.TableFilter[] filters, int filter, org.h2.result.SortOrder sortOrder, HashSet<org.h2.table.Column> allColumnsSet)
-
compareRows
public int compareRows(org.h2.result.SearchRow rowData, org.h2.result.SearchRow compare)- Specified by:
compareRowsin interfaceorg.h2.index.Index- Overrides:
compareRowsin classorg.h2.index.BaseIndex
-
-