@Generated(value="config_generator.py") public class FileEntityProviderConfig extends AbstractFileEntityProviderConfig
Modifier and Type | Class and Description |
---|---|
static class |
FileEntityProviderConfig.Field
Fields of PGX Engine File Entity Provider Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map |
getAttributes()
additional attributes needed to read/write the graph data
|
static FileEntityProviderConfig.Field[] |
getConfigFields() |
java.lang.Object |
getDestinationColumn()
name or index (starting from 1) of column corresponding to edge destination (for CSV format only)
|
java.lang.String |
getDestinationVertexProvider()
name of the destination vertex provider to be used for this edge provider
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
ProviderFormat |
getFormat()
provider format
|
java.lang.Object |
getKeyColumn()
name or index (starting from 1) of column corresponding to keys (for CSV format only)
|
java.lang.String |
getKeystoreAlias()
alias to the keystore to use when connecting to database
|
IdType |
getKeyType()
type of the keys
|
java.lang.String |
getLabel()
label for the entities loaded from this provider
|
ProviderLoadingConfig |
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.String |
getName()
entity provider name
|
java.lang.String |
getPoint2d()
longitude and latitude as floating point values separated by a space
|
java.util.List<GraphPropertyConfig> |
getProps()
specification of the properties associated with this entity provider
|
java.lang.String |
getSeparator()
a series of single-character separators for tokenizing.
|
java.lang.Object |
getSourceColumn()
name or index (starting from 1) of column corresponding to edge source (for CSV format only)
|
java.lang.String |
getSourceVertexProvider()
name of the source vertex provider to be used for this edge provider
|
FileGraphStoringConfig |
getStoring()
storing-specific configuration
|
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.util.List<java.lang.String> |
getUris()
list of unified resource identifiers
|
java.util.Map<FileEntityProviderConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<FileEntityProviderConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.lang.Character |
getVectorComponentDelimiter()
delimiter for the different components of vector properties
|
boolean |
hasDefaultValue(FileEntityProviderConfig.Field field)
Checks for default value.
|
java.lang.Boolean |
hasKeys()
indicates if the provided entities data have keys
|
java.lang.Boolean |
isDetectGzip()
enable/disable automatic gzip compression detection when loading graphs
|
boolean |
isEmpty()
Checks if it's empty.
|
java.lang.Boolean |
isHeader()
first line of file is meant for headers, e.g.
|
static FileEntityProviderConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static FileEntityProviderConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static FileEntityProviderConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getStoringOptions, hashCode, toEntityProviderConfigBuilder
getDestinationVertexKeyType, getPropertyDefault, getPropertyDimension, getPropertyName, getPropertyType, getSourceVertexKeyType, isKeyMappingEnabled, isLabelLoadingEnabled, numProperties, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties, supportsVectorProperties
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat
public boolean equals(java.lang.Object obj)
equals
in class EntityProviderConfig
public java.util.Map getAttributes()
getAttributes
in interface CommonLoadableConfig<ProviderFormat>
getAttributes
in class AbstractFileEntityProviderConfig
public static FileEntityProviderConfig.Field[] getConfigFields()
public java.lang.Object getDestinationColumn()
getDestinationColumn
in class AbstractFileEntityProviderConfig
public java.lang.String getDestinationVertexProvider()
getDestinationVertexProvider
in class EntityProviderConfig
public GraphErrorHandlingConfig getErrorHandling()
public ProviderFormat getFormat()
public java.lang.Object getKeyColumn()
getKeyColumn
in class AbstractFileEntityProviderConfig
public java.lang.String getKeystoreAlias()
public IdType getKeyType()
getKeyType
in class EntityProviderConfig
public java.lang.String getLabel()
getLabel
in class EntityProviderConfig
public ProviderLoadingConfig getLoading()
getLoading
in class EntityProviderConfig
public java.util.List<java.lang.String> getLocalDateFormat()
public java.lang.String getName()
getName
in interface CommonLoadableConfig<ProviderFormat>
getName
in class AbstractFileEntityProviderConfig
public java.lang.String getPoint2d()
public java.util.List<GraphPropertyConfig> getProps()
getProps
in class EntityProviderConfig
public java.lang.String getSeparator()
getSeparator
in class AbstractFileEntityProviderConfig
public java.lang.Object getSourceColumn()
getSourceColumn
in class AbstractFileEntityProviderConfig
public java.lang.String getSourceVertexProvider()
getSourceVertexProvider
in class EntityProviderConfig
public FileGraphStoringConfig getStoring()
getStoring
in class AbstractFileEntityProviderConfig
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.util.List<java.lang.String> getUris()
getUris
in class AbstractFileEntityProviderConfig
public java.util.Map<FileEntityProviderConfig.Field,java.lang.Object> getValues()
public java.util.Map<FileEntityProviderConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.lang.Character getVectorComponentDelimiter()
public boolean hasDefaultValue(FileEntityProviderConfig.Field field)
field
- the fieldpublic java.lang.Boolean hasKeys()
hasKeys
in class EntityProviderConfig
public java.lang.Boolean isDetectGzip()
isDetectGzip
in class AbstractFileEntityProviderConfig
public boolean isEmpty()
public java.lang.Boolean isHeader()
isHeader
in class AbstractFileEntityProviderConfig
public static FileEntityProviderConfig 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 FileEntityProviderConfig 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 FileEntityProviderConfig 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)
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.