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

java.lang.Object
io.helidon.integrations.langchain4j.providers.oracle.OracleEmbeddingTableConfig.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>
Direct Known Subclasses:
OracleEmbeddingTableConfig.Builder
Enclosing interface:
OracleEmbeddingTableConfig

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

    • BuilderBase

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

    • from

      public BUILDER from(OracleEmbeddingTableConfig 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(OracleEmbeddingTableConfig.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

      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 OracleEmbeddingTableConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OracleEmbeddingTableConfig>
      Parameters:
      config - configuration instance used to obtain values to update this builder
      Returns:
      updated builder instance
    • 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)
      The create option, which defines the behavior when creating the embedding table.
      Parameters:
      createOption - an Optional containing the create option if set; otherwise, an empty Optional
      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)
      The name of the embedding table.
      Parameters:
      name - an Optional containing the table name if set; otherwise, an empty Optional
      Returns:
      updated builder instance
      See Also:
    • clearIdColumn

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

      public BUILDER idColumn(String idColumn)
      The name of the ID column in the embedding table.
      Parameters:
      idColumn - an Optional containing the ID column name if set; otherwise, an empty Optional
      Returns:
      updated builder instance
      See Also:
    • clearEmbeddingColumn

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

      public BUILDER embeddingColumn(String embeddingColumn)
      The name of the embedding column in the embedding table.
      Parameters:
      embeddingColumn - an Optional containing the embedding column name if set; otherwise, an empty Optional
      Returns:
      updated builder instance
      See Also:
    • clearTextColumn

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

      public BUILDER textColumn(String textColumn)
      The name of the text column in the embedding table.
      Parameters:
      textColumn - an Optional containing the text column name if set; otherwise, an empty Optional
      Returns:
      updated builder instance
      See Also:
    • clearMetadataColumn

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

      public BUILDER metadataColumn(String metadataColumn)
      The name of the metadata column in the embedding table.
      Parameters:
      metadataColumn - an Optional containing the metadata column name if set; otherwise, an empty Optional
      Returns:
      updated builder instance
      See Also:
    • createOption

      public Optional<dev.langchain4j.store.embedding.oracle.CreateOption> createOption()
      The create option, which defines the behavior when creating the embedding table.
      Returns:
      the create option
    • name

      public Optional<String> name()
      The name of the embedding table.
      Returns:
      the name
    • idColumn

      public Optional<String> idColumn()
      The name of the ID column in the embedding table.
      Returns:
      the id column
    • embeddingColumn

      public Optional<String> embeddingColumn()
      The name of the embedding column in the embedding table.
      Returns:
      the embedding column
    • textColumn

      public Optional<String> textColumn()
      The name of the text column in the embedding table.
      Returns:
      the text column
    • metadataColumn

      public Optional<String> metadataColumn()
      The name of the metadata column in the embedding table.
      Returns:
      the metadata column
    • 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.