Interface MapEncoder<T>

All Superinterfaces:
Encoder<T>

public interface MapEncoder<T> extends Encoder<T>
Encoder to encode/decode object in the map container by toMap/fromMap row.
Author:
ganrunsheng
  • Method Details

    • keyField

      org.apache.arrow.vector.types.pojo.Field keyField()
    • valueField

      org.apache.arrow.vector.types.pojo.Field valueField()
    • fromMap

      T fromMap(BinaryArray keyArray, BinaryArray valueArray)
    • fromMap

      default T fromMap(BinaryMap binaryMap)
    • toMap

      BinaryMap toMap(T obj)