Class IntervalDayToSecond

  • All Implemented Interfaces:
    DataType

    public class IntervalDayToSecond
    extends Object
    implements DataType
    This class implements the Exasol-proprietary data type interval day to second.
    • Constructor Detail

      • IntervalDayToSecond

        public IntervalDayToSecond​(int yearPrecision,
                                   int millisecondPrecision)
        Create a new instance of an IntervalDayToSecond data type
        Parameters:
        yearPrecision - year precision value
        millisecondPrecision - millisecond precision value
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface DataType
        Returns:
        SQL representation of data type name
      • getYearPrecision

        public int getYearPrecision()
        Returns:
        year precision
      • getMillisecondPrecision

        public int getMillisecondPrecision()
        Returns:
        millisecond precision