Class ClickHouseSqlStatement

java.lang.Object
com.clickhouse.jdbc.parser.ClickHouseSqlStatement

public class ClickHouseSqlStatement extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getSQL

      public String getSQL()
    • isRecognized

      public boolean isRecognized()
    • isDDL

      public boolean isDDL()
    • isDML

      public boolean isDML()
    • isQuery

      public boolean isQuery()
    • isMutation

      public boolean isMutation()
    • isTCL

      public boolean isTCL()
    • isIdemponent

      public boolean isIdemponent()
    • getLanguageType

      public LanguageType getLanguageType()
    • getOperationType

      public OperationType getOperationType()
    • getStatementType

      public StatementType getStatementType()
    • getCluster

      public String getCluster()
    • getDatabase

      public String getDatabase()
    • getDatabaseOrDefault

      public String getDatabaseOrDefault(String database)
    • getTable

      public String getTable()
    • getInput

      public String getInput()
    • getCompressAlgorithm

      public String getCompressAlgorithm()
    • getCompressLevel

      public String getCompressLevel()
    • getFormat

      public String getFormat()
    • getFile

      public String getFile()
    • getContentBetweenKeywords

      public String getContentBetweenKeywords(String startKeyword, String endKeyword)
    • getContentBetweenKeywords

      public String getContentBetweenKeywords(String startKeyword, String endKeyword, int startOffset)
    • containsKeyword

      public boolean containsKeyword(String keyword)
    • hasCompressAlgorithm

      public boolean hasCompressAlgorithm()
    • hasCompressLevel

      public boolean hasCompressLevel()
    • hasFormat

      public boolean hasFormat()
    • hasInput

      public boolean hasInput()
    • hasFile

      public boolean hasFile()
    • hasSettings

      public boolean hasSettings()
    • hasWithTotals

      public boolean hasWithTotals()
    • hasValues

      public boolean hasValues()
    • hasTempTable

      public boolean hasTempTable()
    • getParameters

      public List<Integer> getParameters()
    • getStartPosition

      public int getStartPosition(String keyword)
    • getEndPosition

      public int getEndPosition(String keyword)
    • getPositions

      public Map<String,Integer> getPositions()
    • getSettings

      public Map<String,String> getSettings()
    • getTempTables

      public Set<String> getTempTables()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object