Class Service.PrepareAndExecuteBatchRequest
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Request
-
- org.apache.calcite.avatica.remote.Service.PrepareAndExecuteBatchRequest
-
- Enclosing interface:
- Service
public static class Service.PrepareAndExecuteBatchRequest extends Service.Request
Request to prepare a statement and execute a series of batch commands in one call.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringconnectionIdjava.util.List<java.lang.String>sqlCommandsintstatementId-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description PrepareAndExecuteBatchRequest()PrepareAndExecuteBatchRequest(java.lang.String connectionId, int statementId, java.util.List<java.lang.String> sqlCommands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.ExecuteBatchResponseaccept(Service service)Service.PrepareAndExecuteBatchRequestdeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()Requests.PrepareAndExecuteBatchRequestserialize()-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Method Detail
-
accept
public Service.ExecuteBatchResponse accept(Service service)
- Specified by:
acceptin classService.Request
-
serialize
public Requests.PrepareAndExecuteBatchRequest serialize()
- Specified by:
serializein classService.Request
-
deserialize
public Service.PrepareAndExecuteBatchRequest deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Request
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-