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 Details

    • inputs

      protected Map<String,List<?>> inputs
    • outputs

      protected List<String> outputs
    • staleness

      protected Map<String,Duration> staleness
    • meta

      protected Map<String,String> meta
    • tags

      protected List<String> tags
    • includeMeta

      protected boolean includeMeta
    • storePlanStages

      protected boolean storePlanStages
    • explain

      protected boolean explain
    • environmentId

      protected String environmentId
    • previewDeploymentId

      protected String previewDeploymentId
    • queryName

      protected String queryName
    • queryNameVersion

      protected String queryNameVersion
    • correlationId

      protected String correlationId
    • branch

      protected String branch
    • now

      protected List<ZonedDateTime> now
    • requiredResolverTags

      protected List<String> requiredResolverTags
    • plannerOptions

      protected Map<String,Object> plannerOptions
    • timeout

      protected Duration timeout
    • inputSchemaHint

      protected Map<String,String> inputSchemaHint
  • Constructor Details

  • Method Details

    • _withInput

      protected T _withInput(String fqn, List<?> values)
    • _withInput

      public <K> T _withInput(Feature<K> feature, K... value)
    • _withInput

      public <K> T _withInput(Feature<K> feature, List<K> value)
    • _withInputs

      protected T _withInputs(Map<String,List<?>> inputs)
    • _withInput

      protected T _withInput(OnlineQueryParams.SingleRowInput singleRowInput)
    • _withOutputs

      protected T _withOutputs(String... outputs)
    • _withOutputs

      protected T _withOutputs(List<String> outputs)
    • _withOutputs

      public T _withOutputs(Feature<?>... outputs)
    • _withOutputs

      public T _withOutputs(FeaturesBase... outputs)
    • withStaleness

      public T withStaleness(Map<String,Duration> staleness)
    • withMeta

      public T withMeta(Map<String,String> meta)
    • withTags

      public T withTags(List<String> tags)
    • withTags

      public T withTags(String... tags)
    • withTag

      public T withTag(String tag)
    • withRequiredResolverTags

      public T withRequiredResolverTags(List<String> requiredResolverTags)
    • withRequiredResolverTags

      public T withRequiredResolverTags(String... requiredResolverTags)
    • withRequiredResolverTag

      public T withRequiredResolverTag(String requiredResolverTag)
    • withPlannerOptions

      public T withPlannerOptions(Map<String,Object> plannerOptions)
    • withPlannerOption

      public T withPlannerOption(String key, Object value)
    • withTimeout

      public T withTimeout(Duration timeout)
    • withInputSchemaHint

      public T withInputSchemaHint(Map<String,String> inputSchemaHint)
    • withInputSchemaHint

      public T withInputSchemaHint(String fqn, String bracketedProjection)
    • withNow

      public T withNow(List<ZonedDateTime> now)
    • withIncludeMeta

      public T withIncludeMeta(boolean includeMeta)
    • withStorePlanStages

      public T withStorePlanStages(boolean storePlanStages)
    • withExplain

      public T withExplain(boolean explain)
    • withEnvironmentId

      public T withEnvironmentId(String environmentId)
    • withPreviewDeploymentId

      public T withPreviewDeploymentId(String previewDeploymentId)
    • _withQueryName

      public T _withQueryName(String queryName)
    • withQueryNameVersion

      public T withQueryNameVersion(String queryNameVersion)
    • withCorrelationId

      public T withCorrelationId(String correlationId)
    • withBranch

      public T withBranch(String branch)
    • build

      public OnlineQueryParams build()