Package io.zeebe.test.util.record
Class VariableRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<VariableRecordValue,VariableRecordStream>
-
- io.zeebe.test.util.record.VariableRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<VariableRecordValue>,Stream<Record<VariableRecordValue>>>,Stream<Record<VariableRecordValue>>
public class VariableRecordStream extends ExporterRecordStream<VariableRecordValue,VariableRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description VariableRecordStream(Stream<Record<VariableRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VariableRecordStreamsupply(Stream<Record<VariableRecordValue>> wrappedStream)VariableRecordStreamwithName(String name)VariableRecordStreamwithScopeKey(long scopeKey)VariableRecordStreamwithValue(String value)VariableRecordStreamwithWorkflowInstanceKey(long workflowInstanceKey)-
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
-
VariableRecordStream
public VariableRecordStream(Stream<Record<VariableRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected VariableRecordStream supply(Stream<Record<VariableRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<VariableRecordValue>,VariableRecordStream>
-
withName
public VariableRecordStream withName(String name)
-
withScopeKey
public VariableRecordStream withScopeKey(long scopeKey)
-
withValue
public VariableRecordStream withValue(String value)
-
withWorkflowInstanceKey
public VariableRecordStream withWorkflowInstanceKey(long workflowInstanceKey)
-
-