public static enum RuntimeConfig.Field extends java.lang.Enum<RuntimeConfig.Field> implements ConfigField
Enum Constant and Description |
---|
BFS_ITERATE_QUE_TASK_SIZE
task size for BFS iterate QUE phase
|
BFS_THRESHOLD_PARENT_READ_BASED
threshold of BFS traversal level items above which to switch to parent-read-based visiting strategy
|
BFS_THRESHOLD_READ_BASED
threshold of BFS traversal level items above which to switch to read-based visiting strategy
|
BFS_THRESHOLD_SINGLE_THREADED
until what number of BFS traversal level items vertices are visited single-threaded
|
CHARACTER_SET
standard charset to use throughout PGX, UTF-8 will be used as default.
|
CNI_DIFF_FACTOR_DEFAULT
default diff factor value used in the common neighbor iterator implementations.
|
CNI_SMALL_DEFAULT
default value used in the common neighbor iterator implementations, to indicate below which threshold a subarray is considered small.
|
CNI_STOP_RECURSION_DEFAULT
default value used in the common neighbor iterator implementations, to indicate the minimum size where the binary search approach is applied.
|
DFS_THRESHOLD_LARGE
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.
|
ENTERPRISE_SCHEDULER_FLAGS
[relevant for enterprise_scheduler] enterprise scheduler specific settings.
|
EXPLICIT_SPIN_LOCKS
true means spin explicitly in a loop until lock becomes available. |
GRAPH_VALIDATION_LEVEL
level of validation performed on newly loaded or created graphs
|
LARGE_ARRAY_THRESHOLD
threshold when the size of an array is too big to use a normal Java array.
|
MAX_DISTINCT_STRINGS_PER_POOL
[only relevant if string_pooling_strategy is indexed] amount of distinct strings per property after which to stop pooling.
|
MAX_OFF_HEAP_SIZE
maximum amount of off-heap memory PGX is allowed to allocate in megabytes, before an OutOfMemoryError will be thrown.
|
MEMORY_ALLOCATOR
which memory allocator to use
|
MS_BFS_FRONTIER_TYPE_STRATEGY
the type strategy to use for MS-BFS frontiers
|
NUM_SPIN_LOCKS
how many spin locks each generated app will create at instantiation.
|
PARALLELISM
number of worker threads to be used in thread pool.
|
PATTERN_MATCHING_SUPERNODE_CACHE_THRESHOLD
minimum number of a node's neighbor to be a supernode.
|
POOLING_FACTOR
[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
|
RANDOM_GENERATOR_STRATEGY
method of generating random numbers in pgx
|
RANDOM_SEED
[relevant for deterministic random number generator only] seed for the deterministic random number generator used in pgx.
|
REVISIT_THRESHOLD
maximum number of matched results from a node to be cached
|
SCHEDULER
which scheduler to use.
|
SMALL_TASK_LENGTH
task length if total amount of work is small than default task length (only relevant for task-stealing strategies)
|
STRING_POOLING_STRATEGY
which string pooling strategy to use
|
TASK_LENGTH
default task length (only relevant for task-stealing strategies).
|
USE_INDEX_FOR_REACHABILITY_QUERIES
create index for reachability queries
|
USE_MEMORY_MAPPER_FOR_READING_PGB
if true, use memory mapped files for reading graphs in PGB format if possible; false always use s stream based implementation
|
USE_MEMORY_MAPPER_FOR_STORING_PGB
if true, use memory mapped files for storing in PGB format if possible; if false always use a stream based implementation
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultVal()
Gets the default value of this field.
|
java.util.List<java.lang.String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
java.util.List<java.lang.String> |
getSingletonListKeyAliases()
Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.
|
java.lang.Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isHidden()
Checks if this field should be hidden.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
boolean |
isSensitive()
Checks if this field holds a sensitive data.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static RuntimeConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
isEnum, isPrimitive
public static final RuntimeConfig.Field BFS_ITERATE_QUE_TASK_SIZE
public static final RuntimeConfig.Field BFS_THRESHOLD_PARENT_READ_BASED
public static final RuntimeConfig.Field BFS_THRESHOLD_READ_BASED
public static final RuntimeConfig.Field BFS_THRESHOLD_SINGLE_THREADED
public static final RuntimeConfig.Field CHARACTER_SET
public static final RuntimeConfig.Field CNI_DIFF_FACTOR_DEFAULT
public static final RuntimeConfig.Field CNI_SMALL_DEFAULT
public static final RuntimeConfig.Field CNI_STOP_RECURSION_DEFAULT
public static final RuntimeConfig.Field DFS_THRESHOLD_LARGE
public static final RuntimeConfig.Field ENTERPRISE_SCHEDULER_FLAGS
public static final RuntimeConfig.Field EXPLICIT_SPIN_LOCKS
true
means spin explicitly in a loop until lock becomes available. false
means using JDK locks which rely on the JVM to decide whether to context switch or spin. Our experiments showed that setting this value to true
results in better performance.public static final RuntimeConfig.Field GRAPH_VALIDATION_LEVEL
public static final RuntimeConfig.Field LARGE_ARRAY_THRESHOLD
Integer.MAX_VALUE - 3
)public static final RuntimeConfig.Field MAX_DISTINCT_STRINGS_PER_POOL
public static final RuntimeConfig.Field MAX_OFF_HEAP_SIZE
public static final RuntimeConfig.Field MEMORY_ALLOCATOR
public static final RuntimeConfig.Field MS_BFS_FRONTIER_TYPE_STRATEGY
public static final RuntimeConfig.Field NUM_SPIN_LOCKS
public static final RuntimeConfig.Field PARALLELISM
public static final RuntimeConfig.Field PATTERN_MATCHING_SUPERNODE_CACHE_THRESHOLD
public static final RuntimeConfig.Field POOLING_FACTOR
public static final RuntimeConfig.Field RANDOM_GENERATOR_STRATEGY
public static final RuntimeConfig.Field RANDOM_SEED
public static final RuntimeConfig.Field REVISIT_THRESHOLD
public static final RuntimeConfig.Field SCHEDULER
public static final RuntimeConfig.Field SMALL_TASK_LENGTH
public static final RuntimeConfig.Field STRING_POOLING_STRATEGY
public static final RuntimeConfig.Field TASK_LENGTH
public static final RuntimeConfig.Field USE_INDEX_FOR_REACHABILITY_QUERIES
public static final RuntimeConfig.Field USE_MEMORY_MAPPER_FOR_READING_PGB
public static final RuntimeConfig.Field USE_MEMORY_MAPPER_FOR_STORING_PGB
public java.lang.Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public java.util.List<java.lang.String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigField
getSingletonListKeyAliases
in interface ConfigField
public java.lang.Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isHidden()
ConfigField
isHidden
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public boolean isSensitive()
ConfigField
isSensitive
in interface ConfigField
public java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<RuntimeConfig.Field>
public static RuntimeConfig.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RuntimeConfig.Field[] values()
for (RuntimeConfig.Field c : RuntimeConfig.Field.values()) System.out.println(c);