Class WikibaseIssuesFunction
- java.lang.Object
-
- org.openrefine.wikibase.functions.WikibaseIssuesFunction
-
- All Implemented Interfaces:
Serializable,Function
public class WikibaseIssuesFunction extends Object implements Function
GREL function which computes the "aggregation identifiers" of the issues found on the edits generated by a given row. Those "aggregation identifiers" are used to group issues together (increasing their number of occurrences and reporting them only once to the user). This GREL function is primarily meant to be used in facets, to select rows which generate a particular issue, with expressions of the form: grel:wikibaseIssues().inArray('duplicate-whitespace')- Author:
- Antonin Delpeuch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikibaseIssuesFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcall(Properties bindings, Object[] args)Computes the value of the function on the given argumentsStringgetDescription()protected ManifestgetManifest(String mediaWikiApiEndpoint)StringgetReturns()
-
-
-
Method Detail
-
call
public Object call(Properties bindings, Object[] args)
Description copied from interface:FunctionComputes the value of the function on the given arguments
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceFunction
-
getReturns
public String getReturns()
- Specified by:
getReturnsin interfaceFunction
-
-