Enum Class FetchMode

java.lang.Object
java.lang.Enum<FetchMode>
com.graphhopper.util.FetchMode
All Implemented Interfaces:
Serializable, Comparable<FetchMode>, Constable

public enum FetchMode extends Enum<FetchMode>
This enum is used to specify which nodes should be included in the PointList when calling EdgeIteratorState.fetchWayGeometry(FetchMode). See also docs/core/low-level-api.md
  • Enum Constant Details

    • TOWER_ONLY

      public static final FetchMode TOWER_ONLY
    • PILLAR_ONLY

      public static final FetchMode PILLAR_ONLY
    • BASE_AND_PILLAR

      public static final FetchMode BASE_AND_PILLAR
    • PILLAR_AND_ADJ

      public static final FetchMode PILLAR_AND_ADJ
    • ALL

      public static final FetchMode ALL
  • Method Details

    • values

      public static FetchMode[] 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 FetchMode 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