Enum OnMissingVertex

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OnMissingVertex>

    public enum OnMissingVertex
    extends java.lang.Enum<OnMissingVertex>
    strategies to handle missing vertices during the edge loading phase
    • Enum Constant Detail

      • IGNORE_EDGE

        public static final OnMissingVertex IGNORE_EDGE
        ignore the loaded edge.
      • IGNORE_EDGE_LOG

        public static final OnMissingVertex IGNORE_EDGE_LOG
        logging behavior on ignore edge
      • IGNORE_EDGE_LOG_ONCE

        public static final OnMissingVertex IGNORE_EDGE_LOG_ONCE
      • CREATE_VERTEX

        public static final OnMissingVertex CREATE_VERTEX
        create the missing vertex. This strategy is currently not supported when loading partitioned graphs with a PartitionedGraphConfig
      • CREATE_VERTEX_LOG

        public static final OnMissingVertex CREATE_VERTEX_LOG
        logging behavior on create edge
      • CREATE_VERTEX_LOG_ONCE

        public static final OnMissingVertex CREATE_VERTEX_LOG_ONCE
    • Method Detail

      • values

        public static OnMissingVertex[] 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 (OnMissingVertex c : OnMissingVertex.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OnMissingVertex 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
      • toKey

        public java.lang.String toKey()