Class UnsortedTermRestriction<T>
java.lang.Object
com.atlassian.crowd.search.query.entity.restriction.TermRestriction<T>
com.atlassian.jira.crowd.embedded.ofbiz.UnsortedTermRestriction<T>
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.SearchRestriction,com.atlassian.crowd.search.query.entity.restriction.PropertyRestriction<T>,UnsortedRestriction
public class UnsortedTermRestriction<T>
extends com.atlassian.crowd.search.query.entity.restriction.TermRestriction<T>
implements UnsortedRestriction
Internal flagging restriction type that behaves like a normal TermRestriction but also indicates results may be
unsorted. Can be used for increased performance for queries with large numbers of results.
-
Constructor Summary
ConstructorsConstructorDescriptionUnsortedTermRestriction(com.atlassian.crowd.search.query.entity.restriction.Property<T> property, com.atlassian.crowd.search.query.entity.restriction.MatchMode matchMode, T value) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> UnsortedTermRestriction<T>from(com.atlassian.crowd.search.query.entity.restriction.PropertyRestriction<T> pr) Methods inherited from class com.atlassian.crowd.search.query.entity.restriction.TermRestriction
equals, getMatchMode, getProperty, getValue, hashCode, toString
-
Constructor Details
-
UnsortedTermRestriction
-
-
Method Details
-
from
public static <T> UnsortedTermRestriction<T> from(com.atlassian.crowd.search.query.entity.restriction.PropertyRestriction<T> pr)
-