Class ComparisonTerm

java.lang.Object
org.fiware.mintaka.domain.query.ngsi.QueryTerm
org.fiware.mintaka.domain.query.ngsi.ComparisonTerm

public class ComparisonTerm extends QueryTerm
Query term to reflect a comparison, according to the ngsi-ld api. A terms looks like: {attribute}{operator}{value}, f.e. name=='name'
  • Field Details

    • YEAR_MONTH_DAY_FORMAT

      public static final String YEAR_MONTH_DAY_FORMAT
      Date format to be used in mintaka: calendar-year - month - day
      See Also:
    • WELL_KNOWN_QUERY_TEMPLATE

      public static final String WELL_KNOWN_QUERY_TEMPLATE
      See Also:
  • Constructor Details

  • Method Details

    • toSQLQuery

      public String toSQLQuery()
      Description copied from class: QueryTerm
      Return the sql string representation of the query term
      Specified by:
      toSQLQuery in class QueryTerm
      Returns:
      the sql string
    • getAttributePath

      public String getAttributePath()
      Return the expanded version of the attribute from the term.
      Returns:
      the attribute path, expanded according to the current context.