public class PgHbaseGraphConfigBuilder extends AbstractPgGraphConfigBuilder<PgHbaseGraphConfig>
| Constructor and Description |
|---|
PgHbaseGraphConfigBuilder()
Instantiates a new pg hbase graph config builder.
|
| Modifier and Type | Method and Description |
|---|---|
PgHbaseGraphConfigBuilder |
addEdgeProperty(String name, PropertyType type, Object defaultVal)
Adds an edge property to this builder
|
PgHbaseGraphConfigBuilder |
addVertexProperty(String name, PropertyType type, Object defaultVal)
Add a vertex property to this builder
|
PgHbaseGraphConfigBuilder |
setBlockCacheSize(int bcs)
Sets the block cache size
|
PgHbaseGraphConfigBuilder |
setCompression(String compression)
Sets the compression.
|
PgHbaseGraphConfigBuilder |
setCreateEdgeIdIndex(boolean create)
Sets the create edge id index flag.
|
PgHbaseGraphConfigBuilder |
setCreateEdgeIdMapping(boolean create)
Sets the create edge id mapping.
|
PgHbaseGraphConfigBuilder |
setCreateVertexIdIndex(boolean create)
Sets the create vertex ID index flag.
|
PgHbaseGraphConfigBuilder |
setCreateVertexIdMapping(boolean create)
Sets the create vertex id mapping flag.
|
PgHbaseGraphConfigBuilder |
setErrorHandlingOnMissedPropKey(OnMismatch action)
Sets the error handling on missed prop key.
|
PgHbaseGraphConfigBuilder |
setErrorHandlingOnPropConversion(OnMismatch action)
Sets the error handling on prop conversion.
|
PgHbaseGraphConfigBuilder |
setErrorHandlingOnTypeMismatch(OnMismatch action)
Sets the error handling on type mismatch.
|
PgHbaseGraphConfigBuilder |
setHadoopSecAuth(String s)
Sets the Hadoop security authentication
|
PgHbaseGraphConfigBuilder |
setHbaseSecAuth(String s)
Sets the HBase security authentication
|
PgHbaseGraphConfigBuilder |
setHmKerberosPrincipal(String s)
Sets the HM Kerberos Principal
|
PgHbaseGraphConfigBuilder |
setInitialEdgeNumRegions(int inr)
Sets the initial edge number of regions.
|
PgHbaseGraphConfigBuilder |
setInitialVertexNumRegions(int inr)
Sets the initial vertex number of regions.
|
PgHbaseGraphConfigBuilder |
setKeytab(String s)
Sets the path to the keytab file
|
PgHbaseGraphConfigBuilder |
setLoadEdgeLabel(boolean b)
Sets whether to load edge label.
|
PgHbaseGraphConfigBuilder |
setMaxNumConnections(int c)
Sets the maximum number of connections.
|
PgHbaseGraphConfigBuilder |
setName(String name)
Sets the Property Graph (PG) name.
|
PgHbaseGraphConfigBuilder |
setRefreshIntervalMs(int milliseconds)
Sets the refresh interval in milliseconds
|
PgHbaseGraphConfigBuilder |
setRsKerberosPrincipal(String s)
Sets the RS Kerberos Principal
|
PgHbaseGraphConfigBuilder |
setSplitsPerRegion(int spr)
Sets the splits per region.
|
PgHbaseGraphConfigBuilder |
setUserPrincipal(String s)
Sets the User Principal
|
PgHbaseGraphConfigBuilder |
setZkClientPort(int port)
Sets the ZooKeeper client port.
|
PgHbaseGraphConfigBuilder |
setZkQuorum(String quorum)
Sets the ZooKeeper quorum.
|
PgHbaseGraphConfigBuilder |
setZkSessionTimeout(int to)
Sets the ZooKeeper session timeout.
|
addNodeProperty, build, setDateFormatpublic PgHbaseGraphConfigBuilder()
public PgHbaseGraphConfigBuilder addEdgeProperty(String name, PropertyType type, Object defaultVal)
AbstractGraphConfigBuilderaddEdgeProperty in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>name - the name of the edge propertytype - the type of the edge propertydefaultVal - the default value of the edge property (can be null)public PgHbaseGraphConfigBuilder addVertexProperty(String name, PropertyType type, Object defaultVal)
AbstractGraphConfigBuilderaddVertexProperty in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>name - the name of the vertex propertytype - the type of the vertex propertydefaultVal - the default value of the vertex property (can be null)public PgHbaseGraphConfigBuilder setBlockCacheSize(int bcs)
bcs - the block cache sizepublic PgHbaseGraphConfigBuilder setCompression(String compression)
compression - the compressionpublic PgHbaseGraphConfigBuilder setCreateEdgeIdIndex(boolean create)
AbstractGraphConfigBuildersetCreateEdgeIdIndex in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>create - if true, a edge ID index is createdgraph configuration documentation for details about the effects and default of this flagpublic PgHbaseGraphConfigBuilder setCreateEdgeIdMapping(boolean create)
AbstractGraphConfigBuildersetCreateEdgeIdMapping in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>create - if true, a edge ID mapping is createdgraph configuration documentation for details about the effects and default of this flagpublic PgHbaseGraphConfigBuilder setCreateVertexIdIndex(boolean create)
AbstractGraphConfigBuildersetCreateVertexIdIndex in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>create - if true, a vertex ID index is createdgraph configuration documentation for details about the effects and default of this flagpublic PgHbaseGraphConfigBuilder setCreateVertexIdMapping(boolean create)
AbstractGraphConfigBuildersetCreateVertexIdMapping in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>create - if true, a vertex ID mapping is createdgraph configuration documentation for details about the effects and default of this flagpublic PgHbaseGraphConfigBuilder setErrorHandlingOnMissedPropKey(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnMissedPropKey in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic PgHbaseGraphConfigBuilder setErrorHandlingOnPropConversion(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnPropConversion in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic PgHbaseGraphConfigBuilder setErrorHandlingOnTypeMismatch(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnTypeMismatch in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic PgHbaseGraphConfigBuilder setHadoopSecAuth(String s)
s - the Hadoop security authenticationpublic PgHbaseGraphConfigBuilder setHbaseSecAuth(String s)
s - the HBase security authenticationpublic PgHbaseGraphConfigBuilder setHmKerberosPrincipal(String s)
s - the HM Kerberos Principalpublic PgHbaseGraphConfigBuilder setInitialEdgeNumRegions(int inr)
inr - the number of regionspublic PgHbaseGraphConfigBuilder setInitialVertexNumRegions(int inr)
inr - the number of regionspublic PgHbaseGraphConfigBuilder setKeytab(String s)
s - the path to the keytab filepublic PgHbaseGraphConfigBuilder setLoadEdgeLabel(boolean b)
AbstractPgGraphConfigBuildersetLoadEdgeLabel in class AbstractPgGraphConfigBuilder<PgHbaseGraphConfig>b - if true, loads the edge labelgraph configuration documentation for details about the effects and default of this settingpublic PgHbaseGraphConfigBuilder setMaxNumConnections(int c)
AbstractPgGraphConfigBuildersetMaxNumConnections in class AbstractPgGraphConfigBuilder<PgHbaseGraphConfig>c - the number of connectionsgraph configuration documentation for details about the effects and default of this settingpublic PgHbaseGraphConfigBuilder setName(String name)
AbstractPgGraphConfigBuildersetName in class AbstractPgGraphConfigBuilder<PgHbaseGraphConfig>name - the namegraph configuration documentation for details about the effects of this settingpublic PgHbaseGraphConfigBuilder setRefreshIntervalMs(int milliseconds)
AbstractGraphConfigBuildersetRefreshIntervalMs in class AbstractGraphConfigBuilder<PgHbaseGraphConfig>milliseconds - the interval in millisecondsgraph configuration documentation for details about the effects and default of this flagpublic PgHbaseGraphConfigBuilder setRsKerberosPrincipal(String s)
s - the RS Kerberos Principalpublic PgHbaseGraphConfigBuilder setSplitsPerRegion(int spr)
spr - the splits per regionpublic PgHbaseGraphConfigBuilder setUserPrincipal(String s)
s - the User Principalpublic PgHbaseGraphConfigBuilder setZkClientPort(int port)
port - the portpublic PgHbaseGraphConfigBuilder setZkQuorum(String quorum)
quorum - the quorumpublic PgHbaseGraphConfigBuilder setZkSessionTimeout(int to)
to - the timeout in millisecondsCopyright © 2015. All rights reserved.