Class MultiGetRecordStreamDecoder<K,V>
java.lang.Object
com.linkedin.venice.client.store.streaming.AbstractRecordStreamDecoder<MultiGetResponseRecordV1,K,V>
com.linkedin.venice.client.store.streaming.MultiGetRecordStreamDecoder<K,V>
- All Implemented Interfaces:
RecordStreamDecoder,TransportClientStreamingCallback
public class MultiGetRecordStreamDecoder<K,V>
extends AbstractRecordStreamDecoder<MultiGetResponseRecordV1,K,V>
-
Constructor Summary
ConstructorsConstructorDescriptionMultiGetRecordStreamDecoder(List<K> keyList, TrackingStreamingCallback<K, V> callback, Executor deserializationExecutor, RecordDeserializer<StreamingFooterRecordV1> streamingFooterDeserializer, Function<Integer, RecordDeserializer<V>> valueDeserializerProvider, BiFunction<CompressionStrategy, ByteBuffer, ByteBuffer> decompressor) -
Method Summary
Modifier and TypeMethodDescriptiongetEnvelopeDeserializer(int schemaId) protected intgetKeyIndex(MultiGetResponseRecordV1 envelope) protected StreamingFooterRecordV1protected VgetValueRecord(MultiGetResponseRecordV1 envelope, CompressionStrategy compression) Methods inherited from class com.linkedin.venice.client.store.streaming.AbstractRecordStreamDecoder
onCompletion, onDataReceived, onHeaderReceived
-
Constructor Details
-
MultiGetRecordStreamDecoder
public MultiGetRecordStreamDecoder(List<K> keyList, TrackingStreamingCallback<K, V> callback, Executor deserializationExecutor, RecordDeserializer<StreamingFooterRecordV1> streamingFooterDeserializer, Function<Integer, RecordDeserializer<V>> valueDeserializerProvider, BiFunction<CompressionStrategy, ByteBuffer, ByteBuffer> decompressor)
-
-
Method Details
-
getEnvelopeDeserializer
protected ReadEnvelopeChunkedDeserializer<MultiGetResponseRecordV1> getEnvelopeDeserializer(int schemaId) - Specified by:
getEnvelopeDeserializerin classAbstractRecordStreamDecoder<MultiGetResponseRecordV1,K, V>
-
getValueRecord
- Specified by:
getValueRecordin classAbstractRecordStreamDecoder<MultiGetResponseRecordV1,K, V>
-
getKeyIndex
- Specified by:
getKeyIndexin classAbstractRecordStreamDecoder<MultiGetResponseRecordV1,K, V>
-