Package io.zeebe.test.util.record
Class RecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<RecordValue,RecordStream>
-
- io.zeebe.test.util.record.RecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<RecordValue>,Stream<Record<RecordValue>>>,Stream<Record<RecordValue>>
public class RecordStream extends ExporterRecordStream<RecordValue,RecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description RecordStream(Stream<Record<RecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordStreambetween(long lowerBoundPosition, long upperBoundPosition)RecordStreambetween(Record<?> lowerBound, Record<?> upperBound)RecordStreambetween(Predicate<Record<?>> lowerBound, Predicate<Record<?>> upperBound)RecordStreamlimitToWorkflowInstance(long workflowInstanceKey)protected RecordStreamsupply(Stream<Record<RecordValue>> wrappedStream)TimerRecordStreamtimerRecords()VariableDocumentRecordStreamvariableDocumentRecords()VariableRecordStreamvariableRecords()WorkflowInstanceRecordStreamworkflowInstanceRecords()-
Methods inherited from class io.zeebe.test.util.record.ExporterRecordStream
onlyCommandRejections, onlyCommands, onlyEvents, valueFilter, withIntent, withPartitionId, withPosition, withRecordKey, withRecordType, withRejectionReason, withRejectionType, withSourceRecordPosition, withTimestamp, withValueType
-
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, toArray, toArray, unordered
-
-
-
-
Constructor Detail
-
RecordStream
public RecordStream(Stream<Record<RecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected RecordStream supply(Stream<Record<RecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<RecordValue>,RecordStream>
-
between
public RecordStream between(long lowerBoundPosition, long upperBoundPosition)
-
between
public RecordStream between(Record<?> lowerBound, Record<?> upperBound)
-
between
public RecordStream between(Predicate<Record<?>> lowerBound, Predicate<Record<?>> upperBound)
-
limitToWorkflowInstance
public RecordStream limitToWorkflowInstance(long workflowInstanceKey)
-
workflowInstanceRecords
public WorkflowInstanceRecordStream workflowInstanceRecords()
-
timerRecords
public TimerRecordStream timerRecords()
-
variableDocumentRecords
public VariableDocumentRecordStream variableDocumentRecords()
-
variableRecords
public VariableRecordStream variableRecords()
-
-