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
Modifier and TypeMethodDescriptiongetArgumentDefinition
(String name) Get the argument DefinitionGet the argument DefinitionsgetName()
Get the function nameGet the return type for the functiongetValue
(Map<String, Argument> args, FunctionEvaluationContext context) Evaluation a function
-
Method Details
-
getValue
Evaluation a function- Parameters:
context
- FunctionEvaluationContext- Returns:
- Serializable
-
getReturnType
QName getReturnType()Get the return type for the function- Returns:
- QName
-
getName
String getName()Get the function name- Returns:
- String
-
getArgumentDefinitions
LinkedHashMap<String,ArgumentDefinition> getArgumentDefinitions()Get the argument Definitions- Returns:
- LinkedHashMap
-
getArgumentDefinition
Get the argument Definition- Returns:
- ArgumentDefinition
-