@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
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getBlockCacheSize()
block_cache_size
|
Charset |
getCharset()
Gets the charset.
|
String |
getCompression()
which HBase compression algorithm to use.
|
String |
getDateFormat()
the date format to use when loading and storing date properties.
|
DbEngine |
getDbEngine()
underlying database engine
|
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)
|
String |
getHadoopSecAuth()
Hadoop authentication string
|
String |
getHbaseSecAuth()
HBase authentication string
|
String |
getHmKerberosPrincipal()
HM Kerberos principal
|
Integer |
getInitialEdgeNumRegions()
how many initial edge regions defined for the HBase tables
|
Integer |
getInitialVertexNumRegions()
how many initial vertex regions defined for the HBase tables
|
String |
getKeytab()
path to keytab file
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
Integer |
getMaxNumConnections()
maximum number of database connections to use when reading the graph
|
String |
getName()
prefix of the table name (for edge and vertex tables)
|
String |
getRsKerberosPrincipal()
RS Kerberos principal
|
Integer |
getSplitsPerRegion()
how many splits per region to use when scanning vertices/edges
|
String |
getUserPrincipal()
User principal
|
Map<PgHbaseGraphConfig.Field,Object> |
getValues()
Gets the parsed values.
|
Map<PgHbaseGraphConfig.Field,Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
Integer |
getZkClientPort()
ZooKeeper client port
|
String |
getZkQuorum()
ZooKeeper Quorum value
|
Integer |
getZkSessionTimeout()
ZooKeeper session timeout (in milliseconds)
|
boolean |
hasDefaultValue(PgHbaseGraphConfig.Field field)
Checks for default value.
|
int |
hashCode() |
Boolean |
isLoadEdgeLabel()
whether or not to load the edge label (string) into memory as well.
|
static PgHbaseGraphConfig |
parse(InputStream is, boolean strict, File parent)
Parses an input stream.
|
static PgHbaseGraphConfig |
parse(Map<String,Object> raw, boolean strict, File parent)
Parses a raw key/value mapping.
|
static PgHbaseGraphConfig |
parse(Properties props, boolean strict)
Parses a properties file.
|
String |
toString() |
getConnection, getOraclePropertyGraph, getVertexIdType, setConnection, setOraclePropertyGraph
getEdgePropertyDefault, getEdgePropertyName, getEdgePropertyType, getNodeKeyType, getNodePropertyDefault, getNodePropertyName, getNodePropertyType, isFileFormat, isFileFormat, numEdgeProperties, numNodeProperties
setSerializable
public Integer getBlockCacheSize()
public Charset getCharset()
public String getCompression()
public String getDateFormat()
getDateFormat
in class AbstractPgGraphConfig
public DbEngine getDbEngine()
getDbEngine
in class AbstractPgGraphConfig
public List<GraphPropertyConfig> getEdgeProps()
getEdgeProps
in class GraphConfig
public GraphErrorHandlingConfig getErrorHandling()
getErrorHandling
in class GraphConfig
public Format getFormat()
getFormat
in class GraphConfig
public String getHadoopSecAuth()
public String getHbaseSecAuth()
public String getHmKerberosPrincipal()
public Integer getInitialEdgeNumRegions()
public Integer getInitialVertexNumRegions()
public String getKeytab()
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public Integer getMaxNumConnections()
getMaxNumConnections
in class AbstractPgGraphConfig
public String getName()
getName
in class GraphConfig
public String getRsKerberosPrincipal()
public Integer getSplitsPerRegion()
public String getUserPrincipal()
public Map<PgHbaseGraphConfig.Field,Object> getValues()
public Map<PgHbaseGraphConfig.Field,Object> getValuesWithoutDefaults()
public List<GraphPropertyConfig> getVertexProps()
getVertexProps
in class GraphConfig
public Integer getZkClientPort()
public String getZkQuorum()
public Integer getZkSessionTimeout()
public boolean hasDefaultValue(PgHbaseGraphConfig.Field field)
field
- the fieldpublic Boolean isLoadEdgeLabel()
true
, the first edge property of this config must be of type string. After loading is done, that property will hold the label strings.isLoadEdgeLabel
in class AbstractPgGraphConfig
public static PgHbaseGraphConfig parse(InputStream is, boolean strict, File parent) throws IOException
is
- the input streamstrict
- if true, parses in strict modeparent
- if not null, resolves relative paths against this parentIOException
- Signals that an I/O exception has occurred.public static PgHbaseGraphConfig parse(Map<String,Object> raw, boolean strict, File parent)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparent
- if not null, resolves relative paths against this parentpublic static PgHbaseGraphConfig parse(Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic boolean equals(Object obj)
equals
in class AbstractPgGraphConfig
public int hashCode()
hashCode
in class AbstractPgGraphConfig
Copyright © 2015. All rights reserved.