Package com.streambase.sb.unittest
Interface Enqueuer
public interface Enqueuer
An Enqueuer is used for enqueueing tuples onto a stream.
- Since:
- 6.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Enqueue Tuple to the streamvoid
Enqueue multiple tuples to the stream<T> void
enqueue
(TupleMaker<T> tupleMaker, List<T> t) Create multiple tuples using aTupleMaker
and then enqueue them.<T> void
enqueue
(TupleMaker<T> tupleMaker, T t) Create a tuple using aTupleMaker
and then enqueue it.<T> void
enqueue
(TupleMaker<T> tupleMaker, T... t) Create multiple tuples using aTupleMaker
and then enqueue them.void
Enqueue multiple tuples to the streamGet theStreamProperties
for the associated stream.
-
Method Details
-
getStreamProperties
StreamProperties getStreamProperties()Get theStreamProperties
for the associated stream.- Returns:
- stream properties
-
getSchema
Schema getSchema()- Returns:
- stream schema
-
enqueue
Enqueue Tuple to the stream- Parameters:
tuple
- tuple to enqueue- Throws:
StreamBaseException
- enqueue error
-
enqueue
Enqueue multiple tuples to the stream- Parameters:
tuples
- tuples to enqueue- Throws:
StreamBaseException
- enqueue error
-
enqueue
Enqueue multiple tuples to the stream- Parameters:
tuples
- tuples to enqueue- Throws:
StreamBaseException
- enqueue error
-
enqueue
Create a tuple using aTupleMaker
and then enqueue it.- Type Parameters:
T
- tuple type- Parameters:
tupleMaker
- tuple makert
- tuple data- Throws:
StreamBaseException
- enqueue error
-
enqueue
Create multiple tuples using aTupleMaker
and then enqueue them.- Type Parameters:
T
- tuple type- Parameters:
tupleMaker
- tuple makert
- tuple data- Throws:
StreamBaseException
- enqueue error
-
enqueue
Create multiple tuples using aTupleMaker
and then enqueue them.- Type Parameters:
T
- tuple type- Parameters:
tupleMaker
- tuple makert
- list of tuple data- Throws:
StreamBaseException
- enqueue error
-