Package com.linkedin.venice.read
Class RequestHeadersProvider
- java.lang.Object
-
- com.linkedin.venice.read.RequestHeadersProvider
-
public class RequestHeadersProvider extends java.lang.Object
Provide the appropriate headers based on the request type for all remote Venice clients. i.e. the thin-client and the fast-client.
-
-
Constructor Summary
Constructors Constructor Description RequestHeadersProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
getStreamingBatchGetHeaders(int keyCount)
static java.util.Map<java.lang.String,java.lang.String>
getStreamingComputeHeaderMap(int keyCount, int computeValueSchemaId, boolean isRemoteComputationOnly)
static java.util.Map<java.lang.String,java.lang.String>
getThinClientGetHeaderMap()
static java.util.Map<java.lang.String,java.lang.String>
getThinClientStreamingBatchGetHeaders(int keyCount)
-
-
-
Method Detail
-
getThinClientGetHeaderMap
public static java.util.Map<java.lang.String,java.lang.String> getThinClientGetHeaderMap()
-
getThinClientStreamingBatchGetHeaders
public static java.util.Map<java.lang.String,java.lang.String> getThinClientStreamingBatchGetHeaders(int keyCount)
-
getStreamingBatchGetHeaders
public static java.util.Map<java.lang.String,java.lang.String> getStreamingBatchGetHeaders(int keyCount)
-
getStreamingComputeHeaderMap
public static java.util.Map<java.lang.String,java.lang.String> getStreamingComputeHeaderMap(int keyCount, int computeValueSchemaId, boolean isRemoteComputationOnly)
-
-