Package org.openrefine.wikidata.schema
Interface WbExpression<T>
- All Known Implementing Classes:
WbDateConstant,WbDateVariable,WbEntityIdValueConstant,WbEntityVariable,WbItemConstant,WbItemEditExpr,WbItemVariable,WbLanguageConstant,WbLanguageVariable,WbLocationConstant,WbLocationVariable,WbMediaInfoEditExpr,WbMonolingualExpr,WbPropConstant,WbQuantityExpr,WbReferenceExpr,WbSnakExpr,WbStringConstant,WbStringVariable,WbVariableExpr
public interface WbExpression<T>
The base interface for all expressions, which evaluate to a particular type T
in an ExpressionContext.
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(ExpressionContext ctxt) Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.
-
Method Details
-
evaluate
Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.
-