Package com.clickhouse.client.http
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 Summary
ConstructorsModifierConstructorDescriptionprotectedClickHouseHttpEntity(ClickHouseConfig config, String contentType, String contentEncoding, byte[] boundary, String sql, com.clickhouse.data.ClickHouseInputStream data, List<com.clickhouse.data.ClickHouseExternalTable> tables) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Deprecated.longDeprecated.booleanDeprecated.booleanDeprecated.voidwriteTo(OutputStream outStream) Deprecated.Methods inherited from class org.apache.hc.core5.http.io.entity.AbstractHttpEntity
getContentEncoding, getContentType, getTrailerNames, getTrailers, isChunked, toString, writeTo
-
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. -
getContentLength
public long getContentLength()Deprecated. -
isRepeatable
public boolean isRepeatable()Deprecated.- Specified by:
isRepeatablein interfaceorg.apache.hc.core5.http.HttpEntity- Overrides:
isRepeatablein classorg.apache.hc.core5.http.io.entity.AbstractHttpEntity
-
isStreaming
public boolean isStreaming()Deprecated. -
writeTo
Deprecated.- Specified by:
writeToin interfaceorg.apache.hc.core5.http.HttpEntity- Overrides:
writeToin classorg.apache.hc.core5.http.io.entity.AbstractHttpEntity- Throws:
IOException
-
close
Deprecated.- Throws:
IOException
-