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

    Constructors
    Constructor
    Description
    UnsortedTermRestriction(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 Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

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

    • UnsortedTermRestriction

      public UnsortedTermRestriction(com.atlassian.crowd.search.query.entity.restriction.Property<T> property, com.atlassian.crowd.search.query.entity.restriction.MatchMode matchMode, T value)
  • Method Details

    • from

      public static <T> UnsortedTermRestriction<T> from(com.atlassian.crowd.search.query.entity.restriction.PropertyRestriction<T> pr)