Class GeophileSpatialIndexJoinPlan
java.lang.Object
com.apple.foundationdb.record.spatial.geophile.GeophileSpatialIndexJoinPlan
Something like a query plan for joining spatial indexes.
This is not a real
RecordQueryPlan because the signature of the cursor can't match
until queries support actual joins.-
Constructor Summary
ConstructorsConstructorDescriptionGeophileSpatialIndexJoinPlan(String leftIndexName, ScanComparisons leftPrefixComparisons, String rightIndexName, ScanComparisons rightPrefixComparisons) -
Method Summary
Modifier and TypeMethodDescription<M extends Message>
RecordCursor<com.apple.foundationdb.record.util.pair.Pair<FDBIndexedRecord<M>,FDBIndexedRecord<M>>> execute(FDBRecordStoreBase<M> store, EvaluationContext context) <M extends Message>
RecordCursor<com.apple.foundationdb.record.util.pair.Pair<FDBIndexedRecord<M>,FDBIndexedRecord<M>>> fetchIndexRecords(FDBRecordStoreBase<M> store, RecordCursor<com.apple.foundationdb.record.util.pair.Pair<IndexEntry, IndexEntry>> indexCursor)
-
Constructor Details
-
GeophileSpatialIndexJoinPlan
public GeophileSpatialIndexJoinPlan(@Nonnull String leftIndexName, @Nonnull ScanComparisons leftPrefixComparisons, @Nonnull String rightIndexName, @Nonnull ScanComparisons rightPrefixComparisons)
-
-
Method Details
-
execute
@Nonnull public <M extends Message> RecordCursor<com.apple.foundationdb.record.util.pair.Pair<FDBIndexedRecord<M>,FDBIndexedRecord<M>>> execute(@Nonnull FDBRecordStoreBase<M> store, @Nonnull EvaluationContext context) -
fetchIndexRecords
@Nonnull public <M extends Message> RecordCursor<com.apple.foundationdb.record.util.pair.Pair<FDBIndexedRecord<M>,FDBIndexedRecord<M>>> fetchIndexRecords(@Nonnull FDBRecordStoreBase<M> store, @Nonnull RecordCursor<com.apple.foundationdb.record.util.pair.Pair<IndexEntry, IndexEntry>> indexCursor)
-