Package oracle.pgx.config
Enum PgRdbmsGraphConfig.Field
- java.lang.Object
-
- java.lang.Enum<PgRdbmsGraphConfig.Field>
-
- oracle.pgx.config.PgRdbmsGraphConfig.Field
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PgRdbmsGraphConfig.Field>,ConfigField
- Enclosing class:
- PgRdbmsGraphConfig
public static enum PgRdbmsGraphConfig.Field extends java.lang.Enum<PgRdbmsGraphConfig.Field> implements ConfigField
Fields of PGX Engine PG RDBMS Graph Config
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_COMPACTION_THRESHOLD[only relevant if the graph is optimized for updates] threshold used to determined when to compact the delta-logs into a new array.ATTRIBUTESadditional attributes needed to read/write the graph dataDATA_SOURCE_IDdata source id to use to connect to an RDBMS instanceDB_ENGINEunderlying database engineEDGE_ID_STRATEGYIndicates what ID strategy should be used for the edges of this graph.EDGE_ID_TYPEtype of the edge ID.EDGE_PROPSspecification of edge properties associated with graphEDGES_VIEW_NAMEthe name of view for edgesERROR_HANDLINGerror handling configurationEXTERNAL_STORESSpecification of the external stores where external string properties reside.FORMATgraph formatJDBC_URLjdbc URL pointing to an RDBMS instanceKEYSTORE_ALIASalias to the keystore to use when connecting to databaseLABELthe label to use when reading the graphLOADINGloading-specific configurationLOCAL_DATE_FORMATarray of local_date formats to use when loading and storing local_date properties.MAX_NUM_CONNECTIONSmaximum number of database connections to use when reading the graphMAX_PREFETCHED_ROWSmaximum number of rows prefetched during each round trip resultset-databaseNAMEprefix of the table name (for edge and vertex tables)OPTIMIZED_FORIndicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updatesOPTIONSa parameter that is used by the data access layer (and the underlying database) to change default behaviors of graph instance creation or initialization.OWNERowner (username) of graph in case it differs from given usernamePARTITION_WHILE_LOADINGIndicates if the graph should be partitioned while loadingPASSWORDpassword to use when connecting to databasePOINT2Dlongitude and latitude as floating point values separated by a spaceROW_LABELthe row label to use when reading the graphSECURITY_POLICYthe policy for the given label or row labelTIME_FORMATthe time format to use when loading and storing time properties.TIME_WITH_TIMEZONE_FORMATthe time with timezone format to use when loading and storing time with timezone properties.TIMESTAMP_FORMATthe timestamp format to use when loading and storing timestamp properties.TIMESTAMP_WITH_TIMEZONE_FORMATthe timestamp with timezone format to use when loading and storing timestamp with timezone properties.USERNAMEusername to use when connecting to an RDBMS instanceVECTOR_COMPONENT_DELIMITERdelimiter for the different components of vector propertiesVERTEX_ID_STRATEGYIndicates what ID strategy should be used for the vertices of this graph.VERTEX_ID_TYPEtype of the vertex ID.VERTEX_PROPSspecification of vertex properties associated with graphVERTICES_VIEW_NAMEthe name of view for verticesVIEW_PARALLEL_HINT_DEGREEif view names are given, the resulting query will be hinted to run in parallel with the given degree.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetDefaultVal()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.booleanisArray()Checks if this field is an array.booleanisHidden()Checks if this field should be hidden.booleanisPath()Checks if this field is a path.booleanisRequired()Checks if this field is required.booleanisSensitive()Checks if this field holds a sensitive data.java.lang.StringtoKey()Get the key of this field, which is how this field is represented in serialized form.java.lang.StringtoString()static PgRdbmsGraphConfig.FieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PgRdbmsGraphConfig.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface oracle.pgx.config.ConfigField
isEnum, isPrimitive
-
-
-
-
Enum Constant Detail
-
OWNER
public static final PgRdbmsGraphConfig.Field OWNER
owner (username) of graph in case it differs from given username
-
SECURITY_POLICY
public static final PgRdbmsGraphConfig.Field SECURITY_POLICY
the policy for the given label or row label
-
LABEL
public static final PgRdbmsGraphConfig.Field LABEL
the label to use when reading the graph
-
ROW_LABEL
public static final PgRdbmsGraphConfig.Field ROW_LABEL
the row label to use when reading the graph
-
OPTIONS
public static final PgRdbmsGraphConfig.Field OPTIONS
a parameter that is used by the data access layer (and the underlying database) to change default behaviors of graph instance creation or initialization. Please refer to the data access layer documentation for possible configuration options
-
VERTICES_VIEW_NAME
public static final PgRdbmsGraphConfig.Field VERTICES_VIEW_NAME
the name of view for vertices
-
EDGES_VIEW_NAME
public static final PgRdbmsGraphConfig.Field EDGES_VIEW_NAME
the name of view for edges
-
VIEW_PARALLEL_HINT_DEGREE
public static final PgRdbmsGraphConfig.Field VIEW_PARALLEL_HINT_DEGREE
if view names are given, the resulting query will be hinted to run in parallel with the given degree. If the value is negative, the parallel hint will be omitted. If the value is zero, a parallel hint without degree is generated.
-
JDBC_URL
public static final PgRdbmsGraphConfig.Field JDBC_URL
jdbc URL pointing to an RDBMS instance
-
USERNAME
public static final PgRdbmsGraphConfig.Field USERNAME
username to use when connecting to an RDBMS instance
-
DATA_SOURCE_ID
public static final PgRdbmsGraphConfig.Field DATA_SOURCE_ID
data source id to use to connect to an RDBMS instance
-
MAX_PREFETCHED_ROWS
public static final PgRdbmsGraphConfig.Field MAX_PREFETCHED_ROWS
maximum number of rows prefetched during each round trip resultset-database
-
DB_ENGINE
public static final PgRdbmsGraphConfig.Field DB_ENGINE
underlying database engine
-
NAME
public static final PgRdbmsGraphConfig.Field NAME
prefix of the table name (for edge and vertex tables)
-
MAX_NUM_CONNECTIONS
public static final PgRdbmsGraphConfig.Field MAX_NUM_CONNECTIONS
maximum number of database connections to use when reading the graph
-
OPTIMIZED_FOR
public static final PgRdbmsGraphConfig.Field OPTIMIZED_FOR
Indicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updates
-
PARTITION_WHILE_LOADING
public static final PgRdbmsGraphConfig.Field PARTITION_WHILE_LOADING
Indicates if the graph should be partitioned while loading
-
VERTEX_ID_STRATEGY
public static final PgRdbmsGraphConfig.Field VERTEX_ID_STRATEGY
Indicates what ID strategy should be used for the vertices of this graph. If not specified (or set to null), the strategy will be automatically detected
-
EDGE_ID_STRATEGY
public static final PgRdbmsGraphConfig.Field EDGE_ID_STRATEGY
Indicates what ID strategy should be used for the edges of this graph. If not specified (or set to null), the strategy will be determined during loading or using a default value
-
VERTEX_ID_TYPE
public static final PgRdbmsGraphConfig.Field VERTEX_ID_TYPE
type of the vertex ID. For homogeneous graphs, if not specified (or set to null), it will default to a specific value (depending on the origin of the data).
-
EDGE_ID_TYPE
public static final PgRdbmsGraphConfig.Field EDGE_ID_TYPE
type of the edge ID. For homogeneous graphs, if not specified (or set to null), it will default to long.
-
FORMAT
public static final PgRdbmsGraphConfig.Field FORMAT
graph format
-
ARRAY_COMPACTION_THRESHOLD
public static final PgRdbmsGraphConfig.Field ARRAY_COMPACTION_THRESHOLD
[only relevant if the graph is optimized for updates] threshold used to determined when to compact the delta-logs into a new array. If lower than the engine min_array_compaction_threshold value, min_array_compaction_threshold will be used instead
-
VERTEX_PROPS
public static final PgRdbmsGraphConfig.Field VERTEX_PROPS
specification of vertex properties associated with graph
-
EDGE_PROPS
public static final PgRdbmsGraphConfig.Field EDGE_PROPS
specification of edge properties associated with graph
-
LOADING
public static final PgRdbmsGraphConfig.Field LOADING
loading-specific configuration
-
EXTERNAL_STORES
public static final PgRdbmsGraphConfig.Field EXTERNAL_STORES
Specification of the external stores where external string properties reside.
-
ERROR_HANDLING
public static final PgRdbmsGraphConfig.Field ERROR_HANDLING
error handling configuration
-
LOCAL_DATE_FORMAT
public static final PgRdbmsGraphConfig.Field LOCAL_DATE_FORMAT
array of local_date formats to use when loading and storing local_date properties. Please see DateTimeFormatter for a documentation of the format string
-
TIME_FORMAT
public static final PgRdbmsGraphConfig.Field TIME_FORMAT
the time format to use when loading and storing time properties. Please see DateTimeFormatter for a documentation of the format string
-
TIMESTAMP_FORMAT
public static final PgRdbmsGraphConfig.Field TIMESTAMP_FORMAT
the timestamp format to use when loading and storing timestamp properties. Please see DateTimeFormatter for a documentation of the format string
-
TIME_WITH_TIMEZONE_FORMAT
public static final PgRdbmsGraphConfig.Field TIME_WITH_TIMEZONE_FORMAT
the time with timezone format to use when loading and storing time with timezone properties. Please see DateTimeFormatter for a documentation of the format string
-
TIMESTAMP_WITH_TIMEZONE_FORMAT
public static final PgRdbmsGraphConfig.Field TIMESTAMP_WITH_TIMEZONE_FORMAT
the timestamp with timezone format to use when loading and storing timestamp with timezone properties. Please see DateTimeFormatter for a documentation of the format string
-
VECTOR_COMPONENT_DELIMITER
public static final PgRdbmsGraphConfig.Field VECTOR_COMPONENT_DELIMITER
delimiter for the different components of vector properties
-
POINT2D
public static final PgRdbmsGraphConfig.Field POINT2D
longitude and latitude as floating point values separated by a space
-
ATTRIBUTES
public static final PgRdbmsGraphConfig.Field ATTRIBUTES
additional attributes needed to read/write the graph data
-
PASSWORD
public static final PgRdbmsGraphConfig.Field PASSWORD
password to use when connecting to database
-
KEYSTORE_ALIAS
public static final PgRdbmsGraphConfig.Field KEYSTORE_ALIAS
alias to the keystore to use when connecting to database
-
-
Method Detail
-
values
public static PgRdbmsGraphConfig.Field[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PgRdbmsGraphConfig.Field c : PgRdbmsGraphConfig.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PgRdbmsGraphConfig.Field valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getKeyAliases
public java.util.List<java.lang.String> getKeyAliases()
Description copied from interface:ConfigFieldGets the key aliases of this field which are also recognized during parsing.- Specified by:
getKeyAliasesin interfaceConfigField- Returns:
- the key aliases
-
getSingletonListKeyAliases
public java.util.List<java.lang.String> getSingletonListKeyAliases()
Description copied from interface:ConfigFieldGets the key aliases of this field which contain single values for lists and are also recognized during parsing.- Specified by:
getSingletonListKeyAliasesin interfaceConfigField- Returns:
- the singleton list key aliases
-
getType
public java.lang.Class<?> getType()
Description copied from interface:ConfigFieldGets the type of this field.- Specified by:
getTypein interfaceConfigField- Returns:
- the type
-
isRequired
public boolean isRequired()
Description copied from interface:ConfigFieldChecks if this field is required.- Specified by:
isRequiredin interfaceConfigField- Returns:
- true, if required
-
isArray
public boolean isArray()
Description copied from interface:ConfigFieldChecks if this field is an array.- Specified by:
isArrayin interfaceConfigField- Returns:
- true, if array
-
isPath
public boolean isPath()
Description copied from interface:ConfigFieldChecks if this field is a path.- Specified by:
isPathin interfaceConfigField- Returns:
- true, if path
-
getDefaultVal
public java.lang.Object getDefaultVal()
Description copied from interface:ConfigFieldGets the default value of this field.- Specified by:
getDefaultValin interfaceConfigField- Returns:
- the default value
-
toKey
public java.lang.String toKey()
Description copied from interface:ConfigFieldGet the key of this field, which is how this field is represented in serialized form.- Specified by:
toKeyin interfaceConfigField- Returns:
- the key.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<PgRdbmsGraphConfig.Field>
-
isSensitive
public boolean isSensitive()
Description copied from interface:ConfigFieldChecks if this field holds a sensitive data.- Specified by:
isSensitivein interfaceConfigField- Returns:
- true, if use for sensitive data
-
isHidden
public boolean isHidden()
Description copied from interface:ConfigFieldChecks if this field should be hidden. Hidden fields are used to hid desired field from the user and only allow it for internal usage.- Specified by:
isHiddenin interfaceConfigField- Returns:
- true if field should be hidden, false otherwise
-
-