Class ComputeRouterRequestWrapper
- java.lang.Object
-
- com.linkedin.venice.listener.request.RouterRequest
-
- com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper<ComputeRouterRequestKeyV1>
-
- com.linkedin.venice.listener.request.ComputeRouterRequestWrapper
-
public class ComputeRouterRequestWrapper extends MultiKeyRouterRequestWrapper<ComputeRouterRequestKeyV1>
ComputeRouterRequestWrapper
encapsulates a POST request for read-compute from routers.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.listener.request.RouterRequest
NO_REQUEST_TIMEOUT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRequest
getComputeRequest()
RequestType
getRequestType()
int
getValueSchemaId()
static ComputeRouterRequestWrapper
parseComputeRequest(io.netty.handler.codec.http.FullHttpRequest httpRequest, java.lang.String[] requestParts)
java.lang.String
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 Detail
-
parseComputeRequest
public static ComputeRouterRequestWrapper parseComputeRequest(io.netty.handler.codec.http.FullHttpRequest httpRequest, java.lang.String[] requestParts)
-
getComputeRequest
public ComputeRequest getComputeRequest()
-
getValueSchemaId
public int getValueSchemaId()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getRequestType
public RequestType getRequestType()
- Specified by:
getRequestType
in classRouterRequest
-
-