Enum Class Node.NodeStringFormat

java.lang.Object
java.lang.Enum<Node.NodeStringFormat>
org.elasticsearch.xpack.esql.core.tree.Node.NodeStringFormat
All Implemented Interfaces:
Serializable, Comparable<Node.NodeStringFormat>, Constable
Enclosing class:
Node<T extends Node<T>>

public static enum Node.NodeStringFormat extends Enum<Node.NodeStringFormat>
Output-shape configuration for the nodeString render pipeline. Controls truncation, width, and property-count limits. Orthogonal to identifier mapping — anonymization or any other identifier-substitution variant flows through a separately-passed NodeStringMapper.
  • Enum Constant Details

    • LIMITED

      public static final Node.NodeStringFormat LIMITED
      Bounded width / lines / property count for human-readable debug toString. The default.
    • FULL

      public static final Node.NodeStringFormat FULL
      No truncation; renders everything.
  • Method Details

    • values

      public static Node.NodeStringFormat[] 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 Node.NodeStringFormat 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