public final class Parsers extends Object
Parsers.| Modifier and Type | Field and Description |
|---|---|
static Function<String,Operator> |
PARSER_TRANSFORM_OPERATOR_FUNCTION
The canonical function to transform strings to operators in a
Parser. |
static Function<String,Object> |
PARSER_TRANSFORM_VALUE_FUNCTION
The canonical function to transform strings to java values in a
Parser. |
| Modifier and Type | Method and Description |
|---|---|
static Parser |
create(String ccl)
Return a
Parser for the ccl statement. |
static Parser |
create(String ccl,
Multimap<String,Object> data)
Return a
Parser for the ccl statement that uses the
provided data for local resolution. |
static Parser |
create(TCriteria criteria)
Return a
Parser for the ccl statement. |
static Parser |
create(TCriteria criteria,
Multimap<String,Object> data)
Return a
Parser for the ccl statement that uses the
provided data for local resolution. |
public static final Function<String,Object> PARSER_TRANSFORM_VALUE_FUNCTION
Parser.public static Parser create(String ccl)
Parser for the ccl statement.ccl - a CCL statementParserpublic static Parser create(String ccl, Multimap<String,Object> data)
Parser for the ccl statement that uses the
provided data for local resolution.ccl - a CCL statementdata - a datasetParserpublic static Parser create(TCriteria criteria)
Parser for the ccl statement.criteria - Parser