Send feedback
  
   
 
  
    
      Class AbstractStatementParser.ParsedStatement (6.99.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 6.99.0keyboard_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  
       
      
        Name  
        Description  
       
      
        other 
        Object  
       
     
  
  
  Overrides 
  
   
  getClientSideStatementType() 
  
    
public   StatementResult . ClientSideStatementType   getClientSideStatementType ()  
   
  
  
   
  getOptionsFromHints() 
  
    
public   Options . ReadQueryUpdateTransactionOption []   getOptionsFromHints ()  
   
  
  
   
  getSql() 
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        the original SQL statement
 
       
     
  
  
  
  
    
public   String   getSqlWithoutComments ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        the SQL statement with all comments removed from the SQL string.
 
       
     
  
   
  getType() 
  
    
public   AbstractStatementParser . StatementType   getType ()  
   
  
  
   
  hasReturningClause() 
  
    
public   boolean   hasReturningClause ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        whether the statement has a returning clause or not.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  isDdl() 
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        true if the statement is a DDL statement.
 
       
     
  
   
  isQuery() 
  
  
  
   
  isUpdate() 
  
    
public   boolean   isUpdate ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        true if the statement is a DML statement or a client side statement that will return
     an update count.
 
       
     
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    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 2025-10-30 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 2025-10-30 UTC."],[],[]]