Package oracle.pgx.config
Class UdfFunctionArgumentConfigBuilder
- java.lang.Object
-
- oracle.pgx.config.UdfFunctionArgumentConfigBuilder
-
@Generated({"common/config/src/templates/ConfigBuilder.stg","common/config/config.gradle"}) public final class UdfFunctionArgumentConfigBuilder extends java.lang.ObjectBuilder forUdfFunctionArgumentConfig.
-
-
Constructor Summary
Constructors Constructor Description UdfFunctionArgumentConfigBuilder()Constructs an empty UdfFunctionArgumentConfigBuilderUdfFunctionArgumentConfigBuilder(java.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object> values)Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given mapUdfFunctionArgumentConfigBuilder(UdfFunctionArgumentConfig config)Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given configUdfFunctionArgumentConfigBuilder(UdfFunctionArgumentConfigBuilder builder)Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UdfFunctionArgumentConfigbuild()Builds the UdfFunctionArgumentConfig with aparentPathofnull.UdfFunctionArgumentConfigbuild(java.lang.String parentPath)Builds the UdfFunctionArgumentConfig.static UdfFunctionArgumentConfigbuildUdfFunctionArgumentConfig(java.util.function.Consumer<UdfFunctionArgumentConfigBuilder> builderSetup)Builds aUdfFunctionArgumentConfigin-placeUdfFunctionArgumentConfigBuilderclear()Clears all values from the builderjava.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object>getValues()UdfFunctionArgumentConfigBuilderputAll(java.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object> values)Puts all values from the given map into this builder.UdfFunctionArgumentConfigBuilderputAll(UdfFunctionArgumentConfig config)Puts all values from the given config into this builderUdfFunctionArgumentConfigBuildersetName(java.lang.String name)name of the argumentUdfFunctionArgumentConfigBuildersetType(PropertyType type)type of the argumentjava.io.InputStreamtoInputStream()java.lang.StringtoString()
-
-
-
Constructor Detail
-
UdfFunctionArgumentConfigBuilder
public UdfFunctionArgumentConfigBuilder()
Constructs an empty UdfFunctionArgumentConfigBuilder
-
UdfFunctionArgumentConfigBuilder
public UdfFunctionArgumentConfigBuilder(java.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object> values)
Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given map- Parameters:
values- a map containing configuration values
-
UdfFunctionArgumentConfigBuilder
public UdfFunctionArgumentConfigBuilder(UdfFunctionArgumentConfig config)
Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given config- Parameters:
config- the configuration to take the values from
-
UdfFunctionArgumentConfigBuilder
public UdfFunctionArgumentConfigBuilder(UdfFunctionArgumentConfigBuilder builder)
Constructs a UdfFunctionArgumentConfigBuilder initialized with the values from the given builder- Parameters:
builder- the builder to take the values from
-
-
Method Detail
-
buildUdfFunctionArgumentConfig
public static UdfFunctionArgumentConfig buildUdfFunctionArgumentConfig(java.util.function.Consumer<UdfFunctionArgumentConfigBuilder> builderSetup)
Builds aUdfFunctionArgumentConfigin-place- Parameters:
builderSetup- a consumer to setup a newly createdUdfFunctionArgumentConfig
-
putAll
public UdfFunctionArgumentConfigBuilder putAll(java.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object> values)
Puts all values from the given map into this builder.- Parameters:
values- the values to put in the builder
-
putAll
public UdfFunctionArgumentConfigBuilder putAll(UdfFunctionArgumentConfig config)
Puts all values from the given config into this builder- Parameters:
config- the config to take the values from
-
clear
public UdfFunctionArgumentConfigBuilder clear()
Clears all values from the builder
-
build
public UdfFunctionArgumentConfig build(java.lang.String parentPath)
Builds the UdfFunctionArgumentConfig.- Parameters:
parentPath- if not null, resolves relative paths against this parentPath- Returns:
- an instance of UdfFunctionArgumentConfig
-
build
public UdfFunctionArgumentConfig build()
Builds the UdfFunctionArgumentConfig with aparentPathofnull.- Returns:
- An instance of UdfFunctionArgumentConfig
- See Also:
build(String)
-
toInputStream
public java.io.InputStream toInputStream()
- Returns:
- an
InputStreamrepresenting the config
-
getValues
public java.util.Map<UdfFunctionArgumentConfig.Field,java.lang.Object> getValues()
- Returns:
- the raw config values
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setName
public UdfFunctionArgumentConfigBuilder setName(java.lang.String name)
name of the argument
-
setType
public UdfFunctionArgumentConfigBuilder setType(PropertyType type)
type of the argument
-
-