Enum Class StatusProbeEnum

java.lang.Object
java.lang.Enum<StatusProbeEnum>
org.apache.hadoop.fs.s3a.impl.StatusProbeEnum
All Implemented Interfaces:
Serializable, Comparable<StatusProbeEnum>, Constable

@Private public enum StatusProbeEnum extends Enum<StatusProbeEnum>
Enum of probes which can be made of S3.
  • Enum Constant Details

  • Field Details

    • ALL

      public static final Set<StatusProbeEnum> ALL
      Look for files and directories.
    • HEAD_ONLY

      public static final Set<StatusProbeEnum> HEAD_ONLY
      We only want the HEAD.
    • LIST_ONLY

      public static final Set<StatusProbeEnum> LIST_ONLY
      List operation only.
    • FILE

      public static final Set<StatusProbeEnum> FILE
      Look for files and directories.
    • DIRECTORIES

      public static final Set<StatusProbeEnum> DIRECTORIES
      Skip the HEAD and only look for directories.
  • Method Details

    • values

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

      public static StatusProbeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null