Class AbstractStatementParser.ParsedStatement

  • Enclosing class:
    AbstractStatementParser

    @InternalApi
    public static class AbstractStatementParser.ParsedStatement
    extends Object
    A statement that has been parsed
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • hasReturningClause

        @InternalApi
        public boolean hasReturningClause()
        Returns whether the statement has a returning clause or not. *
      • isQuery

        @InternalApi
        public boolean isQuery()
        Returns true if the statement is a query that will return a ResultSet.
      • isUpdate

        @InternalApi
        public boolean isUpdate()
        Returns true if the statement is a DML statement or a client side statement that will return an update count.
      • isDdl

        @InternalApi
        public boolean isDdl()
        Returns true if the statement is a DDL statement.
      • getSqlWithoutComments

        @InternalApi
        public String getSqlWithoutComments()
        Returns the SQL statement with all comments removed from the SQL string.