Class

com.twitter.summingbird.batch

CombinedBatcher

Related Doc: package batch

Permalink

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

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val afterBatchDelta: BatchID

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val batchAtBound: BatchID

    Permalink
  7. def batchOf(d: Timestamp): BatchID

    Permalink

    Returns the batch into which the supplied Date is bucketed.

    Returns the batch into which the supplied Date is bucketed.

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

    Permalink
    Definition Classes
    Batcher
  9. def clone(): AnyRef

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

    Permalink

    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
  11. def currentBatch: BatchID

    Permalink

    Returns the current BatchID.

    Returns the current BatchID.

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

    Permalink

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

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

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

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

    Permalink

    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
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink

    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
  22. def latestTimeOf(batch: BatchID): Timestamp

    Permalink

    Returns the latest time in the given batch

    Returns the latest time in the given batch

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

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

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

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

    Permalink
    Definition Classes
    Batcher
  28. def toString(): String

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

    Permalink
    Definition Classes
    Batcher
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Batcher

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped