public class StringMessageAndMetadataScheme extends StringScheme implements MessageMetadataScheme
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STRING_SCHEME_OFFSET |
static java.lang.String |
STRING_SCHEME_PARTITION_KEY |
STRING_SCHEME_KEY
Constructor and Description |
---|
StringMessageAndMetadataScheme() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
deserializeMessageWithMetadata(byte[] message,
Partition partition,
long offset) |
Fields |
getOutputFields() |
deserialize, deserializeString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize
public static final java.lang.String STRING_SCHEME_PARTITION_KEY
public static final java.lang.String STRING_SCHEME_OFFSET
public java.util.List<java.lang.Object> deserializeMessageWithMetadata(byte[] message, Partition partition, long offset)
deserializeMessageWithMetadata
in interface MessageMetadataScheme
public Fields getOutputFields()
getOutputFields
in interface Scheme
getOutputFields
in class StringScheme