Class ParameterizedQueryBuilderImpl
java.lang.Object
io.deephaven.query.parameterized.impl.ParameterizedQueryBuilderImpl
- All Implemented Interfaces:
- ParameterizedQueryBuilder
The default implementation of a 
ParameterizedQueryBuilder.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Construct aParameterizedQueryfrom this builder's configurationrequireComputeLock(boolean requiresLock) Set whether invocations of the query will take theshared lockbefore executing the computation.Set the list of groups this widget is visible to.willDo(Consumer<ParameterScope> queryCode) Set the work to be done when all of the parameters are available.Add the specifiedParameterto the list of parameters for this query.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.query.parameterized.ParameterizedQueryBuilderwith
- 
Constructor Details- 
ParameterizedQueryBuilderImplpublic ParameterizedQueryBuilderImpl()
 
- 
- 
Method Details- 
buildDescription copied from interface:ParameterizedQueryBuilderConstruct aParameterizedQueryfrom this builder's configuration- Specified by:
- buildin interface- ParameterizedQueryBuilder
- Returns:
- a completed ParameterizedQuery
 
- 
withDescription copied from interface:ParameterizedQueryBuilderAdd the specifiedParameterto the list of parameters for this query.- Specified by:
- within interface- ParameterizedQueryBuilder
- Parameters:
- param- the parmeter
- Returns:
- this builder
 
- 
willDoDescription copied from interface:ParameterizedQueryBuilderSet the work to be done when all of the parameters are available.- Specified by:
- willDoin interface- ParameterizedQueryBuilder
- Parameters:
- queryCode- the code to execute
- Returns:
- this builder.
 
- 
requireComputeLockDescription copied from interface:ParameterizedQueryBuilderSet whether invocations of the query will take theshared lockbefore executing the computation. If this is set to falsefalse, the query writer is guaranteeing that the work inParameterizedQueryBuilder.willDo(Consumer)will not perform any operations that require theshared lock. If any operation does require the lock, then the query will produce undefined results.- Specified by:
- requireComputeLockin interface- ParameterizedQueryBuilder
- Parameters:
- requiresLock- if the operation requires the- LiveTableMonitor.sharedLock()
- Returns:
- this builder
 
- 
visibleToDescription copied from interface:ParameterizedQueryBuilderSet the list of groups this widget is visible to.- Specified by:
- visibleToin interface- ParameterizedQueryBuilder
- Parameters:
- viewerGroups- the groups allowed to see this widget
- Returns:
- this builder.
 
 
-