JavaTypeT - The Java type managed by the codec implementation.public abstract class AbstractCodec<JavaTypeT> 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(JavaTypeT value)
Formats the given value as a valid CQL literal according to the CQL type handled by this codec.
|
JavaTypeT |
parse(String value)
Parses the given CQL literal into an instance of the Java type handled by this codec.
|
Copyright © 2020–2024 ING Bank. All rights reserved.