com.twitter.summingbird.scalding.service

SimpleWindowedService

trait SimpleWindowedService[K, V] extends BatchedWindowService[K, V]

More familiar interface to scalding users that creates the Reader from two other methods

Source
SimpleWindowService.scala
Linear Supertypes
BatchedWindowService[K, V], BatchedService[K, V], ExternalService[K, V], Service[K, V], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleWindowedService
  2. BatchedWindowService
  3. BatchedService
  4. ExternalService
  5. Service
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def batcher: Batcher

    Definition Classes
    BatchedService
  2. abstract def ordering: Ordering[K]

    Definition Classes
    BatchedService
  3. abstract def read(b: BatchID)(implicit f: FlowDef, m: Mode): TypedPipe[(Timestamp, (K, Option[V]))]

  4. abstract def reducers: Option[Int]

    Definition Classes
    BatchedService
  5. abstract def streamIsAvailable(b: BatchID, m: Mode): Boolean

  6. abstract def windowSize: Milliseconds

    A request must come in LESS than this window since the last key written to the service

    A request must come in LESS than this window since the last key written to the service

    Definition Classes
    BatchedWindowService

Concrete 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 batchedLookup[W](covers: Interval[Timestamp], getKeys: FlowToPipe[(K, W)], last: (BatchID, FlowProducer[TypedPipe[(K, V)]]), streams: Iterable[(BatchID, FlowToPipe[(K, Option[V])])]): FlowToPipe[(K, (W, Option[V]))]

    Attributes
    protected
    Definition Classes
    BatchedService
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  15. def lookup[W](incoming: TypedPipe[(Timestamp, (K, W))], servStream: TypedPipe[(Timestamp, (K, Option[V]))]): TypedPipe[(Timestamp, (K, (W, Option[V])))]

    This executes the join algortihm on the streams.

    This executes the join algortihm on the streams. You are guaranteed that all the service data needed to do the join is present

    Definition Classes
    BatchedWindowServiceBatchedService
  16. final def lookup[W](getKeys: PipeFactory[(K, W)]): PipeFactory[(K, (W, Option[V]))]

    Definition Classes
    BatchedServiceExternalService
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def readLast(exclusiveUB: BatchID, mode: Mode): Try[(BatchID, FlowProducer[TypedPipe[(K, V)]])]

    The batched window never reads an aggregated last.

    The batched window never reads an aggregated last. Instead we just output an empty pipe that is outside the window.

    Definition Classes
    BatchedWindowServiceBatchedService
  21. final def readStream(batchID: BatchID, mode: Mode): Option[FlowToPipe[(K, Option[V])]]

    Reads the key log for this batch.

    Reads the key log for this batch. By key log we mean a log of time, key and value when the key was written to. This is an associative operation and sufficient to scedule the service. This only has the keys that changed value during this batch.

    Definition Classes
    SimpleWindowedServiceBatchedService
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BatchedWindowService[K, V]

Inherited from BatchedService[K, V]

Inherited from ExternalService[K, V]

Inherited from Service[K, V]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped