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]) @IntrinsicCandidate() @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 get(doesTimeMatter: Boolean): Date
    Definition Classes
    DaysWritable → DateWritable
  10. def get(): Date
    Definition Classes
    DaysWritable → DateWritable
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def getDays(): Int
    Definition Classes
    DaysWritable → DateWritable
  13. def getTimeInSeconds(): Long
    Definition Classes
    DateWritable
  14. var gregorianDays: Int
  15. def hashCode(): Int
    Definition Classes
    DateWritable → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. var julianDays: Int
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def readFields(in: DataInput): Unit
    Definition Classes
    DaysWritable → DateWritable → Writable
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.IOException])
  22. def set(d: Int): Unit
    Definition Classes
    DaysWritable → DateWritable
  23. def set(arg0: DateWritable): Unit
    Definition Classes
    DateWritable
  24. def set(arg0: Date): Unit
    Definition Classes
    DateWritable
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    DateWritable → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. def write(out: DataOutput): Unit
    Definition Classes
    DaysWritable → DateWritable → Writable
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.IOException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from DateWritable

Inherited from WritableComparable[DateWritable]

Inherited from Comparable[DateWritable]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped