Class PgHbaseGraphConfigBuilder

    • Constructor Detail

      • PgHbaseGraphConfigBuilder

        public PgHbaseGraphConfigBuilder()
        Instantiates a new pg hbase graph config builder.
    • Method Detail

      • 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