Package org.alfresco.opencmis.dictionary
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 Summary
-
-
-
Method Detail
-
buildLuceneEquality
<Q,S,E extends Throwable> Q buildLuceneEquality(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- Serializablemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneExists
<Q,S,E extends Throwable> Q buildLuceneExists(LuceneQueryParserAdaptor<Q,S,E> lqpa, Boolean not) throws E extends Throwable
- Parameters:
not
- Boolean- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneGreaterThan
<Q,S,E extends Throwable> Q buildLuceneGreaterThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- Serializablemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneGreaterThanOrEquals
<Q,S,E extends Throwable> Q buildLuceneGreaterThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- Serializablemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneIn
<Q,S,E extends Throwable> Q buildLuceneIn(LuceneQueryParserAdaptor<Q,S,E> lqpa, Collection<Serializable> values, Boolean not, PredicateMode mode) throws E extends Throwable
- Parameters:
not
- Booleanmode
- PredicateMode- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneInequality
<Q,S,E extends Throwable> Q buildLuceneInequality(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- PredicateModemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneLessThan
<Q,S,E extends Throwable> Q buildLuceneLessThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- Serializablemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneLessThanOrEquals
<Q,S,E extends Throwable> Q buildLuceneLessThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
- Parameters:
value
- Serializablemode
- PredicateModeluceneFunction
- LuceneFunction- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
buildLuceneLike
<Q,S,E extends Throwable> Q buildLuceneLike(LuceneQueryParserAdaptor<Q,S,E> lqpa, Serializable value, Boolean not) throws E extends Throwable
- Parameters:
value
- Serializablenot
- Boolean- Returns:
- the query - may be null if no query is required
- Throws:
E
E extends Throwable
-
getLuceneSortField
<Q,S,E extends Throwable> String getLuceneSortField(LuceneQueryParserAdaptor<Q,S,E> lqpa) throws E extends Throwable
- Parameters:
lqpa
- TODO- Returns:
- the sort field
- Throws:
E
E extends Throwable
-
getLuceneFieldName
String getLuceneFieldName()
- Returns:
- the field name
-
-