Package oracle.pgx.config
Class PgNosqlGraphConfigBuilder
- java.lang.Object
-
- oracle.pgx.config.AbstractGraphConfigBuilder<T,GC>
-
- oracle.pgx.config.AbstractPgGraphConfigBuilder<PgNosqlGraphConfigBuilder,PgNosqlGraphConfig>
-
- oracle.pgx.config.PgNosqlGraphConfigBuilder
-
- All Implemented Interfaces:
oracle.pgx.config.internal.ConfigBuilderWithPassword<PgNosqlGraphConfigBuilder>
,oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
public class PgNosqlGraphConfigBuilder extends AbstractPgGraphConfigBuilder<PgNosqlGraphConfigBuilder,PgNosqlGraphConfig> implements oracle.pgx.config.internal.ConfigBuilderWithPassword<PgNosqlGraphConfigBuilder>
A builder for Property Graph (PG) Oracle NoSQL graph configuration objects.
-
-
Constructor Summary
Constructors Constructor Description PgNosqlGraphConfigBuilder()
Instantiates a new PgNosqlGraphConfigBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PgNosqlGraphConfigBuilder
copyFrom(PgNosqlGraphConfig graphConfig)
Sets this builder with all the values of the given graph config.PgNosqlGraphConfigBuilder
setHosts(java.util.List<java.lang.String> hosts)
Sets the lists of hosts.PgNosqlGraphConfigBuilder
setKeystoreAlias(java.lang.String keystoreAlias)
Sets the keystore alias.PgNosqlGraphConfigBuilder
setPassword(java.lang.String p)
Sets the passwordPgNosqlGraphConfigBuilder
setRequestTimeout(long timeout, java.util.concurrent.TimeUnit unit)
Sets the request timeout.PgNosqlGraphConfigBuilder
setStoreName(java.lang.String storeName)
Sets the store name.PgNosqlGraphConfigBuilder
setUsername(java.lang.String u)
Sets the username-
Methods inherited from class oracle.pgx.config.AbstractPgGraphConfigBuilder
setMaxNumConnections, setName, setVertexIdType
-
Methods inherited from class oracle.pgx.config.AbstractGraphConfigBuilder
addAttribute, addEdgeProperty, addEdgeProperty, addEdgeProperty, addEdgeStringProperty, addEdgeStringProperty, addEdgeVectorProperty, addEdgeVectorProperty, addEdgeVectorProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, addVertexProperty, addVertexStringProperty, addVertexStringProperty, addVertexVectorProperty, addVertexVectorProperty, addVertexVectorProperty, build, clearEdgeProperties, clearVertexProperties, copyBaseFrom, enableEdgeIdDuplicateCheck, enableVertexIdDuplicateCheck, redactPassword, removeEdgeProperty, removeVertexProperty, setArrayCompactionThreshold, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateLabelHistogram, setCreateVertexIdIndex, setCreateVertexIdMapping, setEdgeIdStrategy, setEdgeIdType, setErrorHandlingOnDuplicateEntityId, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setFetchIntervalSec, setLabelValueDelimiter, setLoadEdgeLabel, setLoadingProgressReportingFrequency, setLoadVertexLabels, setLocalDateFormat, setOptimizedFor, setPartitionDiscardDefaultValues, setPartitionWhileLoading, setPropertyValueDelimiter, setSkipEdgeLoading, setSkipVertexLoading, setSnapshotsSource, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat, setUpdateIntervalSec, setUpdatePropertiesInPlace, setUpdateThreshold, setUseVertexPropertyValueAsLabel, setVertexIdStrategy, toGraphConfigBuilder
-
-
-
-
Method Detail
-
copyFrom
public PgNosqlGraphConfigBuilder copyFrom(PgNosqlGraphConfig graphConfig)
Description copied from class:AbstractGraphConfigBuilder
Sets this builder with all the values of the given graph config. If a format was already specified it will remain unchanged, however any other values copied from the given graph config will overwrite the corresponding values of this builder.- Overrides:
copyFrom
in classAbstractPgGraphConfigBuilder<PgNosqlGraphConfigBuilder,PgNosqlGraphConfig>
- Parameters:
graphConfig
- the graph configuration from which to copy the values- Returns:
- this builder
-
setHosts
public PgNosqlGraphConfigBuilder setHosts(java.util.List<java.lang.String> hosts)
Sets the lists of hosts.- Parameters:
hosts
- the hosts- Returns:
- this builder
-
setStoreName
public PgNosqlGraphConfigBuilder setStoreName(java.lang.String storeName)
Sets the store name.- Parameters:
storeName
- the store name- Returns:
- this builder
-
setRequestTimeout
public PgNosqlGraphConfigBuilder setRequestTimeout(long timeout, java.util.concurrent.TimeUnit unit)
Sets the request timeout.- Parameters:
timeout
- the timeoutunit
- the time unit- Returns:
- this builder
-
setUsername
public PgNosqlGraphConfigBuilder setUsername(java.lang.String u)
Sets the username- Parameters:
u
- the username- Returns:
- this builder
-
setPassword
public PgNosqlGraphConfigBuilder setPassword(java.lang.String p)
Sets the password- Specified by:
setPassword
in interfaceoracle.pgx.config.internal.ConfigBuilderWithPassword<PgNosqlGraphConfigBuilder>
- Overrides:
setPassword
in classAbstractGraphConfigBuilder<PgNosqlGraphConfigBuilder,PgNosqlGraphConfig>
- Parameters:
p
- the password- Returns:
- this builder
-
setKeystoreAlias
public PgNosqlGraphConfigBuilder setKeystoreAlias(java.lang.String keystoreAlias)
Sets the keystore alias.- Overrides:
setKeystoreAlias
in classAbstractGraphConfigBuilder<PgNosqlGraphConfigBuilder,PgNosqlGraphConfig>
- Parameters:
keystoreAlias
- the keystore alias.- Returns:
- this builder object.
-
-