Package com.clickhouse.client.grpc
Class ClickHouseGrpcResponse
- java.lang.Object
-
- com.clickhouse.client.data.ClickHouseStreamResponse
-
- com.clickhouse.client.grpc.ClickHouseGrpcResponse
-
- All Implemented Interfaces:
ClickHouseResponse,Serializable,AutoCloseable
public class ClickHouseGrpcResponse extends ClickHouseStreamResponse
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.clickhouse.client.data.ClickHouseStreamResponse
columns, config, defaultTypes, input, processor, summary
-
Fields inherited from interface com.clickhouse.client.ClickHouseResponse
EMPTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClickHouseGrpcResponse(ClickHouseConfig config, Map<String,Object> settings, ClickHouseStreamObserver observer)protectedClickHouseGrpcResponse(ClickHouseConfig config, Map<String,Object> settings, Result result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClickHouseResponseSummarygetSummary()-
Methods inherited from class com.clickhouse.client.data.ClickHouseStreamResponse
close, getColumns, getFormat, getInputStream, isClosed, of, of, of, of, of, records
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.clickhouse.client.ClickHouseResponse
firstRecord, pipe, stream
-
-
-
-
Constructor Detail
-
ClickHouseGrpcResponse
protected ClickHouseGrpcResponse(ClickHouseConfig config, Map<String,Object> settings, ClickHouseStreamObserver observer) throws IOException
- Throws:
IOException
-
ClickHouseGrpcResponse
protected ClickHouseGrpcResponse(ClickHouseConfig config, Map<String,Object> settings, Result result) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getSummary
public ClickHouseResponseSummary getSummary()
- Specified by:
getSummaryin interfaceClickHouseResponse- Overrides:
getSummaryin classClickHouseStreamResponse
-
-