public class StringScheme extends Object implements Scheme
Modifier and Type | Field and Description |
---|---|
static String |
STRING_SCHEME_KEY |
Constructor and Description |
---|
StringScheme() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
deserialize(ByteBuffer bytes) |
static String |
deserializeString(ByteBuffer byteBuffer)
Deserialize ByteBuffer to String.
|
Fields |
getOutputFields() |
public static final String STRING_SCHEME_KEY
public List<Object> deserialize(ByteBuffer bytes)
deserialize
in interface Scheme
public static String deserializeString(ByteBuffer byteBuffer)
Deserialize ByteBuffer to String.
byteBuffer
- input ByteBufferpublic Fields getOutputFields()
getOutputFields
in interface Scheme
Copyright © 2020 The Apache Software Foundation. All rights reserved.