@API(value=STABLE) public interface RecordQueryPlan extends QueryPlan<FDBQueriedRecord<Message>>
Modifier and Type | Method and Description |
---|---|
default <M extends Message> |
execute(FDBRecordStoreBase<M> store)
Execute this query plan.
|
default <M extends Message> |
execute(FDBRecordStoreBase<M> store,
EvaluationContext context)
Execute this query plan.
|
<M extends Message> |
execute(FDBRecordStoreBase<M> store,
EvaluationContext context,
byte[] continuation,
ExecuteProperties executeProperties)
Execute this query plan.
|
default RecordCursor<FDBQueriedRecord<Message>> |
execute(FDBRecordStore store,
EvaluationContext context,
byte[] continuation,
ExecuteProperties executeProperties)
Execute this query plan.
|
List<RecordQueryPlan> |
getChildren()
Returns the (zero or more)
RecordQueryPlan children of this plan. |
default List<? extends QueryPlan<?>> |
getQueryPlanChildren()
Returns the (zero or more) child
QueryPlan s of this plan. |
execute, execute, getComplexity, getUsedIndexes, hasFullRecordScan, hasIndexScan, hasRecordScan, isReverse, logPlanStructure
iterablePlanHash, objectPlanHash, objectsPlanHash, planHash, planHash, planHash
fromRecordQuery
acceptPropertyVisitor, bindTo, getPlannerExpressionChildren
@Nonnull <M extends Message> RecordCursor<FDBQueriedRecord<M>> execute(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context, @Nullable byte[] continuation, @Nonnull ExecuteProperties executeProperties)
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@Nonnull default RecordCursor<FDBQueriedRecord<Message>> execute(@Nonnull FDBRecordStore store, @Nonnull EvaluationContext context, @Nullable byte[] continuation, @Nonnull ExecuteProperties executeProperties)
QueryPlan
execute
in interface QueryPlan<FDBQueriedRecord<Message>>
store
- record store from which to fetch itemscontext
- evaluation context containing parameter bindingscontinuation
- continuation from a previous execution of this same planexecuteProperties
- limits on execution@Nonnull default <M extends Message> RecordCursor<FDBQueriedRecord<M>> execute(@Nonnull FDBRecordStoreBase<M> store)
M
- type used to represent stored recordsstore
- record store from which to fetch records@Nonnull default <M extends Message> RecordCursor<FDBQueriedRecord<M>> execute(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context)
M
- type used to represent stored recordsstore
- record store to accesscontext
- evaluation context containing parameter bindings@API(value=UNSTABLE) @Nonnull List<RecordQueryPlan> getChildren()
RecordQueryPlan
children of this plan.
Warning: This part of the API is undergoing active development. At some point in the future,
the return type of this method will change to allow it to return a list of generic QueryPlan
s.
At current, every RecordQueryPlan
can only have other RecordQueryPlan
s as children.
However, this is not guaranteed to be the case in the future. This method has been marked as
API.Status#UNSTABLE
as of version 2.5.
@Nonnull default List<? extends QueryPlan<?>> getQueryPlanChildren()
QueryPlan
QueryPlan
s of this plan. These children may or may not
return elements of the same type as their parent plan.
Warning: This part of the API is currently undergoing active development. At some point in
the future, this will be renamed getChildren()
. This cannot be done at current, however,
as it would require an incompatible change to getChildren()
. That method
has been marked API.Status#UNSTABLE
as of version 2.5.
getQueryPlanChildren
in interface QueryPlan<FDBQueriedRecord<Message>>