Enum Metadata.EntryMode

java.lang.Object
java.lang.Enum<Metadata.EntryMode>
org.apache.opendal.Metadata.EntryMode
All Implemented Interfaces:
Serializable, Comparable<Metadata.EntryMode>, java.lang.constant.Constable
Enclosing class:
Metadata

public static enum Metadata.EntryMode extends Enum<Metadata.EntryMode>
  • Enum Constant Details

    • FILE

      public static final Metadata.EntryMode FILE
      FILE means the path has data to read.
    • DIR

      public static final Metadata.EntryMode DIR
      DIR means the path can be listed.
    • UNKNOWN

      public static final Metadata.EntryMode UNKNOWN
      Unknown means we don't know what we can do on this path.
  • Method Details

    • values

      public static Metadata.EntryMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Metadata.EntryMode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static Metadata.EntryMode of(int mode)