public class LocalDateTimeSchema extends AbstractSchema<LocalDateTime>
| Modifier and Type | Field and Description |
|---|---|
static String |
DELIMITER |
BOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP| Constructor and Description |
|---|
LocalDateTimeSchema() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
decode(byte[] bytes) |
LocalDateTime |
decode(io.netty.buffer.ByteBuf byteBuf)
Decode a byteBuf into an object using the schema definition and deserializer implementation
|
byte[] |
encode(LocalDateTime message) |
SchemaInfo |
getSchemaInfo() |
static LocalDateTimeSchema |
of() |
clone, decodeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, decode, generic, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, PROTOBUF_NATIVE, PROTOBUF_NATIVE, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioning, validatepublic static final String DELIMITER
public static LocalDateTimeSchema of()
public byte[] encode(LocalDateTime message)
public LocalDateTime decode(byte[] bytes)
public LocalDateTime decode(io.netty.buffer.ByteBuf byteBuf)
AbstractSchemadecode in class AbstractSchema<LocalDateTime>byteBuf - the byte buffer to decodepublic SchemaInfo getSchemaInfo()
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.