@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
|
java.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
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, toEntityProviderConfigBuildergetDestinationVertexKeyType, getPropertyDefault, getPropertyDimension, getPropertyName, getPropertyType, getSourceVertexKeyType, getValidatedLabel, isKeyMappingEnabled, isLabelLoadingEnabled, numProperties, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties, supportsVectorPropertiesgetDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablecreateLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormatpublic boolean equals(java.lang.Object obj)
equals in class AbstractFileEntityProviderConfigpublic java.util.Map getAttributes()
getAttributes in interface CommonLoadableConfig<ProviderFormat>getAttributes in class AbstractFileEntityProviderConfigpublic static FileEntityProviderConfig.Field[] getConfigFields()
public java.lang.Object getDestinationColumn()
getDestinationColumn in class AbstractFileEntityProviderConfigpublic java.lang.String getDestinationVertexProvider()
getDestinationVertexProvider in class EntityProviderConfigpublic GraphErrorHandlingConfig getErrorHandling()
public ProviderFormat getFormat()
public java.lang.Object getKeyColumn()
getKeyColumn in class AbstractFileEntityProviderConfigpublic java.lang.String getKeystoreAlias()
public IdType getKeyType()
getKeyType in class EntityProviderConfigpublic java.lang.String getLabel()
getLabel in class EntityProviderConfigpublic java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public ProviderLoadingConfig getLoading()
getLoading in class EntityProviderConfigpublic java.util.List<java.lang.String> getLocalDateFormat()
public java.lang.String getName()
getName in interface CommonLoadableConfig<ProviderFormat>getName in class AbstractFileEntityProviderConfigpublic java.lang.String getPoint2d()
public java.util.List<GraphPropertyConfig> getProps()
getProps in class EntityProviderConfigpublic java.lang.String getSeparator()
getSeparator in class AbstractFileEntityProviderConfigpublic java.lang.Object getSourceColumn()
getSourceColumn in class AbstractFileEntityProviderConfigpublic java.lang.String getSourceVertexProvider()
getSourceVertexProvider in class EntityProviderConfigpublic FileGraphStoringConfig getStoring()
getStoring in class AbstractFileEntityProviderConfigpublic 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 AbstractFileEntityProviderConfigpublic java.util.Map<FileEntityProviderConfig.Field,java.lang.Object> getValues()
getValues in class AbstractConfigpublic 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 EntityProviderConfigpublic java.lang.Boolean isDetectGzip()
isDetectGzip in class AbstractFileEntityProviderConfigpublic boolean isEmpty()
public java.lang.Boolean isHeader()
isHeader in class AbstractFileEntityProviderConfigpublic 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.Objectpublic java.lang.String toString(boolean hideSensitiveData)