Interface TransportResponse
- All Superinterfaces:
AutoCloseable,Closeable
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new stream to read data.Data format returned by server or calculated other way<T> TGives access to transport delegate.Server headers.
-
Method Details
-
getDataFormat
ClickHouseFormat getDataFormat()Data format returned by server or calculated other way- Returns:
- data format
-
getSummaryJson
String getSummaryJson() -
getQueryId
String getQueryId() -
getDelegate
<T> T getDelegate()Gives access to transport delegate. Used strictly only by transport.- Type Parameters:
T- - Type of delegate- Returns:
- internal transport response object
-
getHeaders
Server headers.- Returns:
- response headers
-
createDataInputStream
InputStream createDataInputStream()Creates a new stream to read data. It is applicable only for blocking transports. In real life this should be called once. It is important to mention that each time new input stream is created.- Returns:
- new data stream
-