public interface SortedSegmentedIndex extends Index
| Modifier and Type | Method and Description |
|---|---|
long |
count(int segment)
Counts index rows in specified tree segment.
|
long |
count(int segment,
IndexQueryContext qryCtx)
Counts index rows in specified tree segment with cache filter.
|
GridCursor<IndexRow> |
find(@Nullable IndexRow lower,
@Nullable IndexRow upper,
int segment)
Finds index rows by specified range in specified tree segment.
|
GridCursor<IndexRow> |
find(IndexRow lower,
IndexRow upper,
int segment,
IndexQueryContext qryCtx)
Finds index rows by specified range in specifed tree segment with cache filtering.
|
GridCursor<IndexRow> |
findFirst(int segment,
IndexQueryContext qryCtx)
Finds first index row for specified tree segment and cache filter.
|
GridCursor<IndexRow> |
findLast(int segment,
IndexQueryContext qryCtx)
Finds last index row for specified tree segment and cache filter.
|
int |
segmentsCount()
Returns amount of index tree segments.
|
long |
totalCount()
Counts index rows for all segments.
|
GridCursor<IndexRow> find(@Nullable @Nullable IndexRow lower, @Nullable @Nullable IndexRow upper, int segment) throws IgniteCheckedException
lower - Nullable lower bound.upper - Nullable upper bound.segment - Number of tree segment to find.IgniteCheckedExceptionGridCursor<IndexRow> find(IndexRow lower, IndexRow upper, int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
lower - Nullable lower bound.upper - Nullable upper bound.segment - Number of tree segment to find.qryCtx - External index qyery context.IgniteCheckedExceptionGridCursor<IndexRow> findFirst(int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
segment - Number of tree segment to find.qryCtx - External index qyery context.IgniteCheckedExceptionGridCursor<IndexRow> findLast(int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
segment - Number of tree segment to find.qryCtx - External index qyery context.IgniteCheckedExceptionlong count(int segment)
throws IgniteCheckedException
segment - Number of tree segment to find.IgniteCheckedExceptionlong count(int segment,
IndexQueryContext qryCtx)
throws IgniteCheckedException
segment - Number of tree segment to find.qryCtx - Index query context.IgniteCheckedExceptionlong totalCount()
throws IgniteCheckedException
IgniteCheckedExceptionint segmentsCount()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021