Class Score
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
-
- org.alfresco.repo.search.impl.querymodel.impl.functions.Score
-
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
LuceneScore
public class Score extends BaseFunction
- Author:
- andyh
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARG_QUALIFIER
static java.util.LinkedHashMap<java.lang.String,ArgumentDefinition>
args
static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description Score()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializable
getValue(java.util.Map<java.lang.String,Argument> args, FunctionEvaluationContext context)
Evaluation a function-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
ARG_QUALIFIER
public static final java.lang.String ARG_QUALIFIER
- See Also:
- Constant Field Values
-
args
public static java.util.LinkedHashMap<java.lang.String,ArgumentDefinition> args
-
-
Method Detail
-
getValue
public java.io.Serializable getValue(java.util.Map<java.lang.String,Argument> args, FunctionEvaluationContext context)
Description copied from interface:Function
Evaluation a functioncontext
- FunctionEvaluationContext- Returns:
- Serializable
-
-