Package | Description |
---|---|
oracle.pgx.config |
This package contains all configuration-related classes of PGX.
|
Modifier and Type | Method and Description |
---|---|
RuntimeConfigBuilder |
RuntimeConfigBuilder.clear()
Clears all values from the builder
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.putAll(java.util.Map<RuntimeConfig.Field,java.lang.Object> values)
Puts all values from the given map into this builder.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.putAll(RuntimeConfig config)
Puts all values from the given config into this builder
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsIterateQueTaskSize(int bfsIterateQueTaskSize)
task size for BFS iterate QUE phase
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsThresholdReadBased(int bfsThresholdReadBased)
threshold of BFS traversal level items to switch to read-based visiting strategy
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsThresholdSingleThreaded(int bfsThresholdSingleThreaded)
until what number of BFS traversal level items vertices are visited single-threaded
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setCharacterSet(java.lang.String characterSet)
standard charset to use throughout PGX, UTF-8 will be used as default.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setCniDiffFactorDefault(int cniDiffFactorDefault)
default diff factor value used in the common neighbor iterator implementations.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setCniSmallDefault(int cniSmallDefault)
default value used in the common neighbor iterator implementations, to indicate below which threshold a subarray is considered small.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setCniStopRecursionDefault(int cniStopRecursionDefault)
default value used in the common neighbor iterator implementations, to indicate the minimum size where the binary search approach is applied.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.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.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setEnableSolarisStudioLabeling(boolean enableSolarisStudioLabeling)
[relevant when profiling with solaris studio] when enabled, label experiments using the 'er_label' command
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setEnterpriseSchedulerFlags(java.util.function.Consumer<EnterpriseSchedulerFlagsConfigBuilder> enterpriseSchedulerFlagsBuilderSetup)
Builds a EnterpriseSchedulerFlagsConfig in-place.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setEnterpriseSchedulerFlags(EnterpriseSchedulerFlagsConfig enterpriseSchedulerFlags)
[relevant for enterprise_scheduler] enterprise scheduler specific settings.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setExplicitSpinLocks(boolean explicitSpinLocks)
true means spin explicitly in a loop until lock becomes available. |
RuntimeConfigBuilder |
RuntimeConfigBuilder.setLargeArrayThreshold(int largeArrayThreshold)
threshold when the size of an array is too big to use a normal Java array.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setMaxDistinctStringsPerPool(int maxDistinctStringsPerPool)
[only relevant if string_pooling_strategy is indexed] amount of distinct strings per property after which to stop pooling.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setMaxOffHeapSize(int maxOffHeapSize)
maximum amount of off-heap memory PGX is allowed to allocate in megabytes, before an OutOfMemoryError will be thrown.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setMemoryAllocator(MemoryAllocationStrategy memoryAllocator)
which memory allocator to use
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setMsBfsFrontierTypeStrategy(FrontierTypeStrategy msBfsFrontierTypeStrategy)
the type strategy to use for MS-BFS frontiers
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setNumSpinLocks(int numSpinLocks)
how many spin locks each generated app will create at instantiation.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setParallelism(int parallelism)
number of worker threads to be used in thread pool.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setParallelizationStrategy(oracle.pgx.config.ParallelizationStrategy parallelizationStrategy)
Deprecated.
use scheduler instead
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setPatternMatchingSupernodeCacheThreshold(int patternMatchingSupernodeCacheThreshold)
minimum number of a node's neighbor to be a supernode.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setRandomGeneratorStrategy(RandomGeneratorStrategy randomGeneratorStrategy)
method of generating random numbers in pgx
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setRandomSeed(long randomSeed)
[relevant for deterministic random number generator only] seed for the deterministic random number generator used in pgx.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setRevisitThreshold(int revisitThreshold)
maximum number of matched results from a node to be cached
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setScheduler(SchedulerStrategy scheduler)
which scheduler to use.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setSmallTaskLength(int smallTaskLength)
task length if total amount of work is small than default task length (only relevant for task-stealing strategies)
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setStringPoolingStrategy(StringPoolingStrategy stringPoolingStrategy)
[only relevant if use_string_pool is enabled] which string pooling strategy to use
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setTaskLength(int taskLength)
default task length (only relevant for task-stealing strategies).
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setUseMemoryMapperForReadingPgb(boolean useMemoryMapperForReadingPgb)
if true, use memory mapped files for reading graphs in PGB format if possible; false always use s stream based implementation
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setUseMemoryMapperForStoringPgb(boolean useMemoryMapperForStoringPgb)
if true, use memory mapped files for storing in PGB format if possible; if false always use a stream based implementation
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setUseStringPool(boolean useStringPool)
If
true , PGX will store string properties in a pool in order to consume less memory on string properties |
Modifier and Type | Method and Description |
---|---|
static RuntimeConfig |
RuntimeConfigBuilder.buildRuntimeConfig(java.util.function.Consumer<RuntimeConfigBuilder> builderSetup)
Builds a
RuntimeConfig in-place |
Constructor and Description |
---|
RuntimeConfigBuilder(RuntimeConfigBuilder builder)
Constructs a RuntimeConfigBuilder initialized with the values from the given builder
|
Copyright © 2017 Oracle Corp. All Rights Reserved.