@Generated(value="config_generator.py") public class PartitionedGraphConfig extends AbstractPartitionedGraphConfig
Modifier and Type | Class and Description |
---|---|
static class |
PartitionedGraphConfig.Field
Fields of PGX Engine Partitioned Graph Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getArrayCompactionThreshold()
[only relevant if the graph is optimized for updates] threshold used to determined when to compact the delta-logs into a new array.
|
java.util.Map |
getAttributes()
additional attributes needed to read/write the graph data
|
static PartitionedGraphConfig.Field[] |
getConfigFields() |
java.lang.String |
getDataSourceId()
data source id to use to connect to an RDBMS instance
|
IdStrategy |
getEdgeIdStrategy()
Indicates what ID strategy should be used for the edges of this graph.
|
IdType |
getEdgeIdType()
type of the edge ID.
|
java.util.List<EntityProviderConfig> |
getEdgeProviders()
list of edge providers in this graph
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
java.lang.String |
getEsIndexName()
Index name on the Elasticsearch server form which graph data is loaded
|
java.lang.String |
getEsUrl()
Elasticsearch URL pointing to an Elasticsearch instance
|
java.util.List<ExternalStoreConfig> |
getExternalStores()
Specification of the external stores where external string properties reside.
|
java.lang.String |
getJdbcUrl()
jdbc URL pointing to an RDBMS instance
|
java.lang.String |
getKeystoreAlias()
alias to the keystore to use when connecting to database
|
java.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
java.util.List<java.lang.String> |
getLocalDateFormat()
array of local_date formats to use when loading and storing local_date properties.
|
java.lang.Integer |
getMaxBatchSize()
maximal batch size of Elasticsearch response objects
|
java.lang.Integer |
getMaxPrefetchedRows()
maximum number of rows prefetched during each round trip resultset-database
|
java.lang.String |
getName()
name of the graph
|
java.lang.Integer |
getNumConnections()
number of connections to read/write data from/to the RDBMS table
|
GraphOptimizedFor |
getOptimizedFor()
Indicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updates
|
java.lang.String |
getPgViewName()
name of the PG view in the database to load the graph from
|
java.lang.String |
getPoint2d()
longitude and latitude as floating point values separated by a space
|
java.util.List<PreparedQueryConfig> |
getPreparedQueries()
An additional list of prepared queries with arguments, working in the same way as 'queries'.
|
java.lang.String |
getProxyUrl()
proxy server URL to be used for connection to es_url
|
java.util.List<java.lang.String> |
getQueries()
A list of queries used to determine which data to load from the database.
|
java.util.List<oracle.pgx.config.PgxRedactionRuleConfig> |
getRedactionRules()
array of redaction rules
|
java.util.List<oracle.pgx.config.PgxRedactionRuleMappingConfig> |
getRulesMapping()
mapping for redaction rules to users/roles
|
java.lang.String |
getSchema()
schema to use when reading/writing RDBMS objects
|
java.lang.String |
getScrollTime()
time to keep Elasticsearch-scroll alive, batch data needs to be received and processed in that time window.
|
java.util.List<java.lang.String> |
getTimeFormat()
the time format to use when loading and storing time properties.
|
java.util.List<java.lang.String> |
getTimestampFormat()
the timestamp format to use when loading and storing timestamp properties.
|
java.util.List<java.lang.String> |
getTimestampWithTimezoneFormat()
the timestamp with timezone format to use when loading and storing timestamp with timezone properties.
|
java.util.List<java.lang.String> |
getTimeWithTimezoneFormat()
the time with timezone format to use when loading and storing time with timezone properties.
|
java.lang.String |
getUsername()
username to use when connecting to an RDBMS instance
|
java.util.Map<PartitionedGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PartitionedGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.lang.Character |
getVectorComponentDelimiter()
delimiter for the different components of vector properties
|
IdStrategy |
getVertexIdStrategy()
Indicates what ID strategy should be used for the vertices of this graph.
|
IdType |
getVertexIdType()
type of the vertex ID.
|
java.util.List<EntityProviderConfig> |
getVertexProviders()
list of vertex providers in this graph
|
boolean |
hasDefaultValue(PartitionedGraphConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
static PartitionedGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static PartitionedGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PartitionedGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getEdgeProps, getFormat, getPartitionWhileLoading, getValidatedEdgeIdStrategy, getValidatedEdgeIdType, getValidatedVertexIdStrategy, getValidatedVertexIdType, getVertexProps, hashCode, toGraphConfigBuilder
getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getLoadingOptions, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, getVertexPropertyTypes, hasVerticesAndEdgesSeparatedFileFormat, hasVerticesAndEdgesSeparatedFileFormat, isEdgeLabelLoadingEnabled, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, isVertexLabelsLoadingEnabled, numEdgeProperties, numNodeProperties, skipEdgeLoading, skipVertexLoading, supportsEdgeLabel, supportsEdgeLabel, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties, supportsVectorProperties, supportsVertexLabels, supportsVertexLabels
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat
public boolean equals(java.lang.Object obj)
equals
in class AbstractPartitionedGraphConfig
public java.lang.Double getArrayCompactionThreshold()
getArrayCompactionThreshold
in class GraphConfig
public java.util.Map getAttributes()
public static PartitionedGraphConfig.Field[] getConfigFields()
public java.lang.String getDataSourceId()
public IdStrategy getEdgeIdStrategy()
public IdType getEdgeIdType()
getEdgeIdType
in class GraphConfig
public java.util.List<EntityProviderConfig> getEdgeProviders()
getEdgeProviders
in class AbstractPartitionedGraphConfig
public GraphErrorHandlingConfig getErrorHandling()
public java.lang.String getEsIndexName()
public java.lang.String getEsUrl()
public java.util.List<ExternalStoreConfig> getExternalStores()
getExternalStores
in class AbstractPartitionedGraphConfig
public java.lang.String getJdbcUrl()
public java.lang.String getKeystoreAlias()
public java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public java.util.List<java.lang.String> getLocalDateFormat()
public java.lang.Integer getMaxBatchSize()
public java.lang.Integer getMaxPrefetchedRows()
public java.lang.String getName()
public java.lang.Integer getNumConnections()
getNumConnections
in class AbstractPartitionedGraphConfig
public GraphOptimizedFor getOptimizedFor()
getOptimizedFor
in class GraphConfig
by_label
if the graph should be partitioned during loading, false
Indicates if the graph should use data-structures optimized for fast updatespublic java.lang.String getPgViewName()
public java.lang.String getPoint2d()
public java.util.List<PreparedQueryConfig> getPreparedQueries()
public java.lang.String getProxyUrl()
public java.util.List<java.lang.String> getQueries()
public java.util.List<oracle.pgx.config.PgxRedactionRuleConfig> getRedactionRules()
getRedactionRules
in class AbstractPartitionedGraphConfig
public java.util.List<oracle.pgx.config.PgxRedactionRuleMappingConfig> getRulesMapping()
getRulesMapping
in class AbstractPartitionedGraphConfig
public java.lang.String getSchema()
public java.lang.String getScrollTime()
public java.util.List<java.lang.String> getTimeFormat()
public java.util.List<java.lang.String> getTimestampFormat()
public java.util.List<java.lang.String> getTimestampWithTimezoneFormat()
public java.util.List<java.lang.String> getTimeWithTimezoneFormat()
public java.lang.String getUsername()
public java.util.Map<PartitionedGraphConfig.Field,java.lang.Object> getValues()
getValues
in class AbstractConfig
public java.util.Map<PartitionedGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.lang.Character getVectorComponentDelimiter()
public IdStrategy getVertexIdStrategy()
public IdType getVertexIdType()
getVertexIdType
in class GraphConfig
public java.util.List<EntityProviderConfig> getVertexProviders()
getVertexProviders
in class AbstractPartitionedGraphConfig
public boolean hasDefaultValue(PartitionedGraphConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public static PartitionedGraphConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is
- the input streamstrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathjava.io.IOException
- Signals that an I/O exception has occurred.public static PartitionedGraphConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathpublic static PartitionedGraphConfig parse(java.util.Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean hideSensitiveData)