Package oracle.pgx.config
Class PgHbaseGraphConfigBuilder
- java.lang.Object
-
- oracle.pgx.config.AbstractGraphConfigBuilder<T,GC>
-
- oracle.pgx.config.AbstractPgGraphConfigBuilder<PgHbaseGraphConfigBuilder,PgHbaseGraphConfig>
-
- oracle.pgx.config.PgHbaseGraphConfigBuilder
-
- All Implemented Interfaces:
oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
public class PgHbaseGraphConfigBuilder extends AbstractPgGraphConfigBuilder<PgHbaseGraphConfigBuilder,PgHbaseGraphConfig>
A builder for Property Graph (PG) on HBase graph configuration objects.
-
-
Constructor Summary
Constructors Constructor Description PgHbaseGraphConfigBuilder()
Instantiates a new pg hbase graph config builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PgHbaseGraphConfigBuilder
copyFrom(PgHbaseGraphConfig graphConfig)
Sets this builder with all the values of the given graph config.PgHbaseGraphConfigBuilder
setBlockCacheSize(int bcs)
Sets the block cache sizePgHbaseGraphConfigBuilder
setCompression(java.lang.String compression)
Sets the compression.PgHbaseGraphConfigBuilder
setDataBlockEncoding(java.lang.String enc)
Sets the data block encoding.PgHbaseGraphConfigBuilder
setHadoopSecAuth(java.lang.String s)
Sets the Hadoop security authenticationPgHbaseGraphConfigBuilder
setHbaseSecAuth(java.lang.String s)
Sets the HBase security authenticationPgHbaseGraphConfigBuilder
setHmKerberosPrincipal(java.lang.String s)
Sets the HM Kerberos PrincipalPgHbaseGraphConfigBuilder
setInitialEdgeNumRegions(int inr)
Sets the initial edge number of regions.PgHbaseGraphConfigBuilder
setInitialVertexNumRegions(int inr)
Sets the initial vertex number of regions.PgHbaseGraphConfigBuilder
setKeytab(java.lang.String s)
Sets the path to the keytab filePgHbaseGraphConfigBuilder
setRsKerberosPrincipal(java.lang.String s)
Sets the RS Kerberos PrincipalPgHbaseGraphConfigBuilder
setSplitsPerRegion(int spr)
Sets the splits per region.PgHbaseGraphConfigBuilder
setUserPrincipal(java.lang.String s)
Sets the User PrincipalPgHbaseGraphConfigBuilder
setZkClientPort(int port)
Sets the ZooKeeper client port.PgHbaseGraphConfigBuilder
setZkNodeParent(java.lang.String nodeParent)
Sets the ZooKeeper node parent.PgHbaseGraphConfigBuilder
setZkQuorum(java.lang.String quorum)
Sets the ZooKeeper quorum.PgHbaseGraphConfigBuilder
setZkSessionTimeout(int to)
Sets the ZooKeeper session timeout.-
Methods inherited from class oracle.pgx.config.AbstractPgGraphConfigBuilder
setMaxNumConnections, setName, setVertexIdType
-
Methods inherited from class oracle.pgx.config.AbstractGraphConfigBuilder
addAttribute, addEdgeProperty, addEdgeProperty, addEdgeProperty, addEdgeStringProperty, addEdgeStringProperty, addEdgeVectorProperty, addEdgeVectorProperty, addEdgeVectorProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, addVertexProperty, addVertexStringProperty, addVertexStringProperty, addVertexVectorProperty, addVertexVectorProperty, addVertexVectorProperty, build, clearEdgeProperties, clearVertexProperties, copyBaseFrom, enableEdgeIdDuplicateCheck, enableVertexIdDuplicateCheck, redactPassword, removeEdgeProperty, removeVertexProperty, setArrayCompactionThreshold, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateLabelHistogram, setCreateVertexIdIndex, setCreateVertexIdMapping, setEdgeIdStrategy, setEdgeIdType, setErrorHandlingOnDuplicateEntityId, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setFetchIntervalSec, setKeystoreAlias, setLabelValueDelimiter, setLoadEdgeLabel, setLoadingProgressReportingFrequency, setLoadVertexLabels, setLocalDateFormat, setOptimizedFor, setPartitionDiscardDefaultValues, setPartitionWhileLoading, setPassword, setPropertyValueDelimiter, setSkipEdgeLoading, setSkipVertexLoading, setSnapshotsSource, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat, setUpdateIntervalSec, setUpdatePropertiesInPlace, setUpdateThreshold, setUseVertexPropertyValueAsLabel, setVertexIdStrategy, toGraphConfigBuilder
-
-
-
-
Method Detail
-
copyFrom
public PgHbaseGraphConfigBuilder copyFrom(PgHbaseGraphConfig graphConfig)
Description copied from class:AbstractGraphConfigBuilder
Sets this builder with all the values of the given graph config. If a format was already specified it will remain unchanged, however any other values copied from the given graph config will overwrite the corresponding values of this builder.- Overrides:
copyFrom
in classAbstractPgGraphConfigBuilder<PgHbaseGraphConfigBuilder,PgHbaseGraphConfig>
- Parameters:
graphConfig
- the graph configuration from which to copy the values- Returns:
- this builder
-
setZkQuorum
public PgHbaseGraphConfigBuilder setZkQuorum(java.lang.String quorum)
Sets the ZooKeeper quorum.- Parameters:
quorum
- the quorum- Returns:
- this builder
-
setZkClientPort
public PgHbaseGraphConfigBuilder setZkClientPort(int port)
Sets the ZooKeeper client port.- Parameters:
port
- the port- Returns:
- this builder
-
setZkSessionTimeout
public PgHbaseGraphConfigBuilder setZkSessionTimeout(int to)
Sets the ZooKeeper session timeout.- Parameters:
to
- the timeout in milliseconds- Returns:
- this builder
-
setZkNodeParent
public PgHbaseGraphConfigBuilder setZkNodeParent(java.lang.String nodeParent)
Sets the ZooKeeper node parent.- Parameters:
nodeParent
- the node parent- Returns:
- this builder
-
setInitialVertexNumRegions
public PgHbaseGraphConfigBuilder setInitialVertexNumRegions(int inr)
Sets the initial vertex number of regions.- Parameters:
inr
- the number of regions- Returns:
- this builder
-
setInitialEdgeNumRegions
public PgHbaseGraphConfigBuilder setInitialEdgeNumRegions(int inr)
Sets the initial edge number of regions.- Parameters:
inr
- the number of regions- Returns:
- this builder
-
setBlockCacheSize
public PgHbaseGraphConfigBuilder setBlockCacheSize(int bcs)
Sets the block cache size- Parameters:
bcs
- the block cache size- Returns:
- this builder
-
setSplitsPerRegion
public PgHbaseGraphConfigBuilder setSplitsPerRegion(int spr)
Sets the splits per region.- Parameters:
spr
- the splits per region- Returns:
- this builder
-
setHbaseSecAuth
public PgHbaseGraphConfigBuilder setHbaseSecAuth(java.lang.String s)
Sets the HBase security authentication- Parameters:
s
- the HBase security authentication- Returns:
- this builder
-
setHadoopSecAuth
public PgHbaseGraphConfigBuilder setHadoopSecAuth(java.lang.String s)
Sets the Hadoop security authentication- Parameters:
s
- the Hadoop security authentication- Returns:
- this builder
-
setHmKerberosPrincipal
public PgHbaseGraphConfigBuilder setHmKerberosPrincipal(java.lang.String s)
Sets the HM Kerberos Principal- Parameters:
s
- the HM Kerberos Principal- Returns:
- this builder
-
setRsKerberosPrincipal
public PgHbaseGraphConfigBuilder setRsKerberosPrincipal(java.lang.String s)
Sets the RS Kerberos Principal- Parameters:
s
- the RS Kerberos Principal- Returns:
- this builder
-
setUserPrincipal
public PgHbaseGraphConfigBuilder setUserPrincipal(java.lang.String s)
Sets the User Principal- Parameters:
s
- the User Principal- Returns:
- this builder
-
setKeytab
public PgHbaseGraphConfigBuilder setKeytab(java.lang.String s)
Sets the path to the keytab file- Parameters:
s
- the path to the keytab file- Returns:
- this builder
-
setCompression
public PgHbaseGraphConfigBuilder setCompression(java.lang.String compression)
Sets the compression.- Parameters:
compression
- the compression- Returns:
- this builder
-
setDataBlockEncoding
public PgHbaseGraphConfigBuilder setDataBlockEncoding(java.lang.String enc)
Sets the data block encoding. See"Data Block Encoding"
for allowed values.- Parameters:
enc
- the enc- Returns:
- this builder
-
-