com.cloudera.sparkts

HybridDateTimeIndex

class HybridDateTimeIndex extends DateTimeIndex

An implementation of DateTimeIndex that holds a hybrid collection of DateTimeIndex implementations.

Indices are assumed to be sorted and disjoint such that for any two consecutive indices i and j: i.last < j.first

Linear Supertypes
DateTimeIndex, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HybridDateTimeIndex
  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 HybridDateTimeIndex(indices: Array[DateTimeIndex], 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
    HybridDateTimeIndexDateTimeIndex
  9. val dateTimeZone: ZoneId

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

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

    Definition Classes
    HybridDateTimeIndex → 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
    HybridDateTimeIndexDateTimeIndex
  14. final def getClass(): Class[_]

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

    Definition Classes
    HybridDateTimeIndex → AnyRef → Any
  16. val indices: Array[DateTimeIndex]

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def islice(start: Int, end: Int): HybridDateTimeIndex

    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
    HybridDateTimeIndexDateTimeIndex
  19. def islice(range: Range): HybridDateTimeIndex

    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
    HybridDateTimeIndexDateTimeIndex
  20. def last: ZonedDateTime

    The last date-time in the index.

    The last date-time in the index. Inclusive.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  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
    HybridDateTimeIndexDateTimeIndex
  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
    HybridDateTimeIndexDateTimeIndex
  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
    HybridDateTimeIndexDateTimeIndex
  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. def size: Int

    The number of date-times in the index.

    The number of date-times in the index.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  28. def slice(start: Long, end: Long): HybridDateTimeIndex

    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
    HybridDateTimeIndexDateTimeIndex
  29. def slice(start: ZonedDateTime, end: ZonedDateTime): HybridDateTimeIndex

    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
    HybridDateTimeIndexDateTimeIndex
  30. def slice(interval: Interval): HybridDateTimeIndex

    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
    HybridDateTimeIndexDateTimeIndex
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. 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
    HybridDateTimeIndexDateTimeIndex
  33. def toString(): String

    Definition Classes
    HybridDateTimeIndex → AnyRef → Any
  34. 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
    HybridDateTimeIndexDateTimeIndex
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def zone: ZoneId

    The time zone of date-times in the index.

    The time zone of date-times in the index.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  39. 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
    HybridDateTimeIndexDateTimeIndex

Inherited from DateTimeIndex

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped