Package oracle.pgx.config
Enum RdbmsEntityProviderConfig.Field
- java.lang.Object
-
- java.lang.Enum<RdbmsEntityProviderConfig.Field>
-
- oracle.pgx.config.RdbmsEntityProviderConfig.Field
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RdbmsEntityProviderConfig.Field>,ConfigField
- Enclosing class:
- RdbmsEntityProviderConfig
public static enum RdbmsEntityProviderConfig.Field extends java.lang.Enum<RdbmsEntityProviderConfig.Field> implements ConfigField
Fields of PGX Engine Rdbms Entity Provider Config
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AS_OFSCN value to use when executing Oracle Flashback queries, use `<current-scn>` to determine SCN automatically during loading.ATTRIBUTESadditional attributes needed to read/write the graph dataDATA_SOURCE_IDdata source id to use to connect to an RDBMS instanceDATABASE_TABLE_NAMEname of the table in the databaseDESTINATION_COLUMNname of the column in the database containing the keys of the destination verticesDESTINATION_VERTEX_PROVIDERname of the destination vertex provider to be used for this edge providerERROR_HANDLINGerror handling configurationFORMATprovider formatHAS_KEYSindicates if the provided entities data have keysJDBC_URLjdbc URL pointing to an RDBMS instanceKEY_COLUMNname of the column in the database table containing the keys of the entitiesKEY_TYPEtype of the keysKEYSTORE_ALIASalias to the keystore to use when connecting to databaseLABELlabel for the entities loaded from this providerLOADINGloading-specific configurationLOCAL_DATE_FORMATarray of local_date formats to use when loading and storing local_date properties.MAX_PREFETCHED_ROWSmaximum number of rows prefetched during each round trip resultset-databaseNAMEentity provider nameNUM_CONNECTIONSnumber of connections to read/write data from/to the RDBMS table.PARALLEL_HINT_DEGREEparallel hint degree to use for internal queries.PASSWORDpassword to use when connecting to databasePOINT2Dlongitude and latitude as floating point values separated by a spacePROPSspecification of the properties associated with this entity providerSCHEMAschema to use when reading/writing RDBMS objectsSOURCE_COLUMNname of the column in the database containing the keys of the source verticesSOURCE_VERTEX_PROVIDERname of the source vertex provider to be used for this edge providerTIME_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 properties
-
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 RdbmsEntityProviderConfig.FieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RdbmsEntityProviderConfig.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
-
DATABASE_TABLE_NAME
public static final RdbmsEntityProviderConfig.Field DATABASE_TABLE_NAME
name of the table in the database
-
AS_OF
public static final RdbmsEntityProviderConfig.Field AS_OF
SCN value to use when executing Oracle Flashback queries, use `<current-scn>` to determine SCN automatically during loading. Use `<no-scn>` to disable this feature.
-
PARALLEL_HINT_DEGREE
public static final RdbmsEntityProviderConfig.Field PARALLEL_HINT_DEGREE
parallel hint degree to use for internal queries. If the value is negative, the parallel hint will be omitted. If the value is zero, a parallel hint without degree is generated.
-
KEY_COLUMN
public static final RdbmsEntityProviderConfig.Field KEY_COLUMN
name of the column in the database table containing the keys of the entities
-
SOURCE_COLUMN
public static final RdbmsEntityProviderConfig.Field SOURCE_COLUMN
name of the column in the database containing the keys of the source vertices
-
DESTINATION_COLUMN
public static final RdbmsEntityProviderConfig.Field DESTINATION_COLUMN
name of the column in the database containing the keys of the destination vertices
-
NUM_CONNECTIONS
public static final RdbmsEntityProviderConfig.Field NUM_CONNECTIONS
number of connections to read/write data from/to the RDBMS table. For the distributed runtime, this value will be multiplied by the number of machines used
-
SCHEMA
public static final RdbmsEntityProviderConfig.Field SCHEMA
schema to use when reading/writing RDBMS objects
-
JDBC_URL
public static final RdbmsEntityProviderConfig.Field JDBC_URL
jdbc URL pointing to an RDBMS instance
-
USERNAME
public static final RdbmsEntityProviderConfig.Field USERNAME
username to use when connecting to an RDBMS instance
-
DATA_SOURCE_ID
public static final RdbmsEntityProviderConfig.Field DATA_SOURCE_ID
data source id to use to connect to an RDBMS instance
-
MAX_PREFETCHED_ROWS
public static final RdbmsEntityProviderConfig.Field MAX_PREFETCHED_ROWS
maximum number of rows prefetched during each round trip resultset-database
-
NAME
public static final RdbmsEntityProviderConfig.Field NAME
entity provider name
-
LABEL
public static final RdbmsEntityProviderConfig.Field LABEL
label for the entities loaded from this provider
-
FORMAT
public static final RdbmsEntityProviderConfig.Field FORMAT
provider format
-
PROPS
public static final RdbmsEntityProviderConfig.Field PROPS
specification of the properties associated with this entity provider
-
KEY_TYPE
public static final RdbmsEntityProviderConfig.Field KEY_TYPE
type of the keys
-
SOURCE_VERTEX_PROVIDER
public static final RdbmsEntityProviderConfig.Field SOURCE_VERTEX_PROVIDER
name of the source vertex provider to be used for this edge provider
-
DESTINATION_VERTEX_PROVIDER
public static final RdbmsEntityProviderConfig.Field DESTINATION_VERTEX_PROVIDER
name of the destination vertex provider to be used for this edge provider
-
LOADING
public static final RdbmsEntityProviderConfig.Field LOADING
loading-specific configuration
-
HAS_KEYS
public static final RdbmsEntityProviderConfig.Field HAS_KEYS
indicates if the provided entities data have keys
-
ERROR_HANDLING
public static final RdbmsEntityProviderConfig.Field ERROR_HANDLING
error handling configuration
-
LOCAL_DATE_FORMAT
public static final RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.Field VECTOR_COMPONENT_DELIMITER
delimiter for the different components of vector properties
-
POINT2D
public static final RdbmsEntityProviderConfig.Field POINT2D
longitude and latitude as floating point values separated by a space
-
ATTRIBUTES
public static final RdbmsEntityProviderConfig.Field ATTRIBUTES
additional attributes needed to read/write the graph data
-
PASSWORD
public static final RdbmsEntityProviderConfig.Field PASSWORD
password to use when connecting to database
-
KEYSTORE_ALIAS
public static final RdbmsEntityProviderConfig.Field KEYSTORE_ALIAS
alias to the keystore to use when connecting to database
-
-
Method Detail
-
values
public static RdbmsEntityProviderConfig.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 (RdbmsEntityProviderConfig.Field c : RdbmsEntityProviderConfig.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 RdbmsEntityProviderConfig.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<RdbmsEntityProviderConfig.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
-
-