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