Class Holder<T>

java.lang.Object
org.elasticsearch.xpack.esql.core.util.Holder<T>

public class Holder<T> extends Object
Simply utility class used for setting a state, typically for closures (which require outside variables to be final).
  • Constructor Details

    • Holder

      public Holder()
    • Holder

      public Holder(T value)
  • Method Details

    • set

      public void set(T value)
    • get

      public T get()