Class QueryParser
java.lang.Object
org.fiware.mintaka.domain.query.ngsi.QueryParser
Parser for queries(according to the NGSI-LD api) into the internal QueryTerm representation.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
static final char
static final char
static final char
static final char
-
Constructor Summary
-
Method Summary
-
Field Details
-
QUOTE
public static final char QUOTE- See Also:
-
OPEN_BRACE
public static final char OPEN_BRACE- See Also:
-
CLOSE_BRACE
public static final char CLOSE_BRACE- See Also:
-
OPEN_SQUARE_BRACE
public static final char OPEN_SQUARE_BRACE- See Also:
-
CLOSE_SQUARE_BRACE
public static final char CLOSE_SQUARE_BRACE- See Also:
-
-
Constructor Details
-
QueryParser
public QueryParser()
-
-
Method Details
-
toTerm
Translate a query into the QueryTerm representation, using the given context for expanding the attribute paths.- Parameters:
query
- - string representation of the querycontextURLs
- - url of the context's to use- Returns:
- the query term
-