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.setAllowLazyLoadingForDatabaseGraphs(boolean allowLazyLoadingForDatabaseGraphs) |
if true , PGX will automatically load graphs from the database when they are first referenced in graph queries
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsIterateQueTaskSize(int bfsIterateQueTaskSize) |
task size for BFS iterate QUE phase
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsThresholdParentReadBased(double bfsThresholdParentReadBased) |
threshold of BFS traversal level items above which to switch to parent-read-based visiting strategy
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setBfsThresholdReadBased(int bfsThresholdReadBased) |
threshold of BFS traversal level items above which 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.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.setGraphValidationLevel(GraphValidationLevel graphValidationLevel) |
level of validation performed on newly loaded or created graphs
|
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.setMaxOnHeapMemoryUsageRatio(double maxOnHeapMemoryUsageRatio) |
maximum ratio of on-heap memory that PGX is allowed to use, between 0 and 1.
|
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.setPatternMatchingSupernodeCacheThreshold(int patternMatchingSupernodeCacheThreshold) |
minimum number of a node's neighbor to be a supernode.
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.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
|
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) |
which string pooling strategy to use
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setTaskLength(int taskLength) |
default task length (only relevant for task-stealing strategies).
|
RuntimeConfigBuilder |
RuntimeConfigBuilder.setUseIndexForReachabilityQueries(ReachabilityIndexCreationMode useIndexForReachabilityQueries) |
create index for reachability queries
|
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
|