| Modifier and Type | Method and Description |
|---|---|
protected abstract CompletableFuture<P> |
AbstractSqlGatewayRestHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.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,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody> |
ConfigureSessionHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<ConfigureSessionRequestBody> request) |
protected CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody> |
TriggerSessionHeartbeatHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
protected CompletableFuture<GetSessionConfigResponseBody> |
GetSessionConfigHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
protected CompletableFuture<CloseSessionResponseBody> |
CloseSessionHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
protected CompletableFuture<OpenSessionResponseBody> |
OpenSessionHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<OpenSessionRequestBody> request) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<CompleteStatementResponseBody> |
CompleteStatementHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<CompleteStatementRequestBody> request) |
protected CompletableFuture<FetchResultsResponseBody> |
FetchResultsHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
protected CompletableFuture<ExecuteStatementResponseBody> |
ExecuteStatementHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<ExecuteStatementRequestBody> request) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<GetApiVersionResponseBody> |
GetApiVersionHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
protected CompletableFuture<GetInfoResponseBody> |
GetInfoHandler.handleRequest(SqlGatewayRestAPIVersion version,
org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody> request) |
| Constructor and Description |
|---|
GetApiVersionHandler(org.apache.flink.table.gateway.api.SqlGatewayService service,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,GetApiVersionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters> messageHeaders,
List<SqlGatewayRestAPIVersion> stableVersions) |
| Modifier and Type | Method and Description |
|---|---|
static String |
FetchResultsHeaders.buildNextUri(SqlGatewayRestAPIVersion version,
String sessionId,
String operationId,
Long nextToken,
RowFormat rowFormat) |
| Constructor and Description |
|---|
FetchResultsMessageParameters(SqlGatewayRestAPIVersion version) |
| Modifier and Type | Method and Description |
|---|---|
static SqlGatewayRestAPIVersion |
SqlGatewayRestAPIVersion.fromURIToVersion(String uri)
Convert uri to SqlGatewayRestAPIVersion.
|
static SqlGatewayRestAPIVersion |
SqlGatewayRestAPIVersion.getDefaultVersion()
Returns the default version.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SqlGatewayRestAPIVersion> |
SqlGatewayRestAPIVersion.getStableVersions()
Returns the supported stable versions.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.