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
ConstructorsConstructorDescriptionUnsortedBooleanRestriction(com.atlassian.crowd.search.query.entity.restriction.BooleanRestriction.BooleanLogic booleanLogic, Collection<com.atlassian.crowd.embedded.api.SearchRestriction> restrictions) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnsortedBooleanRestrictionfrom(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
-
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)
-