Options.HandleOpt.Location (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs, class: Options, class: HandleOpt, class: Location

Package org.apache.hadoop.fs

# Class Options.HandleOpt.Location

java.lang.Object
org.apache.hadoop.fs.Options.HandleOpt
org.apache.hadoop.fs.Options.HandleOpt.Location

Enclosing class:
  Options.HandleOpt

public static class Options.HandleOpt.Location extends Options.HandleOpt
Option storing standard constraints on location.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.apache.hadoop.fs.Options.HandleOpt

  `Options.HandleOpt.Data, Options.HandleOpt.Location`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `allowChange()`
  Tracks whether any changes to file location are permitted.
  `String`
  `toString()`

  ### Methods inherited from class org.apache.hadoop.fs.Options.HandleOpt

  `changed, content, exact, getOpt, moved, path, reference, resolve, resolve`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### allowChange

    public boolean allowChange()
    Tracks whether any changes to file location are permitted.
    Returns:
      True if relocation in the namespace is allowed, false otherwise.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`