Send feedback
Class AbstractStatementParser.ParsedStatement
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.24.0 keyboard_arrow_down
public static class AbstractStatementParser . ParsedStatement
A statement that has been parsed
Inheritance
Object >
AbstractStatementParser.ParsedStatement
Methods
equals(Object other)
public boolean equals ( Object other )
Parameter
Returns
Overrides
getClientSideStatementType()
public StatementResult . ClientSideStatementType getClientSideStatementType ()
Returns the ClientSideStatementType of this statement. This method may only be called
on statements of type StatementType#CLIENT_SIDE .
Returns
public String getSqlWithoutComments ()
Returns the SQL statement with all comments removed from the SQL string.
Returns
getType()
public AbstractStatementParser . StatementType getType ()
Returns the type of statement that was recognized by the parser.
Returns
hashCode()
Returns
Overrides
isDdl()
Returns true if the statement is a DDL statement.
Returns
isQuery()
Returns
isUpdate()
public boolean isUpdate ()
Returns true if the statement is a DML statement or a client side statement that will return
an update count.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]