Class MultiGetRouterRequestWrapper
java.lang.Object
com.linkedin.venice.listener.request.RouterRequest
com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper<MultiGetRouterRequestKeyV1>
com.linkedin.venice.listener.request.MultiGetRouterRequestWrapper
public class MultiGetRouterRequestWrapper
extends MultiKeyRouterRequestWrapper<MultiGetRouterRequestKeyV1>
MultiGetRouterRequestWrapper
encapsulates a POST request to storage/resourcename on the storage node for a multi-get operation.-
Field Summary
Fields inherited from class com.linkedin.venice.listener.request.RouterRequest
NO_REQUEST_TIMEOUT
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiGetRouterRequestWrapper
parseMultiGetGrpcRequest
(VeniceClientRequest grpcRequest) static MultiGetRouterRequestWrapper
parseMultiGetHttpRequest
(io.netty.handler.codec.http.FullHttpRequest httpRequest, String[] requestParts) toString()
Methods inherited from class com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper
getKeyCount, getKeys
Methods inherited from class com.linkedin.venice.listener.request.RouterRequest
getResourceName, getStoreName, isRetryRequest, isStreamingRequest, setRequestTimeoutInNS, shouldRequestBeTerminatedEarly
-
Method Details
-
parseMultiGetHttpRequest
public static MultiGetRouterRequestWrapper parseMultiGetHttpRequest(io.netty.handler.codec.http.FullHttpRequest httpRequest, String[] requestParts) -
parseMultiGetGrpcRequest
public static MultiGetRouterRequestWrapper parseMultiGetGrpcRequest(VeniceClientRequest grpcRequest) -
toString
-
getRequestType
- Specified by:
getRequestType
in classRouterRequest
-