com.twitter.summingbird.batch

CombinedBatcher

class CombinedBatcher extends Batcher

strictly before the beforeBound, we use the before Batcher. At the beforeBound, the batch increments abe switches to using the after batcher. The BatchID WON'T be the same as what after would produce, as we will subtract batchOf(beforeBound) from the BatchID so that the BatchIDs are contiguous. The BatchID of beforeBound is before.batchOf(beforeBound - 1ms) + 1

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

Instance Constructors

  1. new CombinedBatcher(before: Batcher, beforeBound: ExclusiveUpper[Timestamp], after: Batcher)

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. val afterBatchDelta: BatchID

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val batchAtBound: BatchID

  9. def batchOf(d: Timestamp): BatchID

    Returns the batch into which the supplied Date is bucketed.

    Returns the batch into which the supplied Date is bucketed.

    Definition Classes
    CombinedBatcherBatcher
  10. def batchesCoveredBy(interval: Interval[Timestamp]): Interval[BatchID]

    Definition Classes
    Batcher
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def cover(interval: Interval[Timestamp]): Interval[BatchID]

    What batches are needed to cover the given interval or: for all t in interval, batchOf(t) is in the result

    What batches are needed to cover the given interval or: for all t in interval, batchOf(t) is in the result

    Definition Classes
    Batcher
  13. def currentBatch: BatchID

    Returns the current BatchID.

    Returns the current BatchID.

    Definition Classes
    Batcher
  14. def earliestTimeOf(b: BatchID): Timestamp

    Returns the (inclusive) earliest time of the supplied batch.

    Returns the (inclusive) earliest time of the supplied batch.

    Definition Classes
    CombinedBatcherBatcher
  15. def enclosedBy(extremities: (BatchID, BatchID), other: Batcher): Iterable[BatchID]

    Definition Classes
    Batcher
  16. def enclosedBy(batchID: BatchID, other: Batcher): Iterable[BatchID]

    Returns the sequence of BatchIDs that the supplied other batcher would need to fetch to fully enclose the supplied batchID.

    Returns the sequence of BatchIDs that the supplied other batcher would need to fetch to fully enclose the supplied batchID.

    Definition Classes
    Batcher
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  23. def isLowerBatchEdge(ts: Timestamp): Boolean

    Returns true if the supplied timestamp sits at the floor of the supplied batch.

    Returns true if the supplied timestamp sits at the floor of the supplied batch.

    Definition Classes
    Batcher
  24. def latestTimeOf(batch: BatchID): Timestamp

    Returns the latest time in the given batch

    Returns the latest time in the given batch

    Definition Classes
    Batcher
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toInterval(b: BatchID): Interval[Timestamp]

    Definition Classes
    Batcher
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def toTimestamp(b: Interval[BatchID]): Interval[Timestamp]

    Definition Classes
    Batcher
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Batcher

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped