public class StringMessageAndMetadataScheme extends StringScheme implements MessageMetadataScheme
| Modifier and Type | Field and Description |
|---|---|
static String |
STRING_SCHEME_OFFSET |
static String |
STRING_SCHEME_PARTITION_KEY |
STRING_SCHEME_KEY| Constructor and Description |
|---|
StringMessageAndMetadataScheme() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
deserializeMessageWithMetadata(ByteBuffer message,
Partition partition,
long offset) |
Fields |
getOutputFields() |
deserialize, deserializeStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializepublic static final String STRING_SCHEME_PARTITION_KEY
public static final String STRING_SCHEME_OFFSET
public List<Object> deserializeMessageWithMetadata(ByteBuffer message, Partition partition, long offset)
deserializeMessageWithMetadata in interface MessageMetadataSchemepublic Fields getOutputFields()
getOutputFields in interface SchemegetOutputFields in class StringSchemeCopyright © 2019 The Apache Software Foundation. All Rights Reserved.