File tree Expand file tree Collapse file tree
main/java/com/teragrep/pth_15
test/java/com/teragrep/pth_15 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848import org .apache .spark .sql .Dataset ;
4949import org .apache .spark .sql .Row ;
5050import org .apache .spark .sql .SparkSession ;
51- import org .apache .spark .sql .streaming .StreamingQuery ;
52- import org .apache .spark .sql .streaming .StreamingQueryListener ;
5351
5452import java .util .concurrent .TimeoutException ;
5553import java .util .function .BiConsumer ;
56- import java .util .function .Consumer ;
5754
5855public interface DPLExecutor {
5956
6057 public DPLExecutorResult interpret (
6158 BiConsumer <Dataset <Row >, Boolean > batchHandler ,
62- BiConsumer <StreamingQuery , StreamingQueryListener .QueryStartedEvent > queryStartedConsumer ,
63- BiConsumer <StreamingQuery , StreamingQueryListener .QueryProgressEvent > queryProgressConsumer ,
64- BiConsumer <StreamingQuery , StreamingQueryListener .QueryTerminatedEvent > queryTerminatedConsumer ,
65- Consumer <String > initialLogConsumer ,
6659 SparkSession sparkSession ,
60+ String queryId ,
6761 String noteId ,
6862 String paragraphId ,
6963 String lines
Original file line number Diff line number Diff line change 4949import org .apache .spark .sql .Dataset ;
5050import org .apache .spark .sql .Row ;
5151import org .apache .spark .sql .SparkSession ;
52- import org .apache .spark .sql .streaming .StreamingQuery ;
53- import org .apache .spark .sql .streaming .StreamingQueryListener ;
5452
5553import java .util .concurrent .TimeoutException ;
5654import java .util .function .BiConsumer ;
57- import java .util .function .Consumer ;
5855
5956public final class DPLExecutorTestImpl implements DPLExecutor {
6057
@@ -64,11 +61,8 @@ public DPLExecutorTestImpl(Config ignored) {
6461 @ Override
6562 public DPLExecutorResult interpret (
6663 BiConsumer <Dataset <Row >, Boolean > batchHandler ,
67- BiConsumer <StreamingQuery , StreamingQueryListener .QueryStartedEvent > queryStartedConsumer ,
68- BiConsumer <StreamingQuery , StreamingQueryListener .QueryProgressEvent > queryProgressConsumer ,
69- BiConsumer <StreamingQuery , StreamingQueryListener .QueryTerminatedEvent > queryTerminatedConsumer ,
70- Consumer <String > initialLogConsumer ,
7164 SparkSession sparkSession ,
65+ String queryId ,
7266 String noteId ,
7367 String paragraphId ,
7468 String lines
You can’t perform that action at this time.
0 commit comments