Package io.deephaven.engine.table.impl
Class QueryCompilerRequestProcessor
java.lang.Object
io.deephaven.engine.table.impl.QueryCompilerRequestProcessor
- Direct Known Subclasses:
QueryCompilerRequestProcessor.BatchProcessor
,QueryCompilerRequestProcessor.ImmediateProcessor
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A QueryCompilerRequestProcessor that batches requests and compiles them all at once.static class
A QueryCompilerRequestProcessor that immediately compiles requests. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbatch()
final FormulaAnalyzer.Imports
abstract CompletionStageFuture<Class<?>>
submit
(@NotNull QueryCompilerRequest request) Submit a request for compilation.
-
Constructor Details
-
QueryCompilerRequestProcessor
public QueryCompilerRequestProcessor()
-
-
Method Details
-
immediate
- Returns:
- An immediate QueryCompilerRequestProcessor
-
batch
- Returns:
- A batch QueryCompilerRequestProcessor
-
newFormulaImportsSupplier
@VisibleForTesting public static CachingSupplier<FormulaAnalyzer.Imports> newFormulaImportsSupplier()- Returns:
- a CachingSupplier that supplies a snapshot of current query scope variables and query library imports
-
getFormulaImports
- Returns:
- a lazily cached snapshot of current query scope variables and query library imports
-
submit
public abstract CompletionStageFuture<Class<?>> submit(@NotNull @NotNull QueryCompilerRequest request) Submit a request for compilation. The QueryCompilerRequestProcessor is not required to immediately compile this request.- Parameters:
request
- the request to compile
-