ch.zzeekk.spark.temporalquery

TemporalHelpers

object TemporalHelpers extends Serializable with Logging

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TemporalHelpers
  2. Logging
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addMillisecond(numMillis: Int)(tempus: Timestamp)(implicit hc: TemporalQueryConfig): Timestamp

    rounds down timestamp tempus to the nearest millisecond if tempus is not before hc.

    rounds down timestamp tempus to the nearest millisecond if tempus is not before hc.maxDate then return hc.maxDate

    returns

    rounded down timestamp

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def ceilTimestamp(tempus: Timestamp)(implicit hc: TemporalQueryConfig): Timestamp

    rounds up timestamp to next ChronoUnit but at most up to hc.

    rounds up timestamp to next ChronoUnit but at most up to hc.maxDate

    returns

    truncated timestamp

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def durationInMillis(minuend: Timestamp, subtrahend: Timestamp): Long

    returns the length of the time interval [subtrahend ; minuend] in milliseconds considering switch from winter to daylight saving time in March and Octobre

    returns the length of the time interval [subtrahend ; minuend] in milliseconds considering switch from winter to daylight saving time in March and Octobre

    returns

    number of milliseconds

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def floorTimestamp(tempus: Timestamp)(implicit hc: TemporalQueryConfig): Timestamp

    rounds down timestamp tempus to the nearest millisecond if tempus is not before hc.

    rounds down timestamp tempus to the nearest millisecond if tempus is not before hc.maxDate then return hc.maxDate

    returns

    rounded down timestamp

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getUdfCeilTimestamp(implicit hc: TemporalQueryConfig): UserDefinedFunction

  17. def getUdfFloorTimestamp(implicit hc: TemporalQueryConfig): UserDefinedFunction

  18. def getUdfMinusMillisecond(implicit hc: TemporalQueryConfig): UserDefinedFunction

  19. def getUdfPlusMillisecond(implicit hc: TemporalQueryConfig): UserDefinedFunction

  20. def getUdfPredecessorTime(implicit hc: TemporalQueryConfig): UserDefinedFunction

  21. def getUdfSuccessorTime(implicit hc: TemporalQueryConfig): UserDefinedFunction

  22. def getUdfTemporalComplement(implicit hc: TemporalQueryConfig): UserDefinedFunction

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  26. val millisPerDay: Long

  27. val millisPerHour: Long

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def predecessorTime(tempus: Timestamp)(implicit hc: TemporalQueryConfig): Timestamp

    returns the predecessor timestamp with respect to ChronoUnit

    returns the predecessor timestamp with respect to ChronoUnit

    returns

    truncated timestamp

  32. def successorTime(tempus: Timestamp)(implicit hc: TemporalQueryConfig): Timestamp

    returns the predecessor timestamp with respect to ChronoUnit

    returns the predecessor timestamp with respect to ChronoUnit

    returns

    truncated timestamp

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def temporalComplement(validFrom: Timestamp, validTo: Timestamp, subtrahends: Seq[Row])(implicit hc: TemporalQueryConfig): Seq[(Timestamp, Timestamp)]

    returns the complement of union of subtrahends relative to the interval [validFrom, validTo] Hereby we use A ∖ (⋃ B_i) = A ∖ B₀∖ B₁∖ B₂∖ .

    returns the complement of union of subtrahends relative to the interval [validFrom, validTo] Hereby we use A ∖ (⋃ B_i) = A ∖ B₀∖ B₁∖ B₂∖ ...

    returns

    [validFrom, validTo] ∖ (⋃ subtrahends)

  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. val udf_durationInMillis: UserDefinedFunction

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped