Class ClickHouseHttpEntity

java.lang.Object
org.apache.hc.core5.http.io.entity.AbstractHttpEntity
com.clickhouse.client.http.ClickHouseHttpEntity
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hc.core5.http.EntityDetails, org.apache.hc.core5.http.HttpEntity

@Deprecated public class ClickHouseHttpEntity extends org.apache.hc.core5.http.io.entity.AbstractHttpEntity
Deprecated.
Used to encapsulate post request.
  • Constructor Details

    • ClickHouseHttpEntity

      protected ClickHouseHttpEntity(ClickHouseConfig config, String contentType, String contentEncoding, byte[] boundary, String sql, com.clickhouse.data.ClickHouseInputStream data, List<com.clickhouse.data.ClickHouseExternalTable> tables)
      Deprecated.
  • Method Details

    • getContent

      Deprecated.
      Throws:
      IOException
      UnsupportedOperationException
    • getContentLength

      public long getContentLength()
      Deprecated.
    • isRepeatable

      public boolean isRepeatable()
      Deprecated.
      Specified by:
      isRepeatable in interface org.apache.hc.core5.http.HttpEntity
      Overrides:
      isRepeatable in class org.apache.hc.core5.http.io.entity.AbstractHttpEntity
    • isStreaming

      public boolean isStreaming()
      Deprecated.
    • writeTo

      public void writeTo(OutputStream outStream) throws IOException
      Deprecated.
      Specified by:
      writeTo in interface org.apache.hc.core5.http.HttpEntity
      Overrides:
      writeTo in class org.apache.hc.core5.http.io.entity.AbstractHttpEntity
      Throws:
      IOException
    • close

      public void close() throws IOException
      Deprecated.
      Throws:
      IOException