Interface TPCDSRecordHandler.CellWriter

  • Enclosing class:
    TPCDSRecordHandler

    public static interface TPCDSRecordHandler.CellWriter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean write​(Block block, int rowNum, String value)
      Converts a value from TPCDS' string representation into the appropriate Apache Arrow type and writes it to the correct field in the provided Block and row.
    • Method Detail

      • write

        boolean write​(Block block,
                      int rowNum,
                      String value)
        Converts a value from TPCDS' string representation into the appropriate Apache Arrow type and writes it to the correct field in the provided Block and row. The implementation should also apply constraints as an optimization.
        Parameters:
        block - The Apache Arrow Block to write into.
        rowNum - The row number in the Arrow Block to write into.
        value - The value to convert and write into the Apache Arrow Block.
        Returns:
        True if the value passed all Contraints.