Class FetchResultsHeaders
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.header.statement.FetchResultsHeaders
-
- All Implemented Interfaces:
org.apache.flink.runtime.rest.handler.RestHandlerSpecification,org.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>,org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsMessageParameters>,SqlGatewayMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
public class FetchResultsHeaders extends Object implements SqlGatewayMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
Message headers for fetching results.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringbuildNextUri(SqlGatewayRestAPIVersion version, String sessionId, String operationId, Long nextToken, RowFormat rowFormat)static FetchResultsHeadersgetDefaultInstance()StringgetDescription()org.apache.flink.runtime.rest.HttpMethodWrappergetHttpMethod()static FetchResultsHeadersgetInstanceV1()Class<org.apache.flink.runtime.rest.messages.EmptyRequestBody>getRequestClass()Class<FetchResultsResponseBody>getResponseClass()org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatusgetResponseStatusCode()Collection<? extends org.apache.flink.runtime.rest.versioning.RestAPIVersion<?>>getSupportedAPIVersions()StringgetTargetRestEndpointURL()FetchResultsMessageParametersgetUnresolvedMessageParameters()StringoperationId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
URL
public static final String URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstanceV1
public static FetchResultsHeaders getInstanceV1()
-
getDefaultInstance
public static FetchResultsHeaders getDefaultInstance()
-
buildNextUri
@Nullable public static String buildNextUri(SqlGatewayRestAPIVersion version, String sessionId, String operationId, Long nextToken, RowFormat rowFormat)
-
getResponseClass
public Class<FetchResultsResponseBody> getResponseClass()
- Specified by:
getResponseClassin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
-
getResponseStatusCode
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
- Specified by:
getResponseStatusCodein interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
-
getHttpMethod
public org.apache.flink.runtime.rest.HttpMethodWrapper getHttpMethod()
- Specified by:
getHttpMethodin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
- Specified by:
getTargetRestEndpointURLin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification
-
getSupportedAPIVersions
public Collection<? extends org.apache.flink.runtime.rest.versioning.RestAPIVersion<?>> getSupportedAPIVersions()
- Specified by:
getSupportedAPIVersionsin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification- Specified by:
getSupportedAPIVersionsin interfaceSqlGatewayMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
-
getRequestClass
public Class<org.apache.flink.runtime.rest.messages.EmptyRequestBody> getRequestClass()
- Specified by:
getRequestClassin interfaceorg.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsMessageParameters>
-
getUnresolvedMessageParameters
public FetchResultsMessageParameters getUnresolvedMessageParameters()
- Specified by:
getUnresolvedMessageParametersin interfaceorg.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsMessageParameters>
-
operationId
public String operationId()
- Specified by:
operationIdin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
-
-