Class AbstractReduceIndexAdapter
- java.lang.Object
-
- org.h2.engine.DbObjectBase
-
- org.h2.schema.SchemaObjectBase
-
- org.h2.index.BaseIndex
-
- org.apache.ignite.internal.processors.query.h2.twostep.AbstractReduceIndexAdapter
-
- All Implemented Interfaces:
org.h2.engine.DbObject,org.h2.index.Index,org.h2.schema.SchemaObject
- Direct Known Subclasses:
SortedReduceIndexAdapter,UnsortedReduceIndexAdapter
public abstract class AbstractReduceIndexAdapter extends org.h2.index.BaseIndexH2Indexadapter base class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractReduceIndexAdapter(GridKernalContext ctx, org.h2.table.Table tbl, String name, org.h2.index.IndexType type, org.h2.table.IndexColumn[] cols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.h2.engine.Session ses, org.h2.result.Row row)booleancanGetFirstOrLast()voidcheckRename()voidclose(org.h2.engine.Session ses)org.h2.index.Cursorfind(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)org.h2.index.CursorfindFirstOrLast(org.h2.engine.Session ses, boolean first)longgetDiskSpaceUsed()longgetRowCount(org.h2.engine.Session ses)longgetRowCountApproximation()booleanneedRebuild()voidremove(org.h2.engine.Session ses)voidremove(org.h2.engine.Session ses, org.h2.result.Row row)voidtruncate(org.h2.engine.Session ses)-
Methods inherited from class org.h2.index.BaseIndex
canFindNext, canScan, checkIndexColumnTypes, commit, compareRows, 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
-
AbstractReduceIndexAdapter
protected AbstractReduceIndexAdapter(GridKernalContext ctx, org.h2.table.Table tbl, String name, org.h2.index.IndexType type, org.h2.table.IndexColumn[] cols)
- Parameters:
ctx- Context.tbl- Table.name- Index name.type- Type.cols- Columns.
-
-
Method Detail
-
getRowCount
public long getRowCount(org.h2.engine.Session ses)
-
getRowCountApproximation
public long getRowCountApproximation()
-
find
public final org.h2.index.Cursor find(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)
-
checkRename
public void checkRename()
- Specified by:
checkRenamein interfaceorg.h2.engine.DbObject- Specified by:
checkRenamein classorg.h2.engine.DbObjectBase
-
close
public void close(org.h2.engine.Session ses)
-
add
public void add(org.h2.engine.Session ses, org.h2.result.Row row)
-
remove
public void remove(org.h2.engine.Session ses, org.h2.result.Row row)
-
remove
public void remove(org.h2.engine.Session ses)
-
truncate
public void truncate(org.h2.engine.Session ses)
-
canGetFirstOrLast
public boolean canGetFirstOrLast()
-
findFirstOrLast
public org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session ses, boolean first)
-
needRebuild
public boolean needRebuild()
-
getDiskSpaceUsed
public long getDiskSpaceUsed()
-
-