Modifier and Type | Method and Description |
---|---|
protected abstract CompletableFuture<P> |
AbstractSqlGatewayRestHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<R> request)
This method is called for every incoming request and returns a
CompletableFuture
containing a the response. |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<OperationStatusResponseBody> |
AbstractOperationHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<GetSessionConfigResponseBody> |
GetSessionConfigHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
protected CompletableFuture<EmptyResponseBody> |
TriggerSessionHeartbeatHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
protected CompletableFuture<CloseSessionResponseBody> |
CloseSessionHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
protected CompletableFuture<OpenSessionResponseBody> |
OpenSessionHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<OpenSessionRequestBody> request) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<FetchResultsResponseBody> |
FetchResultsHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
protected CompletableFuture<ExecuteStatementResponseBody> |
ExecuteStatementHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<ExecuteStatementRequestBody> request) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<GetInfoResponseBody> |
GetInfoHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
protected CompletableFuture<GetApiVersionResponseBody> |
GetApiVersionHandler.handleRequest(SqlGatewayRestAPIVersion version,
HandlerRequest<EmptyRequestBody> request) |
Modifier and Type | Method and Description |
---|---|
static SqlGatewayRestAPIVersion |
SqlGatewayRestAPIVersion.fromURIToVersion(String uri)
Convert uri to SqlGatewayRestAPIVersion.
|
static SqlGatewayRestAPIVersion |
SqlGatewayRestAPIVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlGatewayRestAPIVersion[] |
SqlGatewayRestAPIVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.