Enum PgHbaseGraphConfig.Field

    • Enum Constant Detail

      • ZK_SESSION_TIMEOUT

        public static final PgHbaseGraphConfig.Field ZK_SESSION_TIMEOUT
        ZooKeeper session timeout (in milliseconds)
      • COMPRESSION

        public static final PgHbaseGraphConfig.Field COMPRESSION
        which HBase compression algorithm to use. Check HBase documentation for list of supported algorithms
      • SPLITS_PER_REGION

        public static final PgHbaseGraphConfig.Field SPLITS_PER_REGION
        how many splits per region to use when scanning vertices/edges
      • INITIAL_VERTEX_NUM_REGIONS

        public static final PgHbaseGraphConfig.Field INITIAL_VERTEX_NUM_REGIONS
        how many initial vertex regions defined for the HBase tables
      • INITIAL_EDGE_NUM_REGIONS

        public static final PgHbaseGraphConfig.Field INITIAL_EDGE_NUM_REGIONS
        how many initial edge regions defined for the HBase tables
      • DATA_BLOCK_ENCODING

        public static final PgHbaseGraphConfig.Field DATA_BLOCK_ENCODING
        which datablock encoding algorithm to use. Supported values are 'none', 'prefix', 'diff', 'fast_diff' and 'prefix_tree'. See the DataBlockEncoding class in the org.apache.hadoop.hbase.io.encoding package for details.
      • MAX_NUM_CONNECTIONS

        public static final PgHbaseGraphConfig.Field MAX_NUM_CONNECTIONS
        maximum number of database connections to use when reading the graph
      • OPTIMIZED_FOR

        public static final PgHbaseGraphConfig.Field OPTIMIZED_FOR
        Indicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updates
      • PARTITION_WHILE_LOADING

        public static final PgHbaseGraphConfig.Field PARTITION_WHILE_LOADING
        Indicates if the graph should be partitioned while loading
      • VERTEX_ID_STRATEGY

        public static final PgHbaseGraphConfig.Field VERTEX_ID_STRATEGY
        Indicates what ID strategy should be used for the vertices of this graph. If not specified (or set to null), the strategy will be automatically detected
      • EDGE_ID_STRATEGY

        public static final PgHbaseGraphConfig.Field EDGE_ID_STRATEGY
        Indicates what ID strategy should be used for the edges of this graph. If not specified (or set to null), the strategy will be determined during loading or using a default value
      • VERTEX_ID_TYPE

        public static final PgHbaseGraphConfig.Field VERTEX_ID_TYPE
        type of the vertex ID. For homogeneous graphs, if not specified (or set to null), it will default to a specific value (depending on the origin of the data).
      • EDGE_ID_TYPE

        public static final PgHbaseGraphConfig.Field EDGE_ID_TYPE
        type of the edge ID. For homogeneous graphs, if not specified (or set to null), it will default to long.
      • ARRAY_COMPACTION_THRESHOLD

        public static final PgHbaseGraphConfig.Field ARRAY_COMPACTION_THRESHOLD
        [only relevant if the graph is optimized for updates] threshold used to determined when to compact the delta-logs into a new array. If lower than the engine min_array_compaction_threshold value, min_array_compaction_threshold will be used instead
      • VERTEX_PROPS

        public static final PgHbaseGraphConfig.Field VERTEX_PROPS
        specification of vertex properties associated with graph
      • EDGE_PROPS

        public static final PgHbaseGraphConfig.Field EDGE_PROPS
        specification of edge properties associated with graph
      • EXTERNAL_STORES

        public static final PgHbaseGraphConfig.Field EXTERNAL_STORES
        Specification of the external stores where external string properties reside.
      • LOCAL_DATE_FORMAT

        public static final PgHbaseGraphConfig.Field LOCAL_DATE_FORMAT
        array of local_date formats to use when loading and storing local_date properties. Please see DateTimeFormatter for a documentation of the format string
      • TIME_FORMAT

        public static final PgHbaseGraphConfig.Field TIME_FORMAT
        the time format to use when loading and storing time properties. Please see DateTimeFormatter for a documentation of the format string
      • TIMESTAMP_FORMAT

        public static final PgHbaseGraphConfig.Field TIMESTAMP_FORMAT
        the timestamp format to use when loading and storing timestamp properties. Please see DateTimeFormatter for a documentation of the format string
      • TIME_WITH_TIMEZONE_FORMAT

        public static final PgHbaseGraphConfig.Field TIME_WITH_TIMEZONE_FORMAT
        the time with timezone format to use when loading and storing time with timezone properties. Please see DateTimeFormatter for a documentation of the format string
      • TIMESTAMP_WITH_TIMEZONE_FORMAT

        public static final PgHbaseGraphConfig.Field TIMESTAMP_WITH_TIMEZONE_FORMAT
        the timestamp with timezone format to use when loading and storing timestamp with timezone properties. Please see DateTimeFormatter for a documentation of the format string
      • VECTOR_COMPONENT_DELIMITER

        public static final PgHbaseGraphConfig.Field VECTOR_COMPONENT_DELIMITER
        delimiter for the different components of vector properties
      • POINT2D

        public static final PgHbaseGraphConfig.Field POINT2D
        longitude and latitude as floating point values separated by a space
      • ATTRIBUTES

        public static final PgHbaseGraphConfig.Field ATTRIBUTES
        additional attributes needed to read/write the graph data
      • KEYSTORE_ALIAS

        public static final PgHbaseGraphConfig.Field KEYSTORE_ALIAS
        alias to the keystore to use when connecting to database
    • Method Detail

      • values

        public static PgHbaseGraphConfig.Field[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PgHbaseGraphConfig.Field c : PgHbaseGraphConfig.Field.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PgHbaseGraphConfig.Field valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getKeyAliases

        public java.util.List<java.lang.String> getKeyAliases()
        Description copied from interface: ConfigField
        Gets the key aliases of this field which are also recognized during parsing.
        Specified by:
        getKeyAliases in interface ConfigField
        Returns:
        the key aliases
      • getSingletonListKeyAliases

        public java.util.List<java.lang.String> getSingletonListKeyAliases()
        Description copied from interface: ConfigField
        Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.
        Specified by:
        getSingletonListKeyAliases in interface ConfigField
        Returns:
        the singleton list key aliases
      • getType

        public java.lang.Class<?> getType()
        Description copied from interface: ConfigField
        Gets the type of this field.
        Specified by:
        getType in interface ConfigField
        Returns:
        the type
      • isRequired

        public boolean isRequired()
        Description copied from interface: ConfigField
        Checks if this field is required.
        Specified by:
        isRequired in interface ConfigField
        Returns:
        true, if required
      • isArray

        public boolean isArray()
        Description copied from interface: ConfigField
        Checks if this field is an array.
        Specified by:
        isArray in interface ConfigField
        Returns:
        true, if array
      • isPath

        public boolean isPath()
        Description copied from interface: ConfigField
        Checks if this field is a path.
        Specified by:
        isPath in interface ConfigField
        Returns:
        true, if path
      • getDefaultVal

        public java.lang.Object getDefaultVal()
        Description copied from interface: ConfigField
        Gets the default value of this field.
        Specified by:
        getDefaultVal in interface ConfigField
        Returns:
        the default value
      • toKey

        public java.lang.String toKey()
        Description copied from interface: ConfigField
        Get the key of this field, which is how this field is represented in serialized form.
        Specified by:
        toKey in interface ConfigField
        Returns:
        the key.
      • isSensitive

        public boolean isSensitive()
        Description copied from interface: ConfigField
        Checks if this field holds a sensitive data.
        Specified by:
        isSensitive in interface ConfigField
        Returns:
        true, if use for sensitive data
      • isHidden

        public boolean isHidden()
        Description copied from interface: ConfigField
        Checks if this field should be hidden. Hidden fields are used to hid desired field from the user and only allow it for internal usage.
        Specified by:
        isHidden in interface ConfigField
        Returns:
        true if field should be hidden, false otherwise