Class OracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OracleEmbeddingStoreConfig>
java.lang.Object
io.helidon.integrations.langchain4j.providers.oracle.OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER
- type of the builder extending this abstract builderPROTOTYPE
- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,
,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,
PROTOTYPE>
- Direct Known Subclasses:
OracleEmbeddingStoreConfig.Builder
- Enclosing interface:
OracleEmbeddingStoreConfig
public abstract static class OracleEmbeddingStoreConfig.BuilderBase<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OracleEmbeddingStoreConfig>
extends Object
implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Fluent API builder base for
OracleEmbeddingStoreConfig
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.config()
If this instance was configured, this would be the config instance used.Update builder from configuration (node of this type).The data source name used for connecting to the Oracle embedding store.dataSource
(String dataSource) The data source name used for connecting to the Oracle embedding store.Properties of the embedding table associated with the Oracle embedding store.embeddingTable
(OracleEmbeddingTableConfig embeddingTable) Properties of the embedding table associated with the Oracle embedding store.Properties of the embedding table associated with the Oracle embedding store.boolean
enabled()
If set totrue
, Oracle embedding store will be enabled.enabled
(boolean enabled) If set totrue
, Oracle embedding store will be enabled.The exact search option, which specifies whether exact matching is used in searches.exactSearch
(boolean exactSearch) The exact search option, which specifies whether exact matching is used in searches.from
(OracleEmbeddingStoreConfig prototype) Update this builder from an existing prototype instance.from
(OracleEmbeddingStoreConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected void
Handles providers and decorators.toString()
protected void
Validates required properties.Optional
<dev.langchain4j.store.embedding.oracle.CreateOption> The vector index creation option, which defines behavior when creating the vector index.vectorIndexCreateOption
(dev.langchain4j.store.embedding.oracle.CreateOption vectorIndexCreateOption) The vector index creation option, which defines behavior when creating the vector index.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
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
Update this builder from an existing prototype builder instance.- Parameters:
builder
- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
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 interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends OracleEmbeddingStoreConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends OracleEmbeddingStoreConfig> - Parameters:
config
- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
enabled
If set totrue
, Oracle embedding store will be enabled.- Parameters:
enabled
- whether Oracle embedding store is enabled, defaults tofalse
- Returns:
- updated builder instance
- See Also:
-
clearDataSource
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
dataSource
The data source name used for connecting to the Oracle embedding store.- Parameters:
dataSource
- anOptional
containing the datasource name qualifier- Returns:
- updated builder instance
- See Also:
-
clearEmbeddingTable
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
embeddingTable
Properties of the embedding table associated with the Oracle embedding store.- Parameters:
embeddingTable
- anOptional
containing theOracleEmbeddingTableConfig
representing table properties- Returns:
- updated builder instance
- See Also:
-
embeddingTable
Properties of the embedding table associated with the Oracle embedding store.- Parameters:
consumer
- anOptional
containing theOracleEmbeddingTableConfig
representing table properties- Returns:
- updated builder instance
- See Also:
-
clearExactSearch
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
exactSearch
The exact search option, which specifies whether exact matching is used in searches. -
clearVectorIndexCreateOption
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
vectorIndexCreateOption
public BUILDER vectorIndexCreateOption(dev.langchain4j.store.embedding.oracle.CreateOption vectorIndexCreateOption) The vector index creation option, which defines behavior when creating the vector index. -
enabled
public boolean enabled()If set totrue
, Oracle embedding store will be enabled.- Returns:
- the enabled
-
dataSource
The data source name used for connecting to the Oracle embedding store.- Returns:
- the data source
-
embeddingTable
Properties of the embedding table associated with the Oracle embedding store.- Returns:
- the embedding table
-
exactSearch
The exact search option, which specifies whether exact matching is used in searches.- Returns:
- the exact search
-
vectorIndexCreateOption
The vector index creation option, which defines behavior when creating the vector index.- Returns:
- the vector index create option
-
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
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-