Class Property<T>

java.lang.Object
org.apache.druid.indexer.Property<T>

public class Property<T> extends Object
Convenience class for holding a pair of string key and templated value.
  • Constructor Details

    • Property

      public Property(String name, @Nullable T value)
  • Method Details

    • getName

      public String getName()
    • getValue

      @Nullable public T getValue()
    • isValueNullOrEmptyCollection

      public boolean isValueNullOrEmptyCollection()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object