public interface FunctionEvaluationContext
| Modifier and Type | Method and Description |
|---|---|
<Q,S,E extends Throwable> |
buildLuceneEquality(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneExists(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Boolean not)
Note: null and not null are not required to support functions from the spec
|
<Q,S,E extends Throwable> |
buildLuceneGreaterThan(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneGreaterThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneIn(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Collection<Serializable> values,
Boolean not,
PredicateMode mode)
Note: In is not required to support functions from the spec
|
<Q,S,E extends Throwable> |
buildLuceneInequality(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneLessThan(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneLessThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
PredicateMode mode,
LuceneFunction luceneFunction) |
<Q,S,E extends Throwable> |
buildLuceneLike(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName,
Serializable value,
Boolean not)
Note: Like is not required to support functions from the spec
|
void |
checkFieldApplies(Selector selector,
String propertyName) |
String |
getAlfrescoPropertyName(String propertyName) |
String |
getAlfrescoTypeName(String staticValue) |
String |
getLuceneFieldName(String propertyName) |
LuceneFunction |
getLuceneFunction(FunctionArgument functionArgument) |
<Q,S,E extends Throwable> |
getLuceneSortField(LuceneQueryParserAdaptor<Q,S,E> lqpa,
String propertyName) |
Map<String,NodeRef> |
getNodeRefs() |
NodeService |
getNodeService() |
Serializable |
getProperty(NodeRef nodeRef,
String propertyName)
Get a property
|
Float |
getScore() |
Map<String,Float> |
getScores() |
boolean |
isMultiValued(String propertyName)
Is this a multi-valued property?
|
boolean |
isObjectId(String propertyName) |
boolean |
isOrderable(String propertyName) |
boolean |
isQueryable(String propertyName) |
Map<String,NodeRef> getNodeRefs()
Serializable getProperty(NodeRef nodeRef, String propertyName)
nodeRef - propertyName - NodeService getNodeService()
Float getScore()
<Q,S,E extends Throwable> Q buildLuceneEquality(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneExists(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Boolean not) throws E extends Throwable
lqp - propertyName - not - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneGreaterThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneGreaterThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneLessThan(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneLessThanOrEquals(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneLike(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, Boolean not) throws E extends Throwable
lqp - propertyName - value - not - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneInequality(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Serializable value, PredicateMode mode, LuceneFunction luceneFunction) throws E extends Throwable
lqp - propertyName - value - mode - luceneFunction - ParseExceptionE extends Throwable<Q,S,E extends Throwable> Q buildLuceneIn(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName, Collection<Serializable> values, Boolean not, PredicateMode mode) throws E extends Throwable
lqp - propertyName - values - not - mode - ParseExceptionE extends Throwable<Q,S,E extends Throwable> String getLuceneSortField(LuceneQueryParserAdaptor<Q,S,E> lqpa, String propertyName) throws E extends Throwable
propertyName - luceneContext - locales - analysisMode - reader - EE extends Throwableboolean isObjectId(String propertyName)
propertyName - boolean isQueryable(String propertyName)
propertyName - boolean isOrderable(String propertyName)
propertyName - String getLuceneFieldName(String propertyName)
propertyName - LuceneFunction getLuceneFunction(FunctionArgument functionArgument)
functionArgument - void checkFieldApplies(Selector selector, String propertyName)
type - propertyName - boolean isMultiValued(String propertyName)
propertyName - Copyright © 2005–2014 Alfresco Software. All rights reserved.