Class Result

java.lang.Object
org.apache.hadoop.fs.shell.find.Result

public final class Result extends Object
  • Field Details

    • PASS

      public static final Result PASS
      Result indicating Expression processing should continue.
    • FAIL

      public static final Result FAIL
      Result indicating Expression processing should stop.
    • STOP

      public static final Result STOP
      Result indicating Expression processing should not descend any more directories.
  • Method Details

    • isDescend

      public boolean isDescend()
      Should further directories be descended.
      Returns:
      if is pass true,not false.
    • isPass

      public boolean isPass()
      Should processing continue.
      Returns:
      if is pass true,not false.
    • combine

      public Result combine(Result other)
      Returns the combination of this and another result.
      Parameters:
      other - other.
      Returns:
      result.
    • negate

      public Result negate()
      Negate this result.
      Returns:
      Result.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object