Class BlockArrowFormatter.AsInt64
java.lang.Object
org.elasticsearch.xpack.esql.formatter.arrow.BlockArrowFormatter
org.elasticsearch.xpack.esql.formatter.arrow.BlockArrowFormatter.AsInt64
- Enclosing class:
BlockArrowFormatter
Conversion of Long blocks
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.formatter.arrow.BlockArrowFormatter
BlockArrowFormatter.AsBoolean, BlockArrowFormatter.AsDateRange, BlockArrowFormatter.AsFloat64, BlockArrowFormatter.AsInt32, BlockArrowFormatter.AsInt64, BlockArrowFormatter.AsNull, BlockArrowFormatter.AsVarBinary, BlockArrowFormatter.AsVarChar, BlockArrowFormatter.BufWriter, BlockArrowFormatter.BytesReFormatter, BlockArrowFormatter.TransformedBytesRef -
Field Summary
Fields inherited from class org.elasticsearch.xpack.esql.formatter.arrow.BlockArrowFormatter
ESQL_TYPE_METADATA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(Block b, boolean multivalued, List<org.apache.arrow.memory.ArrowBuf> bufs, List<BlockArrowFormatter.BufWriter> bufWriters) Convert a block into Arrow buffers.Methods inherited from class org.elasticsearch.xpack.esql.formatter.arrow.BlockArrowFormatter
addFieldNodes, arrowField, nullValuesCount
-
Constructor Details
-
AsInt64
-
AsInt64
-
-
Method Details
-
convert
public void convert(Block b, boolean multivalued, List<org.apache.arrow.memory.ArrowBuf> bufs, List<BlockArrowFormatter.BufWriter> bufWriters) Description copied from class:BlockArrowFormatterConvert a block into Arrow buffers.- Specified by:
convertin classBlockArrowFormatter- Parameters:
b- the ESQL blockmultivalued- is this column multivalued? This block may not, but some blocks in that column are.bufs- arrow buffers, used to track sizesbufWriters- buffer writers, that will do the actual work of writing the data
-