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 atZone(zone: ZoneId): HybridDateTimeIndex

    Returns a new DateTimeIndex with instants at the specified zone

    Returns a new DateTimeIndex with instants at the specified zone

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  8. def clone(): AnyRef

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

    The i-th date-time in the index.

    The i-th date-time in the index.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  10. val dateTimeZone: ZoneId

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

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

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

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

    The first date-time in the index.

    The first date-time in the index.

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

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

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

  18. def insertionLoc(dt: Long): Int

    The location at which the given date-time, as milliseconds since the epoch, could be inserted.

    The location at which the given date-time, as milliseconds since the epoch, could be inserted. It is the location of the first date-time that is greater than the given date-time. If the given date-time is greater than or equal to the last date-time in the index, the index size is returned.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  19. def insertionLoc(dt: ZonedDateTime): Int

    The location at which the given date-time could be inserted.

    The location at which the given date-time could be inserted. It is the location of the first date-time that is greater than the given date-time. If the given date-time is greater than or equal to the last date-time in the index, the index size is returned.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. 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
  22. 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
  23. def last: ZonedDateTime

    The last date-time in the index.

    The last date-time in the index. Inclusive.

    Definition Classes
    HybridDateTimeIndexDateTimeIndex
  24. 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
  25. 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
  26. 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
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. def size: Int

    The number of date-times in the index.

    The number of date-times in the index.

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

    Definition Classes
    AnyRef
  35. 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
  36. def toString(): String

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

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

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

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

    The time zone of date-times in the index.

    The time zone of date-times in the index.

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