com
.
twitter
.
summingbird
.
scalding
TestService
class
TestService
[
K
,
V
]
extends
BatchedService
[
K
,
V
]
Linear Supertypes
BatchedService
[
K
,
V
],
ExternalService
[
K
,
V
],
Service
[
K
,
V
],
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
TestService
BatchedService
ExternalService
Service
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
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
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
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
val
batcher
:
Batcher
Definition Classes
TestService
→ BatchedService
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
lastMappable
(
b:
BatchID
)
:
Mappable
[(
Timestamp
, (
K
,
V
))]
lazy val
lasts
:
Map
[
BatchID
,
Iterable
[(
Timestamp
, (
K
,
V
))]]
The lasts are computed from the streams
final
def
lookup
[
W
]
(
getKeys:
PipeFactory
[(
K
,
W
)]
)
:
PipeFactory
[(
K
, (
W
,
Option
[
V
]))]
Definition Classes
BatchedService → ExternalService
def
lookup
[
W
]
(
incoming:
TypedPipe
[(
Timestamp
, (
K
,
W
))]
,
servStream:
TypedPipe
[(
Timestamp
, (
K
,
Option
[
V
]))]
)
:
TypedPipe
[(
Timestamp
, (
K
, (
W
,
Option
[
V
])))]
Definition Classes
BatchedService
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
ordering
:
Ordering
[
K
]
Definition Classes
TestService
→ BatchedService
def
readLast
(
exclusiveUB:
BatchID
,
mode:
Mode
)
:
Try
[(
BatchID
,
FlowProducer
[
TypedPipe
[(
K
,
V
)]])]
Definition Classes
TestService
→ BatchedService
def
readStream
(
batchID:
BatchID
,
mode:
Mode
)
:
Option
[
FlowToPipe
[(
K
,
Option
[
V
])]]
Definition Classes
TestService
→ BatchedService
val
reducers
:
None
.type
Definition Classes
TestService
→ BatchedService
val
sourceToBuffer
:
Map
[
scalding.Source
,
Buffer
[
Tuple
]]
def
streamMappable
(
b:
BatchID
)
:
Mappable
[(
Timestamp
, (
K
,
Option
[
V
]))]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toBuffer
[
T
]
(
it:
Iterable
[
T
]
)
(
implicit
ts:
TupleSetter
[
T
]
)
:
Buffer
[
Tuple
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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