Packages

class DaysWritable extends DateWritable

The class accepts/returns days in Gregorian calendar and rebase them via conversion to local date in Julian calendar for dates before 1582-10-15 in read/write for backward compatibility with Spark 2.4 and earlier versions.

Linear Supertypes
DateWritable, WritableComparable[DateWritable], Comparable[DateWritable], Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DaysWritable
  2. DateWritable
  3. WritableComparable
  4. Comparable
  5. Writable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DaysWritable(dateWritable: DateWritable)
  2. new DaysWritable(gregorianDays: Int)
  3. new DaysWritable()
  4. new DaysWritable(gregorianDays: Int, julianDays: Int)

    gregorianDays

    The number of days since the epoch 1970-01-01 in Gregorian calendar.

    julianDays

    The number of days since the epoch 1970-01-01 in Julian calendar.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def compareTo(arg0: DateWritable): Int
    Definition Classes
    DateWritable → Comparable
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    DateWritable → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def get(doesTimeMatter: Boolean): Date
    Definition Classes
    DaysWritable → DateWritable
  11. def get(): Date
    Definition Classes
    DaysWritable → DateWritable
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getDays(): Int
    Definition Classes
    DaysWritable → DateWritable
  14. def getTimeInSeconds(): Long
    Definition Classes
    DateWritable
  15. var gregorianDays: Int
  16. def hashCode(): Int
    Definition Classes
    DateWritable → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. var julianDays: Int
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def readFields(in: DataInput): Unit
    Definition Classes
    DaysWritable → DateWritable → Writable
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.IOException])
  23. def set(d: Int): Unit
    Definition Classes
    DaysWritable → DateWritable
  24. def set(arg0: DateWritable): Unit
    Definition Classes
    DateWritable
  25. def set(arg0: Date): Unit
    Definition Classes
    DateWritable
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    DateWritable → AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. def write(out: DataOutput): Unit
    Definition Classes
    DaysWritable → DateWritable → Writable
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.IOException])

Inherited from DateWritable

Inherited from WritableComparable[DateWritable]

Inherited from Comparable[DateWritable]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped