public class FetchResultsHeaders extends Object implements SqlGatewayMessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
Modifier and Type | Method and Description |
---|---|
static String |
buildNextUri(SqlGatewayRestAPIVersion version,
String sessionId,
String operationId,
Long nextToken,
RowFormat rowFormat) |
static FetchResultsHeaders |
getDefaultInstance() |
String |
getDescription()
Returns the description for this header.
|
HttpMethodWrapper |
getHttpMethod()
Returns the
HttpMethodWrapper to be used for the request. |
static FetchResultsHeaders |
getInstanceV1() |
Class<EmptyRequestBody> |
getRequestClass()
Returns the class of the request message.
|
Class<FetchResultsResponseBody> |
getResponseClass()
Returns the class of the response message.
|
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus |
getResponseStatusCode()
Returns the http status code for the response.
|
Collection<? extends RestAPIVersion<?>> |
getSupportedAPIVersions()
Returns the supported API versions that this request supports.
|
String |
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example
/job/:jobid . |
FetchResultsMessageParameters |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
String |
operationId()
Returns a short description for this header suitable for method code generation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomHeaders, getResponseTypeParameters
acceptsFileUploads
public static final String URL
public static FetchResultsHeaders getInstanceV1()
public static FetchResultsHeaders getDefaultInstance()
@Nullable public static String buildNextUri(SqlGatewayRestAPIVersion version, String sessionId, String operationId, Long nextToken, RowFormat rowFormat)
public Class<FetchResultsResponseBody> getResponseClass()
MessageHeaders
getResponseClass
in interface MessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeaders
getResponseStatusCode
in interface MessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
public String getDescription()
MessageHeaders
getDescription
in interface MessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
public HttpMethodWrapper getHttpMethod()
RestHandlerSpecification
HttpMethodWrapper
to be used for the request.getHttpMethod
in interface RestHandlerSpecification
public String getTargetRestEndpointURL()
RestHandlerSpecification
/job/:jobid
.getTargetRestEndpointURL
in interface RestHandlerSpecification
public Collection<? extends RestAPIVersion<?>> getSupportedAPIVersions()
RestHandlerSpecification
getSupportedAPIVersions
in interface RestHandlerSpecification
getSupportedAPIVersions
in interface SqlGatewayMessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
public Class<EmptyRequestBody> getRequestClass()
UntypedResponseMessageHeaders
getRequestClass
in interface UntypedResponseMessageHeaders<EmptyRequestBody,FetchResultsMessageParameters>
public FetchResultsMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeaders
MessageParameters
object.getUnresolvedMessageParameters
in interface UntypedResponseMessageHeaders<EmptyRequestBody,FetchResultsMessageParameters>
public String operationId()
MessageHeaders
operationId
in interface MessageHeaders<EmptyRequestBody,FetchResultsResponseBody,FetchResultsMessageParameters>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.