Class QueryParser

java.lang.Object
org.fiware.mintaka.domain.query.ngsi.QueryParser

@Singleton public class QueryParser extends Object
Parser for queries(according to the NGSI-LD api) into the internal QueryTerm representation.
  • Field Details

  • Constructor Details

    • QueryParser

      public QueryParser()
  • Method Details

    • toTerm

      public QueryTerm toTerm(String query, List<URL> contextURLs)
      Translate a query into the QueryTerm representation, using the given context for expanding the attribute paths.
      Parameters:
      query - - string representation of the query
      contextURLs - - url of the context's to use
      Returns:
      the query term