TypeCodec.AbstractCollectionCodec<E,C extends Collection<E>>, TypeCodec.AbstractMapCodec<K,V>, TypeCodec.AbstractTupleCodec<T>, TypeCodec.AbstractUDTCodec<T>, TypeCodec.PrimitiveBooleanCodec, TypeCodec.PrimitiveByteCodec, TypeCodec.PrimitiveDoubleCodec, TypeCodec.PrimitiveFloatCodec, TypeCodec.PrimitiveIntCodec, TypeCodec.PrimitiveLongCodec, TypeCodec.PrimitiveShortCodec| Modifier and Type | Field and Description |
|---|---|
static LocalDateCodec |
instance |
| Modifier and Type | Method and Description |
|---|---|
LocalDate |
deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
String |
format(LocalDate value) |
LocalDate |
parse(String value) |
ByteBuffer |
serialize(LocalDate value,
ProtocolVersion protocolVersion) |
accepts, accepts, accepts, accepts, ascii, bigint, blob, cboolean, cdouble, cfloat, cint, counter, custom, date, decimal, duration, getCqlType, getJavaType, inet, list, map, set, smallInt, time, timestamp, timeUUID, tinyInt, toString, tuple, userType, uuid, varchar, varintpublic static final LocalDateCodec instance
public ByteBuffer serialize(LocalDate value, ProtocolVersion protocolVersion)
public LocalDate deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion)
deserialize in class TypeCodec<LocalDate>Copyright © 2012–2017. All rights reserved.