Interface CMISPropertyLuceneBuilder

All Known Implementing Classes:
AbstractSimpleLuceneBuilder, BaseLuceneBuilder, BaseTypeIdLuceneBuilder, ContentStreamLengthLuceneBuilder, ContentStreamMimetypeLuceneBuilder, DirectLuceneBuilder, FixedValueLuceneBuilder, NotSupportedLuceneBuilder, ObjectIdLuceneBuilder, ObjectTypeIdLuceneBuilder, ParentLuceneBuilder

public interface CMISPropertyLuceneBuilder
Encapsulate the building of lucene queries for property predicates
  • Method Details

    • buildLuceneEquality

      <Q, S, E extends Throwable> Q buildLuceneEquality(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - Serializable
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneExists

      <Q, S, E extends Throwable> Q buildLuceneExists(QueryParserAdaptor<Q,S,E> lqpa, Boolean not) throws E
      Parameters:
      not - Boolean
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneGreaterThan

      <Q, S, E extends Throwable> Q buildLuceneGreaterThan(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - Serializable
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneGreaterThanOrEquals

      <Q, S, E extends Throwable> Q buildLuceneGreaterThanOrEquals(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - Serializable
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneIn

      <Q, S, E extends Throwable> Q buildLuceneIn(QueryParserAdaptor<Q,S,E> lqpa, Collection<Serializable> values, Boolean not, PredicateMode mode) throws E
      Parameters:
      not - Boolean
      mode - PredicateMode
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneInequality

      <Q, S, E extends Throwable> Q buildLuceneInequality(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - PredicateMode
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneLessThan

      <Q, S, E extends Throwable> Q buildLuceneLessThan(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - Serializable
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneLessThanOrEquals

      <Q, S, E extends Throwable> Q buildLuceneLessThanOrEquals(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E
      Parameters:
      value - Serializable
      mode - PredicateMode
      luceneFunction - LuceneFunction
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • buildLuceneLike

      <Q, S, E extends Throwable> Q buildLuceneLike(QueryParserAdaptor<Q,S,E> lqpa, Serializable value, Boolean not) throws E
      Parameters:
      value - Serializable
      not - Boolean
      Returns:
      the query - may be null if no query is required
      Throws:
      E
    • getLuceneSortField

      <Q, S, E extends Throwable> String getLuceneSortField(QueryParserAdaptor<Q,S,E> lqpa) throws E
      Parameters:
      lqpa - TODO
      Returns:
      the sort field
      Throws:
      E
    • getLuceneFieldName

      String getLuceneFieldName()
      Returns:
      the field name