public static enum GraphPropertyConfig.Field extends java.lang.Enum<GraphPropertyConfig.Field> implements ConfigField
Enum Constant and Description |
---|
COLUMN
name or index (starting from 0) of the column holding the property data.
|
DEFAULT
default value to be assigned to this property if datasource does not provide it.
|
DIMENSION
dimension of property
|
FORMAT
array of formats of property
|
MAX_DISTINCT_STRINGS_PER_POOL
[only relevant if string_pooling_strategy is indexed] amount of distinct strings per property after which to stop pooling.
|
NAME
name of property
|
STORES
A list of storage identifiers that indicate where this property resides.
|
STRING_POOLING_STRATEGY
[only relevant if use_string_pool is enabled] which string pooling strategy to use.
|
TYPE
type of property (Note: date is deprecated, use one of local_date / time / timestamp / time_with_timezone / timestamp_with_timezone instead).
|
USE_STRING_POOL
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 |
---|---|
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 GraphPropertyConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphPropertyConfig.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 GraphPropertyConfig.Field COLUMN
public static final GraphPropertyConfig.Field DEFAULT
yyyy-MM-dd HH:mm:ss
. If no default is present (null
), non-existent properties will contain default Java types (primitives) or empty string (string) or 01.01.1970 00:00
(date).public static final GraphPropertyConfig.Field DIMENSION
public static final GraphPropertyConfig.Field FORMAT
public static final GraphPropertyConfig.Field MAX_DISTINCT_STRINGS_PER_POOL
public static final GraphPropertyConfig.Field NAME
public static final GraphPropertyConfig.Field STORES
public static final GraphPropertyConfig.Field STRING_POOLING_STRATEGY
public static final GraphPropertyConfig.Field TYPE
public static final GraphPropertyConfig.Field USE_STRING_POOL
true
, PGX will store string properties in a pool in order to consume less memory on string propertiespublic 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<GraphPropertyConfig.Field>
public static GraphPropertyConfig.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 GraphPropertyConfig.Field[] values()
for (GraphPropertyConfig.Field c : GraphPropertyConfig.Field.values()) System.out.println(c);
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.