Interface QueryObjectModelBuilder

  • All Known Implementing Classes:

    public interface QueryObjectModelBuilder
    QueryObjectModelBuilder defines an interface for building a query object model from a string based query statement and vice versa.
    • Method Detail

      • canHandle

        boolean canHandle​(String language)
        Returns true if this QOM builder can handle a statement in language.
        language - the language of a query statement to build a QOM.
        true if this builder can handle language; false otherwise.
      • getSupportedLanguages

        String[] getSupportedLanguages()
        Returns the set of query languages supported by this builder.
        String array containing the names of the supported languages.
      • toString

        String toString​(QueryObjectModel qom)
                 throws InvalidQueryException
        Creates a String representation of the query object model in the syntax this QueryObjectModelBuilder can handle.
        qom - the query object model.
        a String representation of the QOM.
        InvalidQueryException - if the query object model cannot be converted into a String representation due to restrictions in this syntax.