@Generated(value="config_generator.py") public class PgHbaseGraphConfig extends AbstractPgGraphConfig
Modifier and Type | Class and Description |
---|---|
static class |
PgHbaseGraphConfig.Field
Fields of PGX Engine PG Hbase Graph 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
|
java.lang.Integer |
getBlockCacheSize()
block_cache_size
|
java.lang.String |
getCompression()
which HBase compression algorithm to use.
|
static PgHbaseGraphConfig.Field[] |
getConfigFields() |
java.lang.String |
getDataBlockEncoding()
which datablock encoding algorithm to use.
|
java.lang.String |
getDateFormat()
the date format to use when loading and storing date properties.
|
DbEngine |
getDbEngine()
underlying database engine
|
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.lang.String |
getHadoopSecAuth()
Hadoop authentication string
|
java.lang.String |
getHbaseSecAuth()
HBase authentication string
|
java.lang.String |
getHmKerberosPrincipal()
HM Kerberos principal
|
java.lang.Integer |
getInitialEdgeNumRegions()
how many initial edge regions defined for the HBase tables
|
java.lang.Integer |
getInitialVertexNumRegions()
how many initial vertex regions defined for the HBase tables
|
java.lang.String |
getKeytab()
path to keytab file
|
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 |
getMaxNumConnections()
maximum number of database connections to use when reading the graph
|
java.lang.String |
getName()
prefix of the table name (for edge and vertex tables)
|
java.lang.String |
getPoint2d()
longitude and latitude as floating point values separated by a space
|
java.lang.String |
getRsKerberosPrincipal()
RS Kerberos principal
|
java.lang.Integer |
getSplitsPerRegion()
how many splits per region to use when scanning vertices/edges
|
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 |
getUserPrincipal()
User principal
|
java.util.Map<PgHbaseGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PgHbaseGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
IdType |
getVertexIdType()
type of the vertex ID
|
java.util.List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
java.lang.Integer |
getZkClientPort()
ZooKeeper client port
|
java.lang.String |
getZkNodeParent()
ZooKeeper node parent
|
java.lang.String |
getZkQuorum()
ZooKeeper Quorum value
|
java.lang.Integer |
getZkSessionTimeout()
ZooKeeper session timeout (in milliseconds)
|
boolean |
hasDefaultValue(PgHbaseGraphConfig.Field field)
Checks for default value.
|
java.lang.Boolean |
hasEdgeLabel()
Deprecated.
|
int |
hashCode() |
java.lang.Boolean |
hasVertexLabels()
Deprecated.
|
boolean |
isEmpty()
Checks if it's empty.
|
static PgHbaseGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static PgHbaseGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PgHbaseGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hashSensitiveData) |
getOraclePropertyGraph, setOraclePropertyGraph
createDateFormat, createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat, getEdgeIdType, 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, skipEdgeLoading, skipVertexLoading, supportsEdgeLabel, supportsEdgeLabel, supportsVertexLabels, supportsVertexLabels
getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public java.util.Map getAttributes()
getAttributes
in class GraphConfig
public java.lang.Integer getBlockCacheSize()
public java.lang.String getCompression()
public static PgHbaseGraphConfig.Field[] getConfigFields()
public java.lang.String getDataBlockEncoding()
public java.lang.String getDateFormat()
getDateFormat
in class GraphConfig
public DbEngine getDbEngine()
getDbEngine
in class AbstractPgGraphConfig
public java.util.List<GraphPropertyConfig> getEdgeProps()
getEdgeProps
in class GraphConfig
public GraphErrorHandlingConfig getErrorHandling()
getErrorHandling
in class GraphConfig
public Format getFormat()
getFormat
in class GraphConfig
public java.lang.String getHadoopSecAuth()
public java.lang.String getHbaseSecAuth()
public java.lang.String getHmKerberosPrincipal()
public java.lang.Integer getInitialEdgeNumRegions()
public java.lang.Integer getInitialVertexNumRegions()
public java.lang.String getKeytab()
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public java.util.List<java.lang.String> getLocalDateFormat()
getLocalDateFormat
in class GraphConfig
public java.lang.Integer getMaxNumConnections()
getMaxNumConnections
in class AbstractPgGraphConfig
public java.lang.String getName()
getName
in class GraphConfig
public java.lang.String getPoint2d()
public java.lang.String getRsKerberosPrincipal()
public java.lang.Integer getSplitsPerRegion()
public java.util.List<java.lang.String> getTimeFormat()
getTimeFormat
in class GraphConfig
public java.util.List<java.lang.String> getTimestampFormat()
getTimestampFormat
in class GraphConfig
public java.util.List<java.lang.String> getTimestampWithTimezoneFormat()
getTimestampWithTimezoneFormat
in class GraphConfig
public java.util.List<java.lang.String> getTimeWithTimezoneFormat()
getTimeWithTimezoneFormat
in class GraphConfig
public java.lang.String getUserPrincipal()
public java.util.Map<PgHbaseGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<PgHbaseGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public IdType getVertexIdType()
getVertexIdType
in class AbstractPgGraphConfig
public java.util.List<GraphPropertyConfig> getVertexProps()
getVertexProps
in class GraphConfig
public java.lang.Integer getZkClientPort()
public java.lang.String getZkNodeParent()
public java.lang.String getZkQuorum()
public java.lang.Integer getZkSessionTimeout()
public boolean hasDefaultValue(PgHbaseGraphConfig.Field field)
field
- the field@Deprecated public java.lang.Boolean hasEdgeLabel()
hasEdgeLabel
in class GraphConfig
true
if this graph configuration has the edge label, false
otherwise@Deprecated public java.lang.Boolean hasVertexLabels()
hasVertexLabels
in class GraphConfig
true
if this graph configuration has the vertex label, false
otherwisepublic boolean isEmpty()
public static PgHbaseGraphConfig 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 PgHbaseGraphConfig 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 PgHbaseGraphConfig 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 hashSensitiveData)
public boolean equals(java.lang.Object obj)
equals
in class AbstractPgGraphConfig
public int hashCode()
hashCode
in class AbstractPgGraphConfig
Copyright © 2017 Oracle Corp. All Rights Reserved.