Class Service.ExecuteBatchResponse
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Response
-
- org.apache.calcite.avatica.remote.Service.ExecuteBatchResponse
-
- Enclosing interface:
- Service
public static class Service.ExecuteBatchResponse extends Service.Response
Response object for executing a batch of commands.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringconnectionIdbooleanmissingStatementprivate static com.google.protobuf.Descriptors.FieldDescriptorRPC_METADATA_DESCRIPTORService.RpcMetadataResponserpcMetadataintstatementIdlong[]updateCounts-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description ExecuteBatchResponse()ExecuteBatchResponse(java.lang.String connectionId, int statementId, long[] updateCounts, boolean missingStatement, Service.RpcMetadataResponse rpcMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.ExecuteBatchResponsedeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()(package private) Responses.ExecuteBatchResponseserialize()-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Field Detail
-
RPC_METADATA_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor RPC_METADATA_DESCRIPTOR
-
connectionId
public final java.lang.String connectionId
-
statementId
public final int statementId
-
updateCounts
public final long[] updateCounts
-
missingStatement
public final boolean missingStatement
-
rpcMetadata
public final Service.RpcMetadataResponse rpcMetadata
-
-
Constructor Detail
-
ExecuteBatchResponse
ExecuteBatchResponse()
-
ExecuteBatchResponse
public ExecuteBatchResponse(java.lang.String connectionId, int statementId, long[] updateCounts, boolean missingStatement, Service.RpcMetadataResponse rpcMetadata)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
deserialize
Service.ExecuteBatchResponse deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Response
-
serialize
Responses.ExecuteBatchResponse serialize()
- Specified by:
serializein classService.Response
-
-