public class H2TreeClientIndex extends H2TreeIndexBase
tbl| Constructor and Description |
|---|
H2TreeClientIndex(InlineIndex idx,
GridH2Table tbl,
String name,
org.h2.table.IndexColumn[] cols,
org.h2.index.IndexType idxType) |
| Modifier and Type | Method and Description |
|---|---|
org.h2.index.Cursor |
find(org.h2.engine.Session ses,
org.h2.result.SearchRow lower,
org.h2.result.SearchRow upper) |
org.h2.index.Cursor |
findFirstOrLast(org.h2.engine.Session session,
boolean first) |
long |
getRowCount(org.h2.engine.Session ses) |
int |
inlineSize() |
H2CacheRow |
put(H2CacheRow row)
Puts row.
|
boolean |
putx(H2CacheRow row)
Puts row.
|
void |
refreshColumnIds()
Re-assign column ids after removal of column(s).
|
boolean |
removex(org.h2.result.SearchRow row)
Removes row from index.
|
int |
segmentsCount() |
long |
totalRowCount(IndexingQueryCacheFilter partsFilter) |
<T extends Index> |
unwrap(Class<T> clazz)
Finds an instance of an interface implemented by this object,
or returns null if this object does not support that interface.
|
canGetFirstOrLast, getCostadd, checkRename, close, columnsArray, destroy, getDiskSpaceUsed, getDistributedMultiplier, getRowCountApproximation, getTable, needRebuild, queryContextRegistry, remove, remove, rowDescriptor, segment, segmentForPartition, segmentForRow, truncategetCostRangeIndexcanFindNext, canScan, checkIndexColumnTypes, commit, compareRows, createLookupBatch, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getType, initBaseIndex, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, removeChildrenAndResources, setSortedInsertModegetChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringpublic H2TreeClientIndex(InlineIndex idx, GridH2Table tbl, String name, org.h2.table.IndexColumn[] cols, org.h2.index.IndexType idxType)
tbl - Table.name - Index name.cols - Index columns.idxType - Index type.public int inlineSize()
inlineSize in class H2TreeIndexBasepublic void refreshColumnIds()
refreshColumnIds in class GridH2IndexBasepublic long totalRowCount(IndexingQueryCacheFilter partsFilter)
totalRowCount in class GridH2IndexBasepartsFilter - Partitions filter.public int segmentsCount()
segmentsCount in class GridH2IndexBasepublic org.h2.index.Cursor find(org.h2.engine.Session ses,
org.h2.result.SearchRow lower,
org.h2.result.SearchRow upper)
public H2CacheRow put(H2CacheRow row)
put in class GridH2IndexBaserow - Row.null.public boolean putx(H2CacheRow row)
putx in class GridH2IndexBaserow - Row.True if existing row row has been replaced.public boolean removex(org.h2.result.SearchRow row)
removex in class GridH2IndexBaserow - Row.True if row has been removed.public long getRowCount(org.h2.engine.Session ses)
public org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session session,
boolean first)
public <T extends Index> T unwrap(Class<T> clazz)
unwrap in class GridH2IndexBase
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023