Class StandardConversions


public class StandardConversions extends Object
Factory for standard conversions as outlined in the package header. Use the builder to add schema-wide properties from a provided schema, from context-specific properties or both.

The class provides two kinds of information:

  • A description of the conversion: whether the conversion is supported, whether it is lossy, and the class that can do the conversion.
  • As a concrete conversion factory which provides the conversion class if needed, the original column writer if no conversion is needed, or null if the conversion is not supported.

This class is not suitable if a reader requires a source-specific column converter or conversion rules. In that case, create a source-specific conversion factory.