Class GroupConverter

java.lang.Object
org.apache.parquet.io.api.Converter
org.apache.parquet.io.api.GroupConverter
Direct Known Subclasses:
FilteringGroupConverter

public abstract class GroupConverter extends Converter
converter for group nodes
  • Constructor Details

    • GroupConverter

      public GroupConverter()
  • Method Details

    • isPrimitive

      public boolean isPrimitive()
      Specified by:
      isPrimitive in class Converter
    • asGroupConverter

      public GroupConverter asGroupConverter()
      Overrides:
      asGroupConverter in class Converter
    • getConverter

      public abstract Converter getConverter(int fieldIndex)
      called at initialization based on schema must consistently return the same object
      Parameters:
      fieldIndex - index of the field in this group
      Returns:
      the corresponding converter
    • start

      public abstract void start()
      called at the beginning of the group managed by this converter
    • end

      public abstract void end()
      call at the end of the group