Class ArrowFormatReader

java.lang.Object
com.cupoftea.arrow.ArrowFormatReader
All Implemented Interfaces:
FormatReader
Direct Known Subclasses:
FeatherFormatReader

public class ArrowFormatReader extends Object implements FormatReader
  • Constructor Details

    • ArrowFormatReader

      public ArrowFormatReader()
  • Method Details

    • format

      public String format()
      Description copied from interface: FormatReader
      Unique format identifier handled by this reader (e.g., "csv", "json", "parquet", "excel", "html", "yaml", "xml"). Matching is case-insensitive.
      Specified by:
      format in interface FormatReader
      Returns:
      lowercase format name
    • read

      public IDataFrame read(ReadOptions options)
      Description copied from interface: FormatReader
      Reads tabular data matching the given read options and returns a populated IDataFrame.
      Specified by:
      read in interface FormatReader
      Parameters:
      options - input options containing source file, path, text, URL, schema, or configuration
      Returns:
      populated IDataFrame
    • parseIpcFormat

      protected ArrowIpcFormat parseIpcFormat(Object optionVal)