Class BlockConverter.AsInt32

java.lang.Object
org.elasticsearch.xpack.esql.arrow.BlockConverter
org.elasticsearch.xpack.esql.arrow.BlockConverter.AsInt32
Enclosing class:
BlockConverter

public static class BlockConverter.AsInt32 extends BlockConverter
Conversion of Int blocks
  • Constructor Details

    • AsInt32

      public AsInt32(String esqlType)
  • Method Details

    • convert

      public void convert(Block b, boolean multivalued, List<org.apache.arrow.memory.ArrowBuf> bufs, List<BlockConverter.BufWriter> bufWriters)
      Description copied from class: BlockConverter
      Convert a block into Arrow buffers.
      Specified by:
      convert in class BlockConverter
      Parameters:
      b - the ESQL block
      multivalued - is this column multivalued? This block may not, but some blocks in that column are.
      bufs - arrow buffers, used to track sizes
      bufWriters - buffer writers, that will do the actual work of writing the data