Interface AvroTypeManager

All Known Implementing Classes:
HiveAvroTypeManager, NativeLogicalTypesAvroTypeManager

public interface AvroTypeManager
  • Method Details

    • overrideBlockToAvroObject

      Optional<BiFunction<Block,Integer,Object>> overrideBlockToAvroObject(org.apache.avro.Schema schema, Type type) throws AvroTypeException
      Extract and convert the object from the given block at the given position and return the Avro Generic Data forum. Type is either provided explicitly to the writer or derived from the schema using this interface.
      Throws:
      AvroTypeException