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 LocalTimeCodec |
instance |
| Modifier and Type | Method and Description |
|---|---|
LocalTime |
deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
String |
format(LocalTime value) |
LocalTime |
parse(String value) |
ByteBuffer |
serialize(LocalTime 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 LocalTimeCodec instance
public ByteBuffer serialize(LocalTime value, ProtocolVersion protocolVersion) throws InvalidTypeException
serialize in class TypeCodec<LocalTime>InvalidTypeExceptionpublic LocalTime deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) throws InvalidTypeException
deserialize in class TypeCodec<LocalTime>InvalidTypeExceptionCopyright © 2012–2023. All rights reserved.