Class DictionaryEncoding

java.lang.Object
org.apache.arrow.vector.types.pojo.DictionaryEncoding

public class DictionaryEncoding extends Object
A POJO representation of Arrow Dictionary metadata.
  • Constructor Details

    • DictionaryEncoding

      public DictionaryEncoding(long id, boolean ordered, ArrowType.Int indexType)
      Constructs a new instance.
      Parameters:
      id - The ID of the dictionary to use for encoding.
      ordered - Whether the keys in values in the dictionary are ordered.
      indexType - (nullable). The integer type to use for indexing in the dictionary. Defaults to a signed 32 bit integer.
  • Method Details

    • getId

      public long getId()
    • isOrdered

      public boolean isOrdered()
    • getIndexType

      public ArrowType.Int getIndexType()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object