Interface ClickHouseStatement

All Superinterfaces:
AutoCloseable, Statement, Wrapper
All Known Implementing Classes:
AbstractPreparedStatement, ClickHouseStatementImpl, InputBasedPreparedStatement, SqlBasedPreparedStatement, StreamBasedPreparedStatement, TableBasedPreparedStatement

public interface ClickHouseStatement extends Statement
  • Method Details

    • getConnection

      ClickHouseConnection getConnection() throws SQLException
      Specified by:
      getConnection in interface Statement
      Throws:
      SQLException
    • getConfig

      com.clickhouse.client.ClickHouseConfig getConfig()
    • getMirroredOutput

      OutputStream getMirroredOutput()
      Gets mirrored output stream.
      Returns:
      mirrored output stream, could be null
    • setMirroredOutput

      void setMirroredOutput(OutputStream out)
      Sets mirrored output stream, which will be later used for dumping all ResultSet generated by this statement, via ClickHouseInputStream.setCopyToTarget(OutputStream).
      Parameters:
      out - mirrored output stream, could be null
    • getNullAsDefault

      int getNullAsDefault()
    • setNullAsDefault

      void setNullAsDefault(int level)
    • getRequest

      com.clickhouse.client.ClickHouseRequest<?> getRequest()
    • write

      default com.clickhouse.client.ClickHouseRequest.Mutation write()