@API(value=EXPERIMENTAL) public interface RecordQueryPlanWithIndex extends RecordQueryPlan
RecordQueryIndexPlan
. Plans that use an index but only
through one of their child plans will not implement this interface.Modifier and Type | Method and Description |
---|---|
default <M extends Message> |
execute(FDBRecordStoreBase<M> store,
EvaluationContext context,
byte[] continuation,
ExecuteProperties executeProperties)
Execute this query plan.
|
<M extends Message> |
executeEntries(FDBRecordStoreBase<M> store,
EvaluationContext context,
byte[] continuation,
ExecuteProperties executeProperties) |
String |
getIndexName()
Gets the name of the index used by this plan.
|
IndexScanType |
getScanType() |
asNestedWith, asUnnestedWith, execute, execute, execute, getChildren, getQueryPlanChildren
execute, execute, getComplexity, getUsedIndexes, hasFullRecordScan, hasIndexScan, hasRecordScan, isReverse, logPlanStructure
combineHashes, iterablePlanHash, objectPlanHash, objectsPlanHash, planHash, planHash, planHash, planHashUnordered, stringHashUnordered
fromRecordQuery
acceptPropertyVisitor, bindTo, equalsWithoutChildren, getPlannerExpressionChildren
@Nonnull String getIndexName()
@Nonnull IndexScanType getScanType()
@Nonnull <M extends Message> RecordCursor<IndexEntry> executeEntries(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context, @Nullable byte[] continuation, @Nonnull ExecuteProperties executeProperties)
@Nonnull default <M extends Message> RecordCursor<FDBQueriedRecord<M>> execute(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context, @Nullable byte[] continuation, @Nonnull ExecuteProperties executeProperties)
RecordQueryPlan
execute
in interface RecordQueryPlan
M
- type used to represent stored recordsstore
- record store from which to fetch recordscontext
- evaluation context containing parameter bindingscontinuation
- continuation from a previous execution of this same planexecuteProperties
- limits on execution