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 builderPROTOTYPE- type of the prototype interface that would be built byPrototype.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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of createOption.Clear existing value of isBitmap.Clear existing value of isUnique.Clear existing value of name.config()Configuration used to configure this instance.Deprecated.Update builder from configuration (node of this type).Optional<dev.langchain4j.store.embedding.oracle.CreateOption> Generated fromIndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)createOption(dev.langchain4j.store.embedding.oracle.CreateOption createOption) Generated fromIndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)from(JsonIndexConfig prototype) Update this builder from an existing prototype instance.from(JsonIndexConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.isBitmap()Generated fromJSONIndexBuilder.isBitmap(boolean)isBitmap(boolean isBitmap) Generated fromJSONIndexBuilder.isBitmap(boolean)isUnique()Generated fromJSONIndexBuilder.isUnique(boolean)isUnique(boolean isUnique) Generated fromJSONIndexBuilder.isUnique(boolean)name()Generated fromIndexBuilder.name(java.lang.String)Generated fromIndexBuilder.name(java.lang.String)protected voidHandles providers and decorators.Service registry used to discover providers and services.serviceRegistry(ServiceRegistry serviceRegistry) Service registry used to discover providers and services.toString()protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
Deprecated.Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.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
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.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
Clear existing value of isUnique.- Returns:
- updated builder instance
- See Also:
-
isUnique
Generated fromJSONIndexBuilder.isUnique(boolean)- Parameters:
isUnique- boolean property- Returns:
- updated builder instance
- See Also:
-
clearName
Clear existing value of name.- Returns:
- updated builder instance
- See Also:
-
name
Generated fromIndexBuilder.name(java.lang.String)- Parameters:
name- String property- Returns:
- updated builder instance
- See Also:
-
clearIsBitmap
Clear existing value of isBitmap.- Returns:
- updated builder instance
- See Also:
-
isBitmap
Generated fromJSONIndexBuilder.isBitmap(boolean)- Parameters:
isBitmap- boolean property- Returns:
- updated builder instance
- See Also:
-
clearCreateOption
Clear existing value of createOption.- Returns:
- updated builder instance
- See Also:
-
createOption
Generated fromIndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)- Parameters:
createOption- CreateOption property- Returns:
- updated builder instance
- See Also:
-
serviceRegistry
Service registry used to discover providers and services. Provide an explicit registry instance to use.If not configured, the
GlobalServiceRegistrywould be used to discover services.- Parameters:
serviceRegistry- service registry to use- Returns:
- updated builder instance
- See Also:
-
isUnique
Generated fromJSONIndexBuilder.isUnique(boolean)- Returns:
- boolean property
-
name
Generated fromIndexBuilder.name(java.lang.String)- Returns:
- String property
-
isBitmap
Generated fromJSONIndexBuilder.isBitmap(boolean)- Returns:
- boolean property
-
createOption
Generated fromIndexBuilder.createOption(dev.langchain4j.store.embedding.oracle.CreateOption)- Returns:
- CreateOption property
-
serviceRegistry
Service registry used to discover providers and services. Provide an explicit registry instance to use.If not configured, the
GlobalServiceRegistrywould be used to discover services.- Returns:
- service registry to use
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties. -
config
Configuration used to configure this instance.- Returns:
- config instance
-
config(io.helidon.config.Config)