Package org.geotools.data.hana.converter
Class BooleanConverterFactory
Object
BooleanConverterFactory
- All Implemented Interfaces:
ConverterFactory
Converter factory for converting Short objects to Boolean objects.
In HANA, ResultSet#getObject will return a Short object in case of boolean fields.
- Author:
- Stefan Uhrig, SAP SE
-
Field Summary
Fields inherited from interface ConverterFactory
SAFE_CONVERSION -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BooleanConverterFactory
public BooleanConverterFactory()
-
-
Method Details
-
createConverter
Description copied from interface:ConverterFactoryCreates aConverterinstance for converting one type of object to another.- Specified by:
createConverterin interfaceConverterFactory- Parameters:
source- The type to convert from.target- The type to convert to.hints- Hints used to be used while creating a converter.- Returns:
- The converter, or
nullif one could not be found.
-