@Generated(value="config_generator.py") public class RdfGraphConfig extends AbstractRdfGraphConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
RdfGraphConfig.Field
Fields of PGX Engine RDF Graph Config
|
ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAcceptedPredicates()
predicates of triples that are transformed to edges
|
java.lang.String |
getDataSourceId()
the data source id to use to connect to database
|
java.lang.String |
getDateFormat()
the date format to use when loading and storing date properties.
|
java.util.List<GraphPropertyConfig> |
getEdgeProps()
specification of edge properties associated with graph
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
Format |
getFormat()
graph format (Note: bin is deprecated, use pgb instead)
|
java.util.List<java.lang.String> |
getIgnoredPredicates()
predicates of triples that are ignored
|
java.lang.String |
getJdbcUrl()
jdbc URL pointing to database
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
java.lang.String |
getName()
RDF model name in database
|
java.lang.String |
getPassword()
password to use when connecting to database
|
java.util.List<RdfGraphPrefixConfig> |
getPrefixes()
IRI prefixes
|
java.lang.String |
getUsername()
username to use when connecting to database
|
java.util.Map<RdfGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<RdfGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
IdType |
getVertexIdType()
type of the vertex id
|
java.util.List<java.lang.String> |
getVertexLabelPredicates()
predicates of triples that are transformed to vertex labels
|
java.util.List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
boolean |
hasDefaultValue(RdfGraphConfig.Field field)
Checks for default value.
|
java.lang.Boolean |
hasEdgeLabel()
Deprecated.
|
java.lang.Boolean |
hasVertexLabels()
Deprecated.
|
boolean |
isEmpty()
Checks if it's empty.
|
static RdfGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static RdfGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static RdfGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
equals, hashCode, isBlackListModecreateDateFormat, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getLoadingFilter, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, getVertexPropertyTypes, hasVerticesAndEdgesSeparatedFileFormat, hasVerticesAndEdgesSeparatedFileFormat, isEdgeLabelLoadingEnabled, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, isVertexLabelsLoadingEnabled, numEdgeProperties, numNodeProperties, supportsEdgeLabel, supportsEdgeLabel, supportsVertexLabels, supportsVertexLabelsgetValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablepublic java.util.List<java.lang.String> getAcceptedPredicates()
getAcceptedPredicates in class AbstractRdfGraphConfigpublic java.lang.String getDataSourceId()
getDataSourceId in class AbstractRdfGraphConfigpublic java.lang.String getDateFormat()
getDateFormat in class GraphConfigpublic java.util.List<GraphPropertyConfig> getEdgeProps()
getEdgeProps in class GraphConfigpublic GraphErrorHandlingConfig getErrorHandling()
getErrorHandling in class GraphConfigpublic Format getFormat()
getFormat in class GraphConfigpublic java.util.List<java.lang.String> getIgnoredPredicates()
getIgnoredPredicates in class AbstractRdfGraphConfigpublic java.lang.String getJdbcUrl()
getJdbcUrl in class AbstractRdfGraphConfigpublic GraphLoadingConfig getLoading()
getLoading in class GraphConfigpublic java.lang.String getName()
getName in class GraphConfigpublic java.lang.String getPassword()
getPassword in class AbstractRdfGraphConfigpublic java.util.List<RdfGraphPrefixConfig> getPrefixes()
getPrefixes in class AbstractRdfGraphConfigpublic java.lang.String getUsername()
getUsername in class AbstractRdfGraphConfigpublic java.util.Map<RdfGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<RdfGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public IdType getVertexIdType()
getVertexIdType in class GraphConfigpublic java.util.List<java.lang.String> getVertexLabelPredicates()
getVertexLabelPredicates in class AbstractRdfGraphConfigpublic java.util.List<GraphPropertyConfig> getVertexProps()
getVertexProps in class GraphConfigpublic boolean hasDefaultValue(RdfGraphConfig.Field field)
field - the field@Deprecated public java.lang.Boolean hasEdgeLabel()
hasEdgeLabel in class GraphConfigtrue if this graph configuration has the edge label, false otherwise@Deprecated public java.lang.Boolean hasVertexLabels()
hasVertexLabels in class GraphConfigtrue if this graph configuration has the vertex label, false otherwisepublic boolean isEmpty()
public static RdfGraphConfig 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 RdfGraphConfig 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 RdfGraphConfig 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.ObjectCopyright © 2017 Oracle Corp. All Rights Reserved.