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 PgHbaseGraphConfigBuildercopyFrom(PgHbaseGraphConfig graphConfig)Sets this builder with all the values of the given graph config.PgHbaseGraphConfigBuildersetBlockCacheSize(int bcs)Sets the block cache sizePgHbaseGraphConfigBuildersetCompression(java.lang.String compression)Sets the compression.PgHbaseGraphConfigBuildersetDataBlockEncoding(java.lang.String enc)Sets the data block encoding.PgHbaseGraphConfigBuildersetHadoopSecAuth(java.lang.String s)Sets the Hadoop security authenticationPgHbaseGraphConfigBuildersetHbaseSecAuth(java.lang.String s)Sets the HBase security authenticationPgHbaseGraphConfigBuildersetHmKerberosPrincipal(java.lang.String s)Sets the HM Kerberos PrincipalPgHbaseGraphConfigBuildersetInitialEdgeNumRegions(int inr)Sets the initial edge number of regions.PgHbaseGraphConfigBuildersetInitialVertexNumRegions(int inr)Sets the initial vertex number of regions.PgHbaseGraphConfigBuildersetKeytab(java.lang.String s)Sets the path to the keytab filePgHbaseGraphConfigBuildersetRsKerberosPrincipal(java.lang.String s)Sets the RS Kerberos PrincipalPgHbaseGraphConfigBuildersetSplitsPerRegion(int spr)Sets the splits per region.PgHbaseGraphConfigBuildersetUserPrincipal(java.lang.String s)Sets the User PrincipalPgHbaseGraphConfigBuildersetZkClientPort(int port)Sets the ZooKeeper client port.PgHbaseGraphConfigBuildersetZkNodeParent(java.lang.String nodeParent)Sets the ZooKeeper node parent.PgHbaseGraphConfigBuildersetZkQuorum(java.lang.String quorum)Sets the ZooKeeper quorum.PgHbaseGraphConfigBuildersetZkSessionTimeout(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:AbstractGraphConfigBuilderSets 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:
copyFromin 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
-
-