public static interface DescriptorSerializer.Factory<T extends DescriptorSerializer>
Modifier and Type | Method and Description |
---|---|
boolean |
applies(DataValueDescriptor dvd) |
boolean |
applies(int typeFormatId) |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isScalar()
Here "scalar" means the type is ultimately encoded as a variable length integer.
|
T |
newInstance() |
T newInstance()
boolean applies(DataValueDescriptor dvd)
dvd
- the dvd to encode/decodeboolean applies(int typeFormatId)
typeFormatId
- the Derby type format id for the descriptorboolean isScalar()
boolean isFloat()
boolean isDouble()