Interface DataTransform

All Known Subinterfaces:
DoubleArrayTransform, DoubleTransform
All Known Implementing Classes:
DoubleArrayTransformAdaptor, DoubleTransformAdaptor

public interface DataTransform
Provides a mapping from a primitive transform to a ValueTransform. While ValueTransform provides the recognized means for transforming between raw and physical values it requires a transformation of ArrayValue which is a general wrapper for value types including primitives and arrays of primitives. Often this is inconvenient to code. It is often much more convenient to code with a particular primitive value type (e.g. double) and hence implement a more specific transform (e.g. DoubleTransform). DataTransform facilitates the conversion from the specific transform to the more general ValueTransform. DataTransform is referenced only in its subclasses.
Author:
tap
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DataTransform
    No Operation Transform suitable as a default transform
  • Method Summary

    Modifier and Type
    Method
    Description
    Construct and return a general ValueTransform from the DataTransform.
  • Field Details

    • NO_OPERATION_TRANSFORM

      static final DataTransform NO_OPERATION_TRANSFORM
      No Operation Transform suitable as a default transform
  • Method Details

    • valueTransform

      ValueTransform valueTransform()
      Construct and return a general ValueTransform from the DataTransform.
      Returns:
      An equivalent value transform for converting ArrayValue stores.