Class Service.OpenConnectionRequest
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Request
-
- org.apache.calcite.avatica.remote.Service.OpenConnectionRequest
-
- Enclosing interface:
- Service
public static class Service.OpenConnectionRequest extends Service.Request
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Descriptors.FieldDescriptorCONNECTION_ID_DESCRIPTORjava.lang.StringconnectionIdjava.util.Map<java.lang.String,java.lang.String>info-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description OpenConnectionRequest()OpenConnectionRequest(java.lang.String connectionId, java.util.Map<java.lang.String,java.lang.String> info)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.OpenConnectionResponseaccept(Service service)(package private) Service.Requestdeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()(package private) com.google.protobuf.Messageserialize()static java.util.Map<java.lang.String,java.lang.String>serializeProperties(java.util.Properties props)Serializes the necessary properties into a Map.-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Method Detail
-
accept
Service.OpenConnectionResponse accept(Service service)
- Specified by:
acceptin classService.Request
-
serializeProperties
public static java.util.Map<java.lang.String,java.lang.String> serializeProperties(java.util.Properties props)
Serializes the necessary properties into a Map.- Parameters:
props- The properties to serialize.- Returns:
- A representation of the Properties as a Map.
-
deserialize
Service.Request deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Request
-
serialize
com.google.protobuf.Message serialize()
- Specified by:
serializein classService.Request
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-