Class

com.twitter.summingbird.scalding.service

BatchedDeltaService

Related Doc: package service

Permalink

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

Use this when you have written JUST BEFORE the store. This is what you get from an IntermediateWrite in Builder API.

Linear Supertypes
BatchedService[K, V], ExternalService[K, V], Service[K, V], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BatchedDeltaService
  2. BatchedService
  3. ExternalService
  4. Service
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchedDeltaService(store: BatchedStore[K, V], deltas: BatchedSink[(K, V)], reducers: Option[Int] = None)(implicit arg0: Semigroup[V])

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

    Permalink
    Definition Classes
    BatchedDeltaServiceBatchedService
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val deltas: BatchedSink[(K, V)]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. 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 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
    BatchedDeltaServiceBatchedService
  16. final def lookup[W](getKeys: PipeFactory[(K, W)]): PipeFactory[(K, (W, Option[V]))]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def ordering: Ordering[K]

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

    Permalink

    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
    BatchedDeltaServiceBatchedService
  22. def readStream(batchID: BatchID, mode: Mode): Option[Reader[FlowInput, TypedPipe[(Timestamp, (K, Some[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
    BatchedDeltaServiceBatchedService
  23. val reducers: Option[Int]

    Permalink
    Definition Classes
    BatchedDeltaServiceBatchedService
  24. val store: BatchedStore[K, V]

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

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

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

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

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

    Permalink
    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