Package ai.chalk.models
Class OnlineQueryParams.Builder<T extends OnlineQueryParams.Builder<T>>
java.lang.Object
ai.chalk.models.OnlineQueryParams.Builder<T>
- Direct Known Subclasses:
OnlineQueryParams.BuilderComplete,OnlineQueryParams.BuilderSeed,OnlineQueryParams.BuilderWithInputs,OnlineQueryParams.BuilderWithOutputs
- Enclosing class:
- OnlineQueryParams
public static class OnlineQueryParams.Builder<T extends OnlineQueryParams.Builder<T>>
extends Object
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Builder(Map<String, List<?>> inputs, List<String> outputs, Map<String, Duration> staleness, Map<String, String> meta, List<String> tags, boolean includeMeta, boolean storePlanStages, boolean explain, String environmentId, String previewDeploymentId, String queryName, String queryNameVersion, String correlationId, String branch, List<ZonedDateTime> now, List<String> requiredResolverTags, Map<String, Object> plannerOptions, Duration timeout, Map<String, String> inputSchemaHint) -
Method Summary
Modifier and TypeMethodDescription<K> T_withInput(Feature<K> feature, List<K> value) <K> T_withInput(Feature<K> feature, K... value) protected T_withInput(OnlineQueryParams.SingleRowInput singleRowInput) protected T_withInput(String fqn, List<?> values) protected T_withInputs(Map<String, List<?>> inputs) _withOutputs(Feature<?>... outputs) _withOutputs(FeaturesBase... outputs) protected T_withOutputs(String... outputs) protected T_withOutputs(List<String> outputs) _withQueryName(String queryName) build()withBranch(String branch) withCorrelationId(String correlationId) withEnvironmentId(String environmentId) withExplain(boolean explain) withIncludeMeta(boolean includeMeta) withInputSchemaHint(String fqn, String bracketedProjection) withInputSchemaHint(Map<String, String> inputSchemaHint) withNow(List<ZonedDateTime> now) withPlannerOption(String key, Object value) withPlannerOptions(Map<String, Object> plannerOptions) withPreviewDeploymentId(String previewDeploymentId) withQueryNameVersion(String queryNameVersion) withRequiredResolverTag(String requiredResolverTag) withRequiredResolverTags(String... requiredResolverTags) withRequiredResolverTags(List<String> requiredResolverTags) withStaleness(Map<String, Duration> staleness) withStorePlanStages(boolean storePlanStages) withTimeout(Duration timeout)
-
Field Details
-
inputs
-
outputs
-
staleness
-
meta
-
tags
-
includeMeta
protected boolean includeMeta -
storePlanStages
protected boolean storePlanStages -
explain
protected boolean explain -
environmentId
-
previewDeploymentId
-
queryName
-
queryNameVersion
-
correlationId
-
branch
-
now
-
requiredResolverTags
-
plannerOptions
-
timeout
-
inputSchemaHint
-
-
Constructor Details
-
Builder
public Builder(Map<String, List<?>> inputs, List<String> outputs, Map<String, Duration> staleness, Map<String, String> meta, List<String> tags, boolean includeMeta, boolean storePlanStages, boolean explain, String environmentId, String previewDeploymentId, String queryName, String queryNameVersion, String correlationId, String branch, List<ZonedDateTime> now, List<String> requiredResolverTags, Map<String, Object> plannerOptions, Duration timeout, Map<String, String> inputSchemaHint) -
Builder
public Builder()
-
-
Method Details
-
_withInput
-
_withInput
-
_withInput
-
_withInputs
-
_withInput
-
_withOutputs
-
_withOutputs
-
_withOutputs
-
_withOutputs
-
withStaleness
-
withMeta
-
withTags
-
withTags
-
withTag
-
withRequiredResolverTags
-
withRequiredResolverTags
-
withRequiredResolverTag
-
withPlannerOptions
-
withPlannerOption
-
withTimeout
-
withInputSchemaHint
-
withInputSchemaHint
-
withNow
-
withIncludeMeta
-
withStorePlanStages
-
withExplain
-
withEnvironmentId
-
withPreviewDeploymentId
-
_withQueryName
-
withQueryNameVersion
-
withCorrelationId
-
withBranch
-
build
-