接口 RestrictableStatement

    • 方法详细资料

      • getFromClause

        FromClause getFromClause()
        Retrieve the from-clause in effect for this statement.
        返回:
        The from-clause for this statement; could be null if the from-clause has not yet been parsed/generated.
      • hasWhereClause

        boolean hasWhereClause()
        Does this statement tree currently contain a where clause?
        返回:
        True if a where-clause is found in the statement tree and that where clause actually defines restrictions; false otherwise.
      • getWhereClause

        antlr.collections.AST getWhereClause()
        Retrieve the where-clause defining the restriction(s) in effect for this statement.

        Note that this will generate a where-clause if one was not found, so caution needs to taken prior to calling this that restrictions will actually exist in the resulting statement tree (otherwise "unexpected end of subtree" errors might occur during rendering).

        返回:
        The where clause.