Class VeniceSingleGetPath
java.lang.Object
com.linkedin.venice.router.api.path.VenicePath
com.linkedin.venice.router.api.path.VeniceSingleGetPath
- All Implemented Interfaces:
ResourcePath<RouterKey>
-
Field Summary
Fields inherited from class com.linkedin.venice.router.api.path.VenicePath
retryManager, storeName, versionNumber
-
Constructor Summary
ConstructorDescriptionVeniceSingleGetPath
(String storeName, int versionNumber, String resourceName, String key, String uri, VenicePartitionFinder partitionFinder, RouterStats<AggRouterHttpRequestStats> stats, RetryManager retryManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.client.methods.HttpUriRequest
composeRouterRequestInternal
(String storageNodeUri) byte[]
getBody()
io.netty.handler.codec.http.HttpMethod
protected RequestType
protected static boolean
isFormatB64
(String key) For single-get request, the substituted request is same as the original request.Methods inherited from class com.linkedin.venice.router.api.path.VenicePath
canRequestStorageNode, composeRouterRequest, getChunkedResponse, getHelixGroupId, getLongTailRetryThresholdMs, getOriginalRequestStartTs, getPartitionKeys, getRequestId, getRequestSize, getResourceName, getResponseDecompressor, getResponseHeaders, getSmartLongTailRetryAbortThresholdMs, getStoreName, getVersionNumber, isLongTailRetryAllowedForNewRequest, isLongTailRetryWithinBudget, isRetryRequest, isRetryRequestTooLate, isSmartLongTailRetryEnabled, isStreamingRequest, markStorageNodeAsFast, recordOriginalRequestStartTimestamp, recordRequest, requestStorageNode, setChunkedWriteHandler, setHelixGroupId, setLongTailRetryThresholdMs, setPartitionKeys, setResponseDecompressor, setResponseHeaders, setRetryRequest, setRetryRequest, setupRetryRelatedInfo, setupVeniceHeaders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.linkedin.alpini.router.api.ResourcePath
getPartitionKey
-
Constructor Details
-
VeniceSingleGetPath
public VeniceSingleGetPath(String storeName, int versionNumber, String resourceName, String key, String uri, VenicePartitionFinder partitionFinder, RouterStats<AggRouterHttpRequestStats> stats, RetryManager retryManager) throws RouterException - Throws:
RouterException
-
-
Method Details
-
getRequestType
- Specified by:
getRequestType
in classVenicePath
-
getStreamingRequestType
- Overrides:
getStreamingRequestType
in classVenicePath
-
substitutePartitionKey
For single-get request, the substituted request is same as the original request.- Specified by:
substitutePartitionKey
in classVenicePath
-
substitutePartitionKey
- Specified by:
substitutePartitionKey
in classVenicePath
-
composeRouterRequestInternal
public org.apache.http.client.methods.HttpUriRequest composeRouterRequestInternal(String storageNodeUri) - Specified by:
composeRouterRequestInternal
in classVenicePath
-
getLocation
-
isFormatB64
-
getPartition
-
getHttpMethod
public io.netty.handler.codec.http.HttpMethod getHttpMethod()- Specified by:
getHttpMethod
in classVenicePath
-
getBody
public byte[] getBody()- Specified by:
getBody
in classVenicePath
-
getVeniceApiVersionHeader
- Specified by:
getVeniceApiVersionHeader
in classVenicePath
-