Class UnsortedBooleanRestriction

java.lang.Object
com.atlassian.crowd.search.query.entity.restriction.BooleanRestrictionImpl
com.atlassian.jira.crowd.embedded.ofbiz.UnsortedBooleanRestriction
All Implemented Interfaces:
com.atlassian.crowd.embedded.api.SearchRestriction, com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction, UnsortedRestriction

public class UnsortedBooleanRestriction extends com.atlassian.crowd.search.query.entity.restriction.BooleanRestrictionImpl implements UnsortedRestriction
Internal flagging restriction type that behaves like a normal BooleanRestriction but also indicates results may be unsorted. Can be used for increased performance for queries with large numbers of results.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction

    com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnsortedBooleanRestriction(com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic booleanLogic, Collection<com.atlassian.crowd.embedded.api.SearchRestriction> restrictions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    from(com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction br)
     

    Methods inherited from class com.atlassian.crowd.search.query.entity.restriction.BooleanRestrictionImpl

    equals, getBooleanLogic, getRestrictions, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UnsortedBooleanRestriction

      public UnsortedBooleanRestriction(com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic booleanLogic, Collection<com.atlassian.crowd.embedded.api.SearchRestriction> restrictions)
  • Method Details

    • from

      public static UnsortedBooleanRestriction from(com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction br)