Class ConvertIntervalToString

All Implemented Interfaces:
ValueWriter

public class ConvertIntervalToString extends DirectConverter
  • Constructor Details

    • ConvertIntervalToString

      public ConvertIntervalToString(ScalarWriter baseWriter)
  • Method Details

    • setPeriod

      public void setPeriod(org.joda.time.Period value)
      Specified by:
      setPeriod in interface ValueWriter
      Overrides:
      setPeriod in class DirectConverter
    • setValue

      public void setValue(Object value)
      Description copied from interface: ValueWriter
      Write value to a vector as a Java object of the "native" type for the column. This form is available only on scalar writers. The object must be of the form for the primary write method above.

      Primarily to be used when the code already knows the object type.

      Specified by:
      setValue in interface ValueWriter
      Overrides:
      setValue in class DirectConverter
      Parameters:
      value - a value that matches the primary setter above, or null to set the column to null
      See Also: