Trait

com.twitter.summingbird.scalding.service

SimpleWindowedService

Related Doc: package service

Permalink

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

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

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

Abstract Value Members

  1. abstract def batcher: Batcher

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

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

    Permalink
  4. abstract def reducers: Option[Int]

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

    Permalink
  6. abstract def windowSize: Milliseconds

    Permalink

    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: 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. 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]))]

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

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

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

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

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

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

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

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

    Permalink

    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
  14. final def lookup[W](getKeys: PipeFactory[(K, W)]): PipeFactory[(K, (W, Option[V]))]

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

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

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

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

    Permalink

    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
  19. final def readStream(batchID: BatchID, mode: Mode): Option[FlowToPipe[(K, Option[V])]]

    Permalink

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Permalink
    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