com.cloudera.sparkts

UniformDateTimeIndex

class UniformDateTimeIndex extends DateTimeIndex

An implementation of DateTimeIndex that contains date-times spaced at regular intervals. Allows for constant space storage and constant time operations.

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

Instance Constructors

  1. new UniformDateTimeIndex(start: ZonedDateTime, periods: Int, frequency: Frequency, dateTimeZone: ZoneId = java.time.ZoneId.systemDefault())

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def dateTimeAtLoc(loc: Int): ZonedDateTime

    The i-th date-time in the index.

    The i-th date-time in the index.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  9. val dateTimeZone: ZoneId

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

    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def first: ZonedDateTime

    The first date-time in the index.

    The first date-time in the index.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  14. val frequency: Frequency

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def islice(lower: Int, upper: Int): UniformDateTimeIndex

    Returns a sub-slice of the index, starting and ending at the given indices.

    Returns a sub-slice of the index, starting and ending at the given indices.

    Unlike the slice methods, islice is exclusive at the top of the range, as is the norm with typical array indexing, meaning that dtIndex.slice(dateTimeAtLoc(0), dateTimeAtLoc(5)) will return an index including one more element than dtIndex.islice(0, 5).

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  19. def islice(range: Range): UniformDateTimeIndex

    Returns a sub-slice of the index with the given range of indices.

    Returns a sub-slice of the index with the given range of indices.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  20. def last: ZonedDateTime

    The last date-time in the index.

    The last date-time in the index. Inclusive.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  21. def locAtDateTime(dt: Long): Int

    The location of the given date-time, as nanoseconds since the epoch.

    The location of the given date-time, as nanoseconds since the epoch. If the index contains the date-time more than once, returns its first appearance. If the given date-time does not appear in the index, returns -1.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  22. def locAtDateTime(dt: ZonedDateTime): Int

    The location of the given date-time.

    The location of the given date-time. If the index contains the date-time more than once, returns its first appearance. If the given date-time does not appear in the index, returns -1.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  23. def nanosIterator(): Iterator[Long]

    Returns an iterator over the contents of the DateTimeIndex as nanosecond values from the epoch.

    Returns an iterator over the contents of the DateTimeIndex as nanosecond values from the epoch.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. val periods: Int

  28. def size: Int

    The number of date-times in the index.

    The number of date-times in the index.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  29. def slice(start: Long, end: Long): UniformDateTimeIndex

    Returns a sub-slice of the index, starting and ending at the given date-times in millis since the epoch (inclusive).

    Returns a sub-slice of the index, starting and ending at the given date-times in millis since the epoch (inclusive).

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  30. def slice(start: ZonedDateTime, end: ZonedDateTime): UniformDateTimeIndex

    Returns a sub-slice of the index, starting and ending at the given date-times (inclusive).

    Returns a sub-slice of the index, starting and ending at the given date-times (inclusive).

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  31. def slice(interval: Interval): UniformDateTimeIndex

    Returns a sub-slice of the index, confined to the given interval (inclusive).

    Returns a sub-slice of the index, confined to the given interval (inclusive).

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  32. val start: ZonedDateTime

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

    Definition Classes
    AnyRef
  34. def toNanosArray(): Array[Long]

    Returns the contents of the DateTimeIndex as an array of nanosecond values from the epoch.

    Returns the contents of the DateTimeIndex as an array of nanosecond values from the epoch.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  35. def toString(): String

    Definition Classes
    UniformDateTimeIndex → AnyRef → Any
  36. def toZonedDateTimeArray(): Array[ZonedDateTime]

    Returns the contents of the DateTimeIndex as an array of ZonedDateTime

    Returns the contents of the DateTimeIndex as an array of ZonedDateTime

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  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( ... )
  40. def zone: ZoneId

    The time zone of date-times in the index.

    The time zone of date-times in the index.

    Definition Classes
    UniformDateTimeIndexDateTimeIndex
  41. def zonedDateTimeIterator(): Iterator[ZonedDateTime]

    Returns an iterator over the contents of the DateTimeIndex as ZonedDateTime

    Returns an iterator over the contents of the DateTimeIndex as ZonedDateTime

    Definition Classes
    UniformDateTimeIndexDateTimeIndex

Inherited from DateTimeIndex

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped