Class AbstractStatementParser.ParsedStatement
Stay organized with collections
Save and categorize content based on your preferences.
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
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
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-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-10 UTC."}