@InternalApi public static class AbstractStatementParser.ParsedStatement extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
StatementResult.ClientSideStatementType |
getClientSideStatementType()
Returns the
StatementResult.ClientSideStatementType of this statement. |
String |
getSqlWithoutComments()
Returns the SQL statement with all comments removed from the SQL string.
|
AbstractStatementParser.StatementType |
getType()
Returns the type of statement that was recognized by the parser.
|
int |
hashCode() |
boolean |
isDdl()
Returns true if the statement is a DDL statement.
|
boolean |
isQuery()
Returns true if the statement is a query that will return a
ResultSet . |
boolean |
isUpdate()
Returns true if the statement is a DML statement or a client side statement that will return
an update count.
|
@InternalApi public AbstractStatementParser.StatementType getType()
@InternalApi public boolean isQuery()
ResultSet
.@InternalApi public boolean isUpdate()
@InternalApi public boolean isDdl()
@InternalApi public StatementResult.ClientSideStatementType getClientSideStatementType()
StatementResult.ClientSideStatementType
of this statement. This method may only be called
on statements of type AbstractStatementParser.StatementType.CLIENT_SIDE
.@InternalApi public String getSqlWithoutComments()
Copyright © 2022 Google LLC. All rights reserved.