Interface Function
-
- All Known Implementing Classes:
BaseComparison
,BaseFunction
,Child
,Descendant
,Equals
,Exists
,FTSFuzzyTerm
,FTSPhrase
,FTSPrefixTerm
,FTSProximity
,FTSRange
,FTSTerm
,FTSWildTerm
,GreaterThan
,GreaterThanOrEquals
,In
,LessThan
,LessThanOrEquals
,Like
,Lower
,LuceneChild
,LuceneDescendant
,LuceneEquals
,LuceneExists
,LuceneFTSFuzzyTerm
,LuceneFTSPhrase
,LuceneFTSPrefixTerm
,LuceneFTSProximity
,LuceneFTSRange
,LuceneFTSTerm
,LuceneFTSWildTerm
,LuceneGreaterThan
,LuceneGreaterThanOrEquals
,LuceneIn
,LuceneLessThan
,LuceneLessThanOrEquals
,LuceneLike
,LuceneLower
,LuceneNotEquals
,LucenePropertyAccessor
,LuceneScore
,LuceneUpper
,NotEquals
,PropertyAccessor
,Score
,Upper
public interface Function
- Author:
- andyh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArgumentDefinition
getArgumentDefinition(java.lang.String name)
Get the argument Definitionjava.util.LinkedHashMap<java.lang.String,ArgumentDefinition>
getArgumentDefinitions()
Get the argument Definitionsjava.lang.String
getName()
Get the function nameQName
getReturnType()
Get the return type for the functionjava.io.Serializable
getValue(java.util.Map<java.lang.String,Argument> args, FunctionEvaluationContext context)
Evaluation a function
-
-
-
Method Detail
-
getValue
java.io.Serializable getValue(java.util.Map<java.lang.String,Argument> args, FunctionEvaluationContext context)
Evaluation a function- Parameters:
context
- FunctionEvaluationContext- Returns:
- Serializable
-
getReturnType
QName getReturnType()
Get the return type for the function- Returns:
- QName
-
getName
java.lang.String getName()
Get the function name- Returns:
- String
-
getArgumentDefinitions
java.util.LinkedHashMap<java.lang.String,ArgumentDefinition> getArgumentDefinitions()
Get the argument Definitions- Returns:
- LinkedHashMap
-
getArgumentDefinition
ArgumentDefinition getArgumentDefinition(java.lang.String name)
Get the argument Definition- Returns:
- ArgumentDefinition
-
-