Class FindPlan


  • public class FindPlan
    extends Object
    A plan for finding documents in a collection.
    Since:
    4.0
    Author:
    Anindya Chatterjee
    • Constructor Detail

      • FindPlan

        public FindPlan()
        Instantiates a new FindPlan.
    • Method Detail

      • getCollectionScanFilter

        public Filter getCollectionScanFilter()
        Gets the Filter for collection scan if any.
      • getIndexScanOrder

        public Map<String,​Boolean> getIndexScanOrder()
        Gets the index scan order.
      • getBlockingSortOrder

        public List<Pair<String,​SortOrder>> getBlockingSortOrder()
        Gets the blocking sort order.
      • getSkip

        public Long getSkip()
        Gets the skip count.
      • getLimit

        public Long getLimit()
        Gets the limit count.
      • isDistinct

        public boolean isDistinct()
        Gets the distinct flag.
      • getSubPlans

        public List<FindPlan> getSubPlans()
        Gets the sub plans.
      • setCollectionScanFilter

        public void setCollectionScanFilter​(Filter collectionScanFilter)
        Gets the Filter for collection scan if any.
      • setIndexScanOrder

        public void setIndexScanOrder​(Map<String,​Boolean> indexScanOrder)
        Gets the index scan order.
      • setBlockingSortOrder

        public void setBlockingSortOrder​(List<Pair<String,​SortOrder>> blockingSortOrder)
        Gets the blocking sort order.
      • setSkip

        public void setSkip​(Long skip)
        Gets the skip count.
      • setLimit

        public void setLimit​(Long limit)
        Gets the limit count.
      • setDistinct

        public void setDistinct​(boolean distinct)
        Gets the distinct flag.
      • setCollator

        public void setCollator​(Collator collator)
        Gets the Collator.
      • setSubPlans

        public void setSubPlans​(List<FindPlan> subPlans)
        Gets the sub plans.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object