@API(value=INTERNAL) public interface SyntheticRecordFromStoredRecordPlan extends PlanHashable
SyntheticRecordPlan
, but with the additional execute
-time parameter of a seed record.
While the former is used to generate all records to rebuild an index, this plan is used to generate affected
records for a changed record to update just for those changes.Modifier and Type | Method and Description |
---|---|
default <M extends Message> |
execute(FDBRecordStore store,
FDBStoredRecord<M> record)
Execute this plan.
|
<M extends Message> |
execute(FDBRecordStore store,
FDBStoredRecord<M> record,
byte[] continuation,
ExecuteProperties executeProperties)
Execute this plan.
|
Set<String> |
getStoredRecordTypes()
Get the possible record types for the stored record to which this plan can be applied.
|
Set<String> |
getSyntheticRecordTypes()
Get the possible record types for the synthetic record generated by this plan.
|
combineHashes, iterablePlanHash, objectPlanHash, objectsPlanHash, planHash, planHash, planHash, planHashUnordered, stringHashUnordered
@Nonnull Set<String> getStoredRecordTypes()
@Nonnull Set<String> getSyntheticRecordTypes()
@Nonnull <M extends Message> RecordCursor<FDBSyntheticRecord> execute(@Nonnull FDBRecordStore store, @Nonnull FDBStoredRecord<M> record, @Nullable byte[] continuation, @Nonnull ExecuteProperties executeProperties)
M
- type of raw recordstore
- record store against which to executerecord
- the stored record from which to derive synthetic records, such as by join queriescontinuation
- continuation from a previous execution of this same planexecuteProperties
- limits on execution@Nonnull default <M extends Message> RecordCursor<FDBSyntheticRecord> execute(@Nonnull FDBRecordStore store, @Nonnull FDBStoredRecord<M> record)
M
- type of raw recordstore
- record store against which to executerecord
- the stored record from which to derive synthetic records, such as by join queries