public interface EncodingBridge
Those bridges should:
Field.indexNullAs()
.
Bridges that do not implement this interface will be attributed a null
numeric encoding and fields with those bridges will use a simple null marker holding
a string.
Modifier and Type | Method and Description |
---|---|
NullMarker |
createNullMarker(String indexNullAs) |
NumericFieldSettingsDescriptor.NumericEncodingType |
getEncodingType()
Define the numeric encoding to use for the brdige.
|
NumericFieldSettingsDescriptor.NumericEncodingType getEncodingType()
NumericFieldSettingsDescriptor.NumericEncodingType.UNKNOWN
if
this bridge does not use numeric encoding.NullMarker createNullMarker(String indexNullAs) throws IllegalArgumentException
indexNullAs
- The value of Field.indexNullAs()
.IllegalArgumentException
- If indexNullAs
cannot be encoded in the required format.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved