K - Type of key that this class decodes.V - Type of value that this class decodes.public interface StreamEventDecoder<K,V>
StreamEvent into key value pair.| Modifier and Type | Interface and Description |
|---|---|
static class |
StreamEventDecoder.DecodeResult<K,V>
Represents the decoded result pair.
|
| Modifier and Type | Method and Description |
|---|---|
StreamEventDecoder.DecodeResult<K,V> |
decode(StreamEvent event,
StreamEventDecoder.DecodeResult<K,V> result)
Decode a
StreamEvent. |
StreamEventDecoder.DecodeResult<K,V> decode(StreamEvent event, StreamEventDecoder.DecodeResult<K,V> result)
StreamEvent.event - The event to be decoded.result - Reusable object for putting decode result.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.