Class JsonIndexConfig.BuilderBase<BUILDER extends JsonIndexConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends JsonIndexConfig>

java.lang.Object
io.helidon.integrations.langchain4j.providers.oracle.JsonIndexConfig.BuilderBase<BUILDER,PROTOTYPE>
Type Parameters:
BUILDER - type of the builder extending this abstract builder
PROTOTYPE - type of the prototype interface that would be built by Prototype.Builder.buildPrototype()
All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>, ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>, ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Direct Known Subclasses:
JsonIndexConfig.Builder
Enclosing interface:
JsonIndexConfig

public abstract static class JsonIndexConfig.BuilderBase<BUILDER extends JsonIndexConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends JsonIndexConfig> extends Object implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Fluent API builder base for JsonIndexConfig.
  • Constructor Details

    • BuilderBase

      protected BuilderBase()
      Protected to support extensibility.
  • Method Details

    • from

      public BUILDER from(JsonIndexConfig prototype)
      Update this builder from an existing prototype instance. This method disables automatic service discovery.
      Parameters:
      prototype - existing prototype to update this builder from
      Returns:
      updated builder instance
    • from

      public BUILDER from(JsonIndexConfig.BuilderBase<?,?> builder)
      Update this builder from an existing prototype builder instance.
      Parameters:
      builder - existing builder prototype to update this builder from
      Returns:
      updated builder instance
    • config

      @Deprecated public BUILDER config(Config config)
      Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.
      Specified by:
      config in interface ConfigBuilderSupport.ConfiguredBuilder<BUILDER extends JsonIndexConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends JsonIndexConfig>
      Parameters:
      config - configuration instance used to obtain values to update this builder
      Returns:
      updated builder instance
    • config

      public BUILDER config(Config config)
      Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.
      Specified by:
      config in interface ConfigBuilderSupport.ConfiguredBuilder<BUILDER extends JsonIndexConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends JsonIndexConfig>
      Parameters:
      config - configuration instance used to obtain values to update this builder
      Returns:
      updated builder instance
    • clearIsUnique

      public BUILDER clearIsUnique()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • isUnique

      public BUILDER isUnique(boolean isUnique)
      Generated from JSONIndexBuilder.isUnique(boolean)
      Parameters:
      isUnique - boolean property
      Returns:
      updated builder instance
      See Also:
    • clearName

      public BUILDER clearName()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • name

      public BUILDER name(String name)
      Generated from IndexBuilder.name(java.lang.String)
      Parameters:
      name - String property
      Returns:
      updated builder instance
      See Also:
    • clearIsBitmap

      public BUILDER clearIsBitmap()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • isBitmap

      public BUILDER isBitmap(boolean isBitmap)
      Generated from JSONIndexBuilder.isBitmap(boolean)
      Parameters:
      isBitmap - boolean property
      Returns:
      updated builder instance
      See Also:
    • clearCreateOption

      public BUILDER clearCreateOption()
      Clear existing value of this property.
      Returns:
      updated builder instance
      See Also:
    • createOption

      public BUILDER createOption(dev.langchain4j.store.embedding.oracle.CreateOption createOption)
      Generated from IndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)
      Parameters:
      createOption - CreateOption property
      Returns:
      updated builder instance
      See Also:
    • isUnique

      public Optional<Boolean> isUnique()
      Generated from JSONIndexBuilder.isUnique(boolean)
      Returns:
      the is unique
    • name

      public Optional<String> name()
      Generated from IndexBuilder.name(java.lang.String)
      Returns:
      the name
    • isBitmap

      public Optional<Boolean> isBitmap()
      Generated from JSONIndexBuilder.isBitmap(boolean)
      Returns:
      the is bitmap
    • createOption

      public Optional<dev.langchain4j.store.embedding.oracle.CreateOption> createOption()
      Generated from IndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)
      Returns:
      the create option
    • config

      public Optional<Config> config()
      If this instance was configured, this would be the config instance used.
      Returns:
      config node used to configure this builder, or empty if not configured
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • preBuildPrototype

      protected void preBuildPrototype()
      Handles providers and decorators.
    • validatePrototype

      protected void validatePrototype()
      Validates required properties.