Package io.zeebe.test.util.record
Class ExporterRecordStream<T extends RecordValue,S extends ExporterRecordStream<T,S>>
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<T,S>
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<T>,Stream<Record<T>>>,Stream<Record<T>>
- Direct Known Subclasses:
DeploymentRecordStream,ExporterRecordWithVariablesStream,IncidentRecordStream,JobBatchRecordStream,MessageStartEventSubscriptionRecordStream,MessageSubscriptionRecordStream,RecordStream,TimerRecordStream,VariableDocumentRecordStream,VariableRecordStream,WorkflowInstanceCreationRecordStream,WorkflowInstanceRecordStream
public abstract class ExporterRecordStream<T extends RecordValue,S extends ExporterRecordStream<T,S>> extends StreamWrapper<Record<T>,S>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ExporterRecordStream(Stream<Record<T>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SonlyCommandRejections()SonlyCommands()SonlyEvents()SvalueFilter(Predicate<T> predicate)SwithIntent(Intent intent)SwithPartitionId(int partitionId)SwithPosition(long position)SwithRecordKey(long key)SwithRecordType(RecordType recordType)SwithRejectionReason(String rejectionReason)SwithRejectionType(RejectionType rejectionType)SwithSourceRecordPosition(long sourceRecordPosition)SwithTimestamp(long timestamp)SwithValueType(ValueType valueType)-
Methods inherited from class io.zeebe.test.util.stream.StreamWrapper
allMatch, anyMatch, asList, await, close, collect, collect, count, distinct, exists, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, getFirst, getLast, isParallel, iterator, limit, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, reduce, sequential, skip, skipUntil, sorted, sorted, spliterator, supply, toArray, toArray, unordered
-
-
-
-
Method Detail
-
onlyCommands
public S onlyCommands()
-
onlyCommandRejections
public S onlyCommandRejections()
-
onlyEvents
public S onlyEvents()
-
withPosition
public S withPosition(long position)
-
withSourceRecordPosition
public S withSourceRecordPosition(long sourceRecordPosition)
-
withRecordKey
public S withRecordKey(long key)
-
withTimestamp
public S withTimestamp(long timestamp)
-
withPartitionId
public S withPartitionId(int partitionId)
-
withRecordType
public S withRecordType(RecordType recordType)
-
withRejectionType
public S withRejectionType(RejectionType rejectionType)
-
-