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,
boolean lowerIncl,
boolean upperIncl,
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, boolean lowerIncl, boolean upperIncl, int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
lower
- Nullable lower bound.upper
- Nullable upper bound.lowerIncl
- true
for inclusive lower bound, otherwise false
.upperIncl
- true
for inclusive upper bound, otherwise false
.segment
- Number of tree segment to find.qryCtx
- External index query context.IgniteCheckedException
GridCursor<IndexRow> findFirst(int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
segment
- Number of tree segment to find.qryCtx
- External index qyery context.IgniteCheckedException
GridCursor<IndexRow> findLast(int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
segment
- Number of tree segment to find.qryCtx
- External index qyery context.IgniteCheckedException
long count(int segment) throws IgniteCheckedException
segment
- Number of tree segment to find.IgniteCheckedException
long count(int segment, IndexQueryContext qryCtx) throws IgniteCheckedException
segment
- Number of tree segment to find.qryCtx
- Index query context.IgniteCheckedException
long totalCount() throws IgniteCheckedException
IgniteCheckedException
int segmentsCount()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022