Constructor and Description |
---|
DateRangeCodec() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class<?> javaClass) |
DateRange |
decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
ByteBuffer |
encode(DateRange dateRange,
ProtocolVersion protocolVersion) |
String |
format(DateRange dateRange) |
DataType |
getCqlType() |
GenericType<DateRange> |
getJavaType() |
DateRange |
parse(String value) |
@NonNull public GenericType<DateRange> getJavaType()
getJavaType
in interface TypeCodec<DateRange>
@NonNull public DataType getCqlType()
getCqlType
in interface TypeCodec<DateRange>
public boolean accepts(@NonNull Class<?> javaClass)
@Nullable public ByteBuffer encode(@Nullable DateRange dateRange, @NonNull ProtocolVersion protocolVersion)
@Nullable public DateRange decode(@Nullable ByteBuffer bytes, @NonNull ProtocolVersion protocolVersion)
Copyright © 2017–2019. All rights reserved.