com.twitter.summingbird.scalding

TestService

class TestService[K, V] extends BatchedService[K, V]

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

Instance Constructors

  1. new TestService(service: String, inBatcher: Batcher, minBatch: BatchID, streams: Map[BatchID, Iterable[(Timestamp, (K, Option[V]))]])(implicit ord: Ordering[K], tset: TupleSetter[(Timestamp, (K, Option[V]))], tset2: TupleSetter[(Timestamp, (K, V))], tconv: TupleConverter[(Timestamp, (K, Option[V]))], tconv2: TupleConverter[(Timestamp, (K, V))])

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. val batcher: Batcher

    Definition Classes
    TestServiceBatchedService
  9. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  16. def lastMappable(b: BatchID): Mappable[(Timestamp, (K, V))]

  17. lazy val lasts: Map[BatchID, Iterable[(Timestamp, (K, V))]]

    The lasts are computed from the streams

  18. final def lookup[W](getKeys: PipeFactory[(K, W)]): PipeFactory[(K, (W, Option[V]))]

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

    This executes the join algorithm on the streams.

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

    Definition Classes
    BatchedService
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. val ordering: Ordering[K]

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

    Get the most recent last batch and the ID (strictly less than the input ID) The "Last" is the stream with only the newest value for each key.

    Get the most recent last batch and the ID (strictly less than the input ID) The "Last" is the stream with only the newest value for each key.

    Definition Classes
    TestServiceBatchedService
  25. 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
    TestServiceBatchedService
  26. val reducers: None.type

    Definition Classes
    TestServiceBatchedService
  27. val sourceToBuffer: Map[scalding.Source, Buffer[Tuple]]

  28. def streamMappable(b: BatchID): Mappable[(Timestamp, (K, Option[V]))]

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toBuffer[T](it: Iterable[T])(implicit ts: TupleSetter[T]): Buffer[Tuple]

  31. def toString(): String

    Definition Classes
    AnyRef → Any
  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 BatchedService[K, V]

Inherited from ExternalService[K, V]

Inherited from Service[K, V]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped