public abstract class GraphTableConfig extends AbstractConfig implements oracle.pgx.config.internal.ConvertibleToTableConfigBuilder
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Constructor and Description |
---|
GraphTableConfig() |
Modifier and Type | Method and Description |
---|---|
default java.text.DateFormat |
createDateFormat() |
default java.util.List<java.time.format.DateTimeFormatter> |
createLocalDateFormat() |
default java.util.List<java.time.format.DateTimeFormatter> |
createTimeFormat() |
default java.util.List<java.time.format.DateTimeFormatter> |
createTimestampFormat() |
default java.util.List<java.time.format.DateTimeFormatter> |
createTimestampWithTimezoneFormat() |
default java.util.List<java.time.format.DateTimeFormatter> |
createTimeWithTimezoneFormat() |
boolean |
equals(java.lang.Object obj) |
java.util.Map |
getAttributes()
Get the specific additional attributes needed to read/write the graph data
|
java.lang.String |
getDateFormat()
The date format to use when loading and storing date properties.
|
IdType |
getDestinationVertexIdType()
Get the ID type corresponding to the destination vertex table of this edge table configuration
|
abstract java.lang.String |
getDestinationVertexTable()
Get the name of the destination vertex table
|
GraphErrorHandlingConfig |
getErrorHandling()
Get the error handling configuration of this graph configuration
|
Format |
getFormat()
Get the format of this graph configuration
|
abstract IdType |
getIdType()
Get the ID type of this table configuration
|
abstract TableLoadingConfig |
getLoading()
Get the loading configuration of this table configuration
|
java.util.List<java.lang.String> |
getLocalDateFormat()
The list of date formats to use when loading and storing local_date properties.
|
java.lang.String |
getName()
Get the graph name of this graph configuration.
|
java.lang.Object |
getPropertyDefault(int i)
Get the default value of a property by index
|
int |
getPropertyDimension(int i)
Get the dimension of a property by index
|
java.lang.String |
getPropertyName(int i)
Get the name of a property by index
|
PropertyType |
getPropertyType(int i)
Get the type of a property by index
|
abstract java.util.List<GraphPropertyConfig> |
getProps()
Get the properties of this table configuration
|
IdType |
getSourceVertexIdType()
Get the ID type corresponding to the source vertex table of this edge table configuration
|
abstract java.lang.String |
getSourceVertexTable()
Get the name of the source vertex table
|
abstract java.lang.String |
getTableLabel()
label(s) to associate to all the entities of the table
|
java.util.List<java.lang.String> |
getTimeFormat()
The list of time formats to use when loading and storing time properties.
|
java.util.List<java.lang.String> |
getTimestampFormat()
The list of timestamp formats to use when loading and storing timestamp properties.
|
java.util.List<java.lang.String> |
getTimestampWithTimezoneFormat()
The list of timestamp with timezone formats to use when loading and storing timestamp with timezone properties.
|
java.util.List<java.lang.String> |
getTimeWithTimezoneFormat()
The list of time with timezone formats to use when loading and storing time with timezone properties.
|
int |
hashCode() |
boolean |
isKeyMappingEnabled()
Check if key mapping is enabled
|
boolean |
isLabelLoadingEnabled()
Checks if label loading is enabled
|
int |
numProperties()
Get the number of properties in this table configuration
|
getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public IdType getDestinationVertexIdType()
public abstract java.lang.String getDestinationVertexTable()
public abstract IdType getIdType()
public abstract TableLoadingConfig getLoading()
public java.lang.Object getPropertyDefault(int i)
i
- the 0-based index of the propertypublic int getPropertyDimension(int i)
i
- the 0-based index of the propertypublic java.lang.String getPropertyName(int i)
i
- the 0-based index of the propertypublic PropertyType getPropertyType(int i)
i
- the 0-based index of the propertypublic abstract java.util.List<GraphPropertyConfig> getProps()
public IdType getSourceVertexIdType()
public abstract java.lang.String getSourceVertexTable()
public abstract java.lang.String getTableLabel()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isKeyMappingEnabled()
public boolean isLabelLoadingEnabled()
public int numProperties()
public java.text.DateFormat createDateFormat()
public java.util.List<java.time.format.DateTimeFormatter> createLocalDateFormat()
public java.util.List<java.time.format.DateTimeFormatter> createTimeFormat()
public java.util.List<java.time.format.DateTimeFormatter> createTimestampFormat()
public java.util.List<java.time.format.DateTimeFormatter> createTimestampWithTimezoneFormat()
public java.util.List<java.time.format.DateTimeFormatter> createTimeWithTimezoneFormat()
public java.util.Map getAttributes()
public java.lang.String getDateFormat()
public GraphErrorHandlingConfig getErrorHandling()
public Format getFormat()
public java.util.List<java.lang.String> getLocalDateFormat()
public java.lang.String getName()
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()
Copyright © 2016, 2019, Oracle and/or its affiliates. All Rights Reserved.