Package org.apache.arrow.memory.util
package org.apache.arrow.memory.util
-
ClassDescriptionPointer to a memory region within an
ArrowBuf
.Benchmarks forArrowBufPointer
.Utility class to that providesAssertionUtil.ASSERT_ENABLED
constant to determine if assertions are enabled.Simple wrapper class that allows Locks to be released via a try-with-resources block.Utility methods for memory comparison at a byte level.Benchmarks forByteFunctionHelpers
.State object for theByteFunctionHelpersBenchmarks.arrowBufArrayEquals(ArrowArrayEqualState)
benchmark.State object for theByteFunctionHelpersBenchmarks.arrowBufEquals(ArrowEqualState)
benchmark.Utilities and static methods needed for arrow-memory.Lifted from Apache Parquet MR project: https://github.com/apache/parquet-mr/blob/e87b80308869b77f914fcfd04364686e11158950/parquet-column/src/main/java/org/apache/parquet/schema/Float16.java Changes made: Modify the data type input from Parquet-MR Binary (toFloat(Binary b)) to Arrow Java short (toFloat(short b)) Expose NAN and POSITIVE_INFINITY variables The class is a utility class to manipulate half-precision 16-bit IEEE 754 floating point data types (also called fp16 or binary16).Utility class that can be used to log activity within a class for later logging and debugging.Contains utilities for dealing with a 64-bit address base.Utilities for memory related operations.Convenient way of obtaining and manipulating stack traces for debugging.