Package org.dizitart.no2.collection
Class FindPlan
java.lang.Object
org.dizitart.no2.collection.FindPlan
A plan for finding documents in a collection.
- Since:
- 4.0
- Author:
- Anindya Chatterjee
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the blocking sort order.Gets theFieldBasedFilterfor byId search if any.Gets theCollator.Gets theFilterfor collection scan if any.Gets theIndexDescriptorfor index scan if any.Gets theIndexScanFilterfor index scan if any.Gets the index scan order.getLimit()Gets the limit count.getSkip()Gets the skip count.Gets the sub plans.inthashCode()booleanGets the distinct flag.voidsetBlockingSortOrder(List<Pair<String, SortOrder>> blockingSortOrder) Gets the blocking sort order.voidsetByIdFilter(FieldBasedFilter byIdFilter) Gets theFieldBasedFilterfor byId search if any.voidsetCollator(Collator collator) Gets theCollator.voidsetCollectionScanFilter(Filter collectionScanFilter) Gets theFilterfor collection scan if any.voidsetDistinct(boolean distinct) Gets the distinct flag.voidsetIndexDescriptor(IndexDescriptor indexDescriptor) Gets theIndexDescriptorfor index scan if any.voidsetIndexScanFilter(IndexScanFilter indexScanFilter) Gets theIndexScanFilterfor index scan if any.voidsetIndexScanOrder(Map<String, Boolean> indexScanOrder) Gets the index scan order.voidGets the limit count.voidGets the skip count.voidsetSubPlans(List<FindPlan> subPlans) Gets the sub plans.toString()
-
Constructor Details
-
FindPlan
public FindPlan()Instantiates a newFindPlan.
-
-
Method Details
-
getByIdFilter
Gets theFieldBasedFilterfor byId search if any. -
getIndexScanFilter
Gets theIndexScanFilterfor index scan if any. -
getCollectionScanFilter
Gets theFilterfor collection scan if any. -
getIndexDescriptor
Gets theIndexDescriptorfor index scan if any. -
getIndexScanOrder
Gets the index scan order. -
getBlockingSortOrder
Gets the blocking sort order. -
getSkip
Gets the skip count. -
getLimit
Gets the limit count. -
isDistinct
public boolean isDistinct()Gets the distinct flag. -
getCollator
Gets theCollator. -
getSubPlans
Gets the sub plans. -
setByIdFilter
Gets theFieldBasedFilterfor byId search if any. -
setIndexScanFilter
Gets theIndexScanFilterfor index scan if any. -
setCollectionScanFilter
Gets theFilterfor collection scan if any. -
setIndexDescriptor
Gets theIndexDescriptorfor index scan if any. -
setIndexScanOrder
Gets the index scan order. -
setBlockingSortOrder
Gets the blocking sort order. -
setSkip
Gets the skip count. -
setLimit
Gets the limit count. -
setDistinct
public void setDistinct(boolean distinct) Gets the distinct flag. -
setCollator
Gets theCollator. -
setSubPlans
Gets the sub plans. -
equals
-
hashCode
public int hashCode() -
toString
-