T - The Java type managed by the codec implementation.public abstract class AbstractCodec<T> extends Object
TypeCodec.parse(String) and
TypeCodec.format(Object).
The null and empty values are automatically managed, so only implement parseNonNull(String) and
formatNonNull(Object) for non-null values to get the full implementation of the parsing and formatting
methods.| Constructor and Description |
|---|
AbstractCodec() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(T value)
Formats the given value as a valid CQL literal according to the CQL type handled by this codec.
|
T |
parse(String value)
Parses the given CQL literal into an instance of the Java type handled by this codec.
|
Copyright © 2020–2026 ING Bank. All rights reserved.