Package ru.yandex.clickhouse.util
Class ClickHouseStreamHttpEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- ru.yandex.clickhouse.util.ClickHouseStreamHttpEntity
-
-
Constructor Summary
Constructors Constructor Description ClickHouseStreamHttpEntity(ClickHouseStreamCallback callback, TimeZone timeZone, ClickHouseProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetContent()longgetContentLength()booleanisRepeatable()booleanisStreaming()voidwriteTo(OutputStream out)
-
-
-
Constructor Detail
-
ClickHouseStreamHttpEntity
public ClickHouseStreamHttpEntity(ClickHouseStreamCallback callback, TimeZone timeZone, ClickHouseProperties properties)
-
-
Method Detail
-
isRepeatable
public boolean isRepeatable()
-
getContentLength
public long getContentLength()
-
getContent
public InputStream getContent() throws IOException, UnsupportedOperationException
-
writeTo
public void writeTo(OutputStream out) throws IOException
- Throws:
IOException
-
isStreaming
public boolean isStreaming()
-
-