public class RemoteProtobufService extends ProtobufService
AbstractService.SerializationTypeService.Base, Service.CatalogsRequest, Service.CloseConnectionRequest, Service.CloseConnectionResponse, Service.CloseStatementRequest, Service.CloseStatementResponse, Service.ColumnsRequest, Service.CommitRequest, Service.CommitResponse, Service.ConnectionSyncRequest, Service.ConnectionSyncResponse, Service.CreateStatementRequest, Service.CreateStatementResponse, Service.DatabasePropertyRequest, Service.DatabasePropertyResponse, Service.ErrorResponse, Service.ExecuteBatchRequest, Service.ExecuteBatchResponse, Service.ExecuteRequest, Service.ExecuteResponse, Service.Factory, Service.FetchRequest, Service.FetchResponse, Service.OpenConnectionRequest, Service.OpenConnectionResponse, Service.PrepareAndExecuteBatchRequest, Service.PrepareAndExecuteRequest, Service.PrepareRequest, Service.PrepareResponse, Service.Request, Service.Response, Service.ResultSetResponse, Service.RollbackRequest, Service.RollbackResponse, Service.RpcMetadataResponse, Service.SchemasRequest, Service.SyncResultsRequest, Service.SyncResultsResponse, Service.TablesRequest, Service.TableTypesRequest, Service.TypeInfoRequest| Modifier and Type | Field and Description |
|---|---|
private AvaticaHttpClient |
client |
private static org.slf4j.Logger |
LOG |
private ProtobufTranslation |
translation |
| Constructor and Description |
|---|
RemoteProtobufService(AvaticaHttpClient client,
ProtobufTranslation translation) |
| Modifier and Type | Method and Description |
|---|---|
Service.Response |
_apply(Service.Request request)
Derived class should implement this method to transport requests and
responses to and from the peer service.
|
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, castProtobufMessage, getSerializationTypefinagle, finagle, finagle, finagle, finagle, finagle, setRpcMetadataprivate static final org.slf4j.Logger LOG
private final AvaticaHttpClient client
private final ProtobufTranslation translation
public RemoteProtobufService(AvaticaHttpClient client, ProtobufTranslation translation)
public Service.Response _apply(Service.Request request)
ProtobufService_apply in class ProtobufServiceCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.