Class Service.RpcMetadataResponse
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Response
-
- org.apache.calcite.avatica.remote.Service.RpcMetadataResponse
-
- Enclosing interface:
- Service
public static class Service.RpcMetadataResponse extends Service.Response
Response that includes information about the server that handled an RPC.This isn't really a "response", but we want to be able to be able to convert it to protobuf and back again, so ignore that there isn't an explicit endpoint for it.
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Descriptors.FieldDescriptorSERVER_ADDRESS_DESCRIPTORjava.lang.StringserverAddressprivate com.google.protobuf.ByteStringserverAddressAsBytes-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description RpcMetadataResponse()RpcMetadataResponse(java.lang.String serverAddress)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.RpcMetadataResponsedeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)(package private) static Service.RpcMetadataResponsefromProto(Responses.RpcMetadata msg)inthashCode()(package private) Responses.RpcMetadataserialize()-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Method Detail
-
deserialize
Service.RpcMetadataResponse deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Response
-
serialize
Responses.RpcMetadata serialize()
- Specified by:
serializein classService.Response
-
fromProto
static Service.RpcMetadataResponse fromProto(Responses.RpcMetadata msg)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-