R
- The generic type of the [R]elation elements of the
IRelation
.public interface IAbstractAccessPath<R>
Modifier and Type | Method and Description |
---|---|
IPredicate<R> |
getPredicate()
The constraints on the
IAccessPath . |
boolean |
isEmpty()
True iff the access path is empty (there are no matches for the
IPredicate ) This is more conclusive than #rangeCount()
since you MAY have a non-zero range count when the key range is in fact
empty (there may be "deleted" index entries within the key range). |
long |
rangeCount(boolean exact)
Return the maximum #of elements spanned by the
IPredicate . |
long |
removeAll()
Remove all elements selected by the
IPredicate (optional
operation). |
IPredicate<R> getPredicate()
IAccessPath
.boolean isEmpty()
IPredicate
) This is more conclusive than #rangeCount()
since you MAY have a non-zero range count when the key range is in fact
empty (there may be "deleted" index entries within the key range).long rangeCount(boolean exact)
IPredicate
.
Note: When there is an IFilter
on the IPredicate
the
exact range count MUST apply that IFilter
, which means that it
will be required to traverse the index counting tuples which pass the
IFilter
. However, IFilter
s are ignored for the fast
range count.
exact
- When true
, the result will be an exact count and
may require a key-range scan. When false
, the
result will be an upper bound IFF delete markers are
provisioned for the backing index (delete markers are required
for transactions and for scale-out indices).IRangeQuery
long removeAll()
IPredicate
(optional
operation).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.