Queries the given stream state with the values in this stream as the keys. @param streamState the stream state @param the value type @return the result stream
(StreamState<T, V> streamState)
| 364 | * @return the result stream |
| 365 | */ |
| 366 | public <V> PairStream<T, V> stateQuery(StreamState<T, V> streamState) { |
| 367 | // need field grouping for state query so that the query is routed to the correct task |
| 368 | Node newNode = partitionBy(VALUE, node.getParallelism()).addProcessorNode(new StateQueryProcessor<>(streamState), KEY_VALUE); |
| 369 | return new PairStream<>(streamBuilder, newNode); |
| 370 | } |
| 371 | |
| 372 | Node getNode() { |
| 373 | return node; |
nothing calls this directly
no test coverage detected