Package | Description |
---|---|
oracle.pgx.config |
This package contains all configuration-related classes of PGX.
|
Modifier and Type | Method and Description |
---|---|
PgxConfigBuilder |
PgxConfigBuilder.clear()
Clears all values from the builder
|
PgxConfigBuilder |
PgxConfigBuilder.putAll(java.util.Map<PgxConfig.Field,java.lang.Object> values)
Puts all values from the given map into this builder.
|
PgxConfigBuilder |
PgxConfigBuilder.putAll(PgxConfig config)
Puts all values from the given config into this builder
|
PgxConfigBuilder |
PgxConfigBuilder.setAdminRequestCacheTimeout(int adminRequestCacheTimeout)
after how many seconds admin request results get removed from the cache.
|
PgxConfigBuilder |
PgxConfigBuilder.setAllowedRemoteLoadingLocations(java.lang.String... allowedRemoteLoadingLocations)
(This option may reduce security, use it only if you know what you are doing!) Allow loading graphs into the PGX engine from remote locations.
|
PgxConfigBuilder |
PgxConfigBuilder.setAllowIdleTimeoutOverwrite(boolean allowIdleTimeoutOverwrite)
if
true , sessions can overwrite default idle timeout |
PgxConfigBuilder |
PgxConfigBuilder.setAllowLocalFilesystem(boolean allowLocalFilesystem)
Deprecated.
since 20.1.1, define file-locations and use permissions instead
|
PgxConfigBuilder |
PgxConfigBuilder.setAllowOverrideSchedulingInformation(boolean allowOverrideSchedulingInformation)
if
true allow all users to override scheduling information like task weight, task priority and number of threads |
PgxConfigBuilder |
PgxConfigBuilder.setAllowTaskTimeoutOverwrite(boolean allowTaskTimeoutOverwrite)
if
true , sessions can overwrite default task timeout |
PgxConfigBuilder |
PgxConfigBuilder.setAllowUserAutoRefresh(boolean allowUserAutoRefresh)
if
true users may enable auto refresh for graphs they load. |
PgxConfigBuilder |
PgxConfigBuilder.setAuthorization(java.lang.Object... authorization)
mapping of users and roles to resources and permissions for authorization
|
PgxConfigBuilder |
PgxConfigBuilder.setAuthorizationSessionCreateAllowAll(boolean authorizationSessionCreateAllowAll)
if
true allow all users to create a PGX session regardless of permissions granted to them |
PgxConfigBuilder |
PgxConfigBuilder.setBasicSchedulerConfig(BasicSchedulerConfig basicSchedulerConfig)
configuration parameters for the fork join pool backend
|
PgxConfigBuilder |
PgxConfigBuilder.setBasicSchedulerConfig(java.util.function.Consumer<BasicSchedulerConfigBuilder> basicSchedulerConfigBuilderSetup)
Builds a BasicSchedulerConfig in-place.
|
PgxConfigBuilder |
PgxConfigBuilder.setBfsIterateQueTaskSize(int bfsIterateQueTaskSize)
task size for BFS iterate QUE phase
|
PgxConfigBuilder |
PgxConfigBuilder.setBfsThresholdParentReadBased(double bfsThresholdParentReadBased)
threshold of BFS traversal level items above which to switch to parent-read-based visiting strategy
|
PgxConfigBuilder |
PgxConfigBuilder.setBfsThresholdReadBased(int bfsThresholdReadBased)
threshold of BFS traversal level items above which to switch to read-based visiting strategy
|
PgxConfigBuilder |
PgxConfigBuilder.setBfsThresholdSingleThreaded(int bfsThresholdSingleThreaded)
until what number of BFS traversal level items vertices are visited single-threaded
|
PgxConfigBuilder |
PgxConfigBuilder.setCc(java.lang.String cc)
Deprecated.
since 3.2.0, native analysis is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setCctrace(boolean cctrace)
Deprecated.
(ignored since 2.7.0) use the client configuration enable_cctrace instead
|
PgxConfigBuilder |
PgxConfigBuilder.setCctraceOut(java.lang.String cctraceOut)
Deprecated.
(ignored since 2.7.0) use the corresponding client configuration instead
|
PgxConfigBuilder |
PgxConfigBuilder.setCctracePrintStacktraces(boolean cctracePrintStacktraces)
Deprecated.
(ignored since 2.7.0) use the corresponding client configuration instead
|
PgxConfigBuilder |
PgxConfigBuilder.setCflags(java.lang.String cflags)
Deprecated.
since 3.2.0, native analysis is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setCharacterSet(java.lang.String characterSet)
standard charset to use throughout PGX, UTF-8 will be used as default.
|
PgxConfigBuilder |
PgxConfigBuilder.setCniDiffFactorDefault(int cniDiffFactorDefault)
default diff factor value used in the common neighbor iterator implementations.
|
PgxConfigBuilder |
PgxConfigBuilder.setCniSmallDefault(int cniSmallDefault)
default value used in the common neighbor iterator implementations, to indicate below which threshold a subarray is considered small.
|
PgxConfigBuilder |
PgxConfigBuilder.setCniStopRecursionDefault(int cniStopRecursionDefault)
default value used in the common neighbor iterator implementations, to indicate the minimum size where the binary search approach is applied.
|
PgxConfigBuilder |
PgxConfigBuilder.setDatasourceDirWhitelist(java.lang.String... datasourceDirWhitelist)
Deprecated.
since 20.1.1, define file-locations and use permissions instead
|
PgxConfigBuilder |
PgxConfigBuilder.setDfsThresholdLarge(int dfsThresholdLarge)
value that determines at which number of visited vertices the DFS implementation will switch to data-structures that are more optimized for larger numbers of vertices.
|
PgxConfigBuilder |
PgxConfigBuilder.setEnableCsrfTokenChecks(boolean enableCsrfTokenChecks)
if true, the PGX webapp will verify CSRF token cookie and request parameters sent by the client exist and match.
|
PgxConfigBuilder |
PgxConfigBuilder.setEnableGmCompiler(boolean enableGmCompiler)
if
true , enable dynamic compilation of Green-Marl code during runtime |
PgxConfigBuilder |
PgxConfigBuilder.setEnableGraphLoadingCache(boolean enableGraphLoadingCache)
if
true , activate the graph loading cache that will accelerate loading of graphs that were previously loaded (can only be disabled in embedded mode) |
PgxConfigBuilder |
PgxConfigBuilder.setEnableShutdownCleanupHook(boolean enableShutdownCleanupHook)
if
true PGX will add a JVM shutdown hook that will automatically shutdown PGX at JVM shutdown. |
PgxConfigBuilder |
PgxConfigBuilder.setEnableSolarisStudioLabeling(boolean enableSolarisStudioLabeling)
Deprecated.
since 2.6.0, this feature is not available anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setEnterpriseSchedulerConfig(java.util.function.Consumer<EnterpriseSchedulerConfigBuilder> enterpriseSchedulerConfigBuilderSetup)
Builds a EnterpriseSchedulerConfig in-place.
|
PgxConfigBuilder |
PgxConfigBuilder.setEnterpriseSchedulerConfig(EnterpriseSchedulerConfig enterpriseSchedulerConfig)
configuration parameters for the enterprise scheduler
|
PgxConfigBuilder |
PgxConfigBuilder.setEnterpriseSchedulerFlags(java.util.function.Consumer<EnterpriseSchedulerFlagsConfigBuilder> enterpriseSchedulerFlagsBuilderSetup)
Builds a EnterpriseSchedulerFlagsConfig in-place.
|
PgxConfigBuilder |
PgxConfigBuilder.setEnterpriseSchedulerFlags(EnterpriseSchedulerFlagsConfig enterpriseSchedulerFlags)
[relevant for enterprise_scheduler] enterprise scheduler specific settings.
|
PgxConfigBuilder |
PgxConfigBuilder.setExplicitSpinLocks(boolean explicitSpinLocks)
true means spin explicitly in a loop until lock becomes available. |
PgxConfigBuilder |
PgxConfigBuilder.setFileLocations(java.lang.Object... fileLocations)
the file-locations that can be used in the authorization-config
|
PgxConfigBuilder |
PgxConfigBuilder.setGraphAlgorithmLanguage(Compiler graphAlgorithmLanguage)
Frontend compiler to use.
|
PgxConfigBuilder |
PgxConfigBuilder.setGraphs(java.lang.String... graphs)
Deprecated.
use
preload_graphs instead |
PgxConfigBuilder |
PgxConfigBuilder.setGraphValidationLevel(GraphValidationLevel graphValidationLevel)
level of validation performed on newly loaded or created graphs
|
PgxConfigBuilder |
PgxConfigBuilder.setIgnoreIncompatibleBackendOperations(boolean ignoreIncompatibleBackendOperations)
if
true only log when encountering incompatible operations and configuration values in RTS or FJ pool. |
PgxConfigBuilder |
PgxConfigBuilder.setInitPgqlOnStartup(boolean initPgqlOnStartup)
if
true PGQL is directly initialized on start-up of PGX. |
PgxConfigBuilder |
PgxConfigBuilder.setInPlaceUpdateConsistencyModel(UpdateConsistencyModel inPlaceUpdateConsistencyModel)
Consistency model used when in-place updates occur.
|
PgxConfigBuilder |
PgxConfigBuilder.setIntervalToPollMax(int intervalToPollMax)
Exponential backoff upper bound (in ms) to which -once reached, the job status polling interval is fixed
|
PgxConfigBuilder |
PgxConfigBuilder.setJavaHomeDir(java.lang.String javaHomeDir)
The path to Java's home directory.
|
PgxConfigBuilder |
PgxConfigBuilder.setLargeArrayThreshold(int largeArrayThreshold)
threshold when the size of an array is too big to use a normal Java array.
|
PgxConfigBuilder |
PgxConfigBuilder.setLaunchWatchdogs(boolean launchWatchdogs)
(for debugging) if
true , additional watch-dog threads will be launched which monitor and log engine health stats |
PgxConfigBuilder |
PgxConfigBuilder.setLflags(java.lang.String lflags)
Deprecated.
since 3.2.0, native analysis is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxActiveSessions(int maxActiveSessions)
the maximum number of sessions allowed to be active at a time
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxDistinctStringsPerPool(int maxDistinctStringsPerPool)
[only relevant if string_pooling_strategy is indexed] amount of distinct strings per property after which to stop pooling.
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxHttpClientRequestSize(long maxHttpClientRequestSize)
maximum size in bytes of any http request sent to to the PGX server over the REST API.
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxOffHeapSize(int maxOffHeapSize)
maximum amount of off-heap memory PGX is allowed to allocate in megabytes, before an OutOfMemoryError will be thrown.
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxQueueSizePerSession(int maxQueueSizePerSession)
the maximum number of pending tasks allowed to be in the queue, per session.
|
PgxConfigBuilder |
PgxConfigBuilder.setMaxSnapshotCount(int maxSnapshotCount)
Number of snapshots that may be loaded in the engine at the same time.
|
PgxConfigBuilder |
PgxConfigBuilder.setMemoryAllocator(MemoryAllocationStrategy memoryAllocator)
which memory allocator to use
|
PgxConfigBuilder |
PgxConfigBuilder.setMemoryCleanupInterval(int memoryCleanupInterval)
memory cleanup tick in seconds
|
PgxConfigBuilder |
PgxConfigBuilder.setMinArrayCompactionThreshold(double minArrayCompactionThreshold)
[only relevant for graphs optimized for updates] minimum value that can be used for the array_compaction_threshold value in graph configuration.
|
PgxConfigBuilder |
PgxConfigBuilder.setMinFetchIntervalSec(int minFetchIntervalSec)
(only relevant if the graph format supports delta updates) for delta-refresh, the lowest interval at which a graph source is queried for changes.
|
PgxConfigBuilder |
PgxConfigBuilder.setMinUpdateIntervalSec(int minUpdateIntervalSec)
for auto-refresh, the lowest interval after which a new snapshot is created, either by reloading the entire graph or if the format supports delta-updates, out of the cached changes (only relevant if the format supports delta updates).
|
PgxConfigBuilder |
PgxConfigBuilder.setMsBfsFrontierTypeStrategy(FrontierTypeStrategy msBfsFrontierTypeStrategy)
the type strategy to use for MS-BFS frontiers
|
PgxConfigBuilder |
PgxConfigBuilder.setNumSpinLocks(int numSpinLocks)
how many spin locks each generated app will create at instantiation.
|
PgxConfigBuilder |
PgxConfigBuilder.setNumWorkersAnalysis(int numWorkersAnalysis)
Deprecated.
since 2.3.0, use
fj_pool_config.num_workers_analysis instead |
PgxConfigBuilder |
PgxConfigBuilder.setNumWorkersFastTrackAnalysis(int numWorkersFastTrackAnalysis)
Deprecated.
since 2.3.0, use
fj_pool_config.num_workers_fast_track_analysis instead |
PgxConfigBuilder |
PgxConfigBuilder.setNumWorkersIo(int numWorkersIo)
Deprecated.
since 2.3.0, use
fj_pool_config.num_workers_io instead |
PgxConfigBuilder |
PgxConfigBuilder.setParallelism(int parallelism)
number of worker threads to be used in thread pool.
|
PgxConfigBuilder |
PgxConfigBuilder.setPathToGmCompiler(java.lang.String pathToGmCompiler)
Deprecated.
since 3.2.0, gm_comp is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setPatternMatchingSemantic(oracle.pgx.config.PatternMatchingSemantic patternMatchingSemantic)
Deprecated.
use the built-in PGQL function all_different(v1, v2, ...) instead
|
PgxConfigBuilder |
PgxConfigBuilder.setPatternMatchingSupernodeCacheThreshold(int patternMatchingSupernodeCacheThreshold)
minimum number of a node's neighbor to be a supernode.
|
PgxConfigBuilder |
PgxConfigBuilder.setPgxRealm(java.util.function.Consumer<RealmConfigBuilder> pgxRealmBuilderSetup)
Builds a RealmConfig in-place.
|
PgxConfigBuilder |
PgxConfigBuilder.setPgxRealm(RealmConfig pgxRealm)
configuration parameters for the realm
|
PgxConfigBuilder |
PgxConfigBuilder.setPoolingFactor(double poolingFactor)
[only relevant if string_pooling_strategy is on_heap] this value prevents the string pool to grow as big as the property size which could render the pooling ineffective
|
PgxConfigBuilder |
PgxConfigBuilder.setPreloadGraphs(java.lang.Object... preloadGraphs)
list of graph configs to be registered at start-up.
|
PgxConfigBuilder |
PgxConfigBuilder.setRandomGeneratorStrategy(RandomGeneratorStrategy randomGeneratorStrategy)
method of generating random numbers in pgx
|
PgxConfigBuilder |
PgxConfigBuilder.setRandomSeed(long randomSeed)
[relevant for deterministic random number generator only] seed for the deterministic random number generator used in pgx.
|
PgxConfigBuilder |
PgxConfigBuilder.setReleaseMemoryThreshold(double releaseMemoryThreshold)
threshold percentage of used memory after which the engine starts freeing un-used graphs.
|
PgxConfigBuilder |
PgxConfigBuilder.setRevisitThreshold(int revisitThreshold)
maximum number of matched results from a node to be cached
|
PgxConfigBuilder |
PgxConfigBuilder.setScheduler(SchedulerStrategy scheduler)
which scheduler to use.
|
PgxConfigBuilder |
PgxConfigBuilder.setSessionIdleTimeoutSecs(int sessionIdleTimeoutSecs)
timeout of idling sessions in seconds.
|
PgxConfigBuilder |
PgxConfigBuilder.setSessionTaskTimeoutSecs(int sessionTaskTimeoutSecs)
timeout to interrupt long-running tasks submitted by sessions (algorithms, I/O tasks) in seconds.
|
PgxConfigBuilder |
PgxConfigBuilder.setSmallTaskLength(int smallTaskLength)
task length if total amount of work is small than default task length (only relevant for task-stealing strategies)
|
PgxConfigBuilder |
PgxConfigBuilder.setStrictMode(boolean strictMode)
if
true , exceptions are thrown and logged with ERROR level whenever engine encounters configuration problems, such as invalid keys, mismatches and other potential errors. |
PgxConfigBuilder |
PgxConfigBuilder.setStringPoolingStrategy(StringPoolingStrategy stringPoolingStrategy)
[only relevant if use_string_pool is enabled] which string pooling strategy to use
|
PgxConfigBuilder |
PgxConfigBuilder.setTaskLength(int taskLength)
default task length (only relevant for task-stealing strategies).
|
PgxConfigBuilder |
PgxConfigBuilder.setTmpDir(java.lang.String tmpDir)
Use this path as temporary directory to store compilation artifacts and other temporary data.
|
PgxConfigBuilder |
PgxConfigBuilder.setUdfConfigDirectory(java.lang.String udfConfigDirectory)
directory path containing udf config files
|
PgxConfigBuilder |
PgxConfigBuilder.setUNSAFEAllowForeignSyntax(boolean uNSAFEAllowForeignSyntax)
(This flag reduces security, enable only if you know what you're doing!) Allow foreign syntax in user-provided Green-Marl programs
|
PgxConfigBuilder |
PgxConfigBuilder.setUseMemoryMapperForReadingPgb(boolean useMemoryMapperForReadingPgb)
if true, use memory mapped files for reading graphs in PGB format if possible; false always use s stream based implementation
|
PgxConfigBuilder |
PgxConfigBuilder.setUseMemoryMapperForStoringPgb(boolean useMemoryMapperForStoringPgb)
if true, use memory mapped files for storing in PGB format if possible; if false always use a stream based implementation
|
PgxConfigBuilder |
PgxConfigBuilder.setUseNativeAnalysis(boolean useNativeAnalysis)
Deprecated.
since 2.7.0, native analysis is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setUseNativeLoaders(boolean useNativeLoaders)
Deprecated.
since 2.7.0, native loaders is not supported anymore
|
PgxConfigBuilder |
PgxConfigBuilder.setUseStringPool(boolean useStringPool)
Deprecated.
since 3.3.0, this setting is no longer valid, to disable the string pooling set
string_pooling_strategy to none |
Modifier and Type | Method and Description |
---|---|
static PgxConfig |
PgxConfigBuilder.buildPgxConfig(java.util.function.Consumer<PgxConfigBuilder> builderSetup)
Builds a
PgxConfig in-place |
Constructor and Description |
---|
PgxConfigBuilder(PgxConfigBuilder builder)
Constructs a PgxConfigBuilder initialized with the values from the given builder
|
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.