public class GridH2SpatialIndex extends GridH2IndexBase implements org.h2.index.SpatialIndex
GridH2IndexBase.SegmentKeyctx, EMPTY_CURSOR| Constructor and Description |
|---|
GridH2SpatialIndex(GridH2Table tbl,
String idxName,
org.h2.table.IndexColumn... cols) |
GridH2SpatialIndex(GridH2Table tbl,
String idxName,
int segmentsCnt,
org.h2.table.IndexColumn... cols) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetFirstOrLast() |
org.h2.index.IndexLookupBatch |
createLookupBatch(org.h2.table.TableFilter[] filters,
int filter) |
void |
destroy(boolean rmIndex) |
org.h2.index.Cursor |
find(org.h2.engine.Session ses,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last) |
org.h2.index.Cursor |
find(org.h2.table.TableFilter filter,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last) |
org.h2.index.Cursor |
findByGeometry(org.h2.table.TableFilter filter,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last,
org.h2.result.SearchRow intersection) |
org.h2.index.Cursor |
findFirstOrLast(org.h2.engine.Session ses,
boolean first) |
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> cols) |
long |
getRowCount(org.h2.engine.Session ses) |
long |
getRowCountApproximation() |
GridH2Row |
put(GridH2Row row) |
boolean |
putx(GridH2Row row) |
GridH2Row |
remove(org.h2.result.SearchRow row) |
boolean |
removex(org.h2.result.SearchRow row) |
protected int |
segmentsCount() |
add, bubbleUp, checkRename, close, doFind0, getDiskSpaceUsed, getDistributedMultiplier, getTable, initDistributedJoinMessaging, needRebuild, refreshColumnIds, remove, remove, removeChildrenAndResources, segmentForPartition, segmentForRow, threadLocalFilter, threadLocalSegment, treeForRead, truncatecanFindNext, canScan, checkIndexColumnTypes, commit, compareRows, containsNullAndAllowMultipleNull, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getType, initBaseIndex, isFirstColumn, isHidden, isRowIdIndex, setSortedInsertModegetChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, canFindNext, canScan, close, commit, compareRows, findNext, getColumnIndex, getColumns, getDiskSpaceUsed, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, isFirstColumn, isRowIdIndex, needRebuild, remove, remove, setSortedInsertMode, truncatepublic GridH2SpatialIndex(GridH2Table tbl, String idxName, org.h2.table.IndexColumn... cols)
tbl - Table.idxName - Index name.cols - Columns.public GridH2SpatialIndex(GridH2Table tbl, String idxName, int segmentsCnt, org.h2.table.IndexColumn... cols)
tbl - Table.idxName - Index name.segmentsCnt - Index segments count.cols - Columns.public org.h2.index.IndexLookupBatch createLookupBatch(org.h2.table.TableFilter[] filters,
int filter)
createLookupBatch in interface org.h2.index.IndexcreateLookupBatch in class GridH2IndexBaseprotected int segmentsCount()
segmentsCount in class GridH2IndexBasepublic GridH2Row put(GridH2Row row)
put in class GridH2IndexBasepublic boolean putx(GridH2Row row)
putx in class GridH2IndexBasepublic GridH2Row remove(org.h2.result.SearchRow row)
remove in class GridH2IndexBasepublic boolean removex(org.h2.result.SearchRow row)
removex in class GridH2IndexBasepublic void destroy(boolean rmIndex)
destroy in class GridH2IndexBasepublic 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> cols)
getCost in interface org.h2.index.Indexpublic org.h2.index.Cursor find(org.h2.table.TableFilter filter,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
find in interface org.h2.index.Indexfind in class org.h2.index.BaseIndexpublic org.h2.index.Cursor find(org.h2.engine.Session ses,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
find in interface org.h2.index.Indexpublic boolean canGetFirstOrLast()
canGetFirstOrLast in interface org.h2.index.Indexpublic org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session ses,
boolean first)
findFirstOrLast in interface org.h2.index.Indexpublic long getRowCount(org.h2.engine.Session ses)
getRowCount in interface org.h2.index.Indexpublic long getRowCountApproximation()
getRowCountApproximation in interface org.h2.index.Indexpublic org.h2.index.Cursor findByGeometry(org.h2.table.TableFilter filter,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last,
org.h2.result.SearchRow intersection)
findByGeometry in interface org.h2.index.SpatialIndex
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019