com.twitter.summingbird.scalding.service

BatchedDeltaService

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchedDeltaService(store: BatchedStore[K, V], deltas: BatchedSink[(K, V)], reducers: Option[Int] = scala.None)(implicit arg0: Semigroup[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. def batcher: Batcher

    Definition Classes
    BatchedDeltaServiceBatchedService
  9. def clone(): AnyRef

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

  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  22. def ordering: Ordering[K]

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

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

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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