Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

add(int) - Method in interface org.apache.arrow.memory.AllocationReservation
Add to the current reservation.
add(T) - Method in class org.apache.arrow.util.AutoCloseables.RollbackCloseable
 
addAll(AutoCloseable...) - Method in class org.apache.arrow.util.AutoCloseables.RollbackCloseable
Add all of list to the rollback list.
addAll(Iterable<? extends AutoCloseable>) - Method in class org.apache.arrow.util.AutoCloseables.RollbackCloseable
Add all of list to the rollback list.
all(Collection<? extends AutoCloseable>) - Static method in class org.apache.arrow.util.AutoCloseables
Returns a new AutoCloseable that calls AutoCloseables.close(Iterable) on autoCloseables when close is called.
allocateBuffer() - Method in interface org.apache.arrow.memory.AllocationReservation
Allocate a buffer whose size is the total of all the add()s made.
ALLOCATION_MANAGER_TYPE_ENV_NAME - Static variable in class org.apache.arrow.memory.DefaultAllocationManagerOption
The environmental variable to set the default allocation manager type.
ALLOCATION_MANAGER_TYPE_PROPERTY_NAME - Static variable in class org.apache.arrow.memory.DefaultAllocationManagerOption
The system property to set the default allocation manager type.
AllocationListener - Interface in org.apache.arrow.memory
An allocation listener being notified for allocation/deallocation
AllocationManager - Class in org.apache.arrow.memory
An AllocationManager is the implementation of a physical memory allocation.
AllocationManager(BufferAllocator) - Constructor for class org.apache.arrow.memory.AllocationManager
 
AllocationManager.Factory - Interface in org.apache.arrow.memory
A factory interface for creating AllocationManager.
AllocationOutcome - Class in org.apache.arrow.memory
Describes the type of outcome that occurred when trying to account for allocation of memory.
AllocationOutcome.Status - Enum in org.apache.arrow.memory
Allocation status code.
AllocationOutcomeDetails - Class in org.apache.arrow.memory
Captures details of allocation for each accountant in the hierarchical chain.
AllocationOutcomeDetails.Entry - Class in org.apache.arrow.memory
Outcome of the allocation request at one accountant in the hierarchy.
AllocationReservation - Interface in org.apache.arrow.memory
Supports cumulative allocation reservation.
AllocatorClosedException - Exception Class in org.apache.arrow.memory
Exception thrown when a closed BufferAllocator is used.
AllocatorClosedException(String) - Constructor for exception class org.apache.arrow.memory.AllocatorClosedException
Constructs a new allocator closed exception with a given message.
ArrowBuf - Class in org.apache.arrow.memory
ArrowBuf serves as a facade over underlying memory by providing several access APIs to read/write data into a chunk of direct memory.
ArrowBuf(ReferenceManager, BufferManager, long, long) - Constructor for class org.apache.arrow.memory.ArrowBuf
Constructs a new ArrowBuf.
ArrowBufHasher - Interface in org.apache.arrow.memory.util.hash
Utility for calculating the hash code for a consecutive memory region.
ArrowBufPointer - Class in org.apache.arrow.memory.util
Pointer to a memory region within an ArrowBuf.
ArrowBufPointer() - Constructor for class org.apache.arrow.memory.util.ArrowBufPointer
The default constructor.
ArrowBufPointer(ArrowBuf, long, long) - Constructor for class org.apache.arrow.memory.util.ArrowBufPointer
Constructs an Arrow buffer pointer.
ArrowBufPointer(ArrowBuf, long, long, ArrowBufHasher) - Constructor for class org.apache.arrow.memory.util.ArrowBufPointer
Constructs an Arrow buffer pointer.
ArrowBufPointer(ArrowBufHasher) - Constructor for class org.apache.arrow.memory.util.ArrowBufPointer
Constructs an arrow buffer pointer with the specified hasher.
asImmutableList(V...) - Static method in class org.apache.arrow.util.Collections2
Copies the values to a new unmodifiable list.
ASSERT_ENABLED - Static variable in class org.apache.arrow.memory.util.AssertionUtil
 
AssertionUtil - Class in org.apache.arrow.memory.util
Utility class to that provides AssertionUtil.ASSERT_ENABLED constant to determine if assertions are enabled.
assertOpen() - Method in class org.apache.arrow.memory.RootAllocator
 
assertOpen() - Method in interface org.apache.arrow.memory.BufferAllocator
Asserts (using java assertions) that the provided allocator is currently open.
AutoCloseableLock - Class in org.apache.arrow.memory.util
Simple wrapper class that allows Locks to be released via a try-with-resources block.
AutoCloseableLock(Lock) - Constructor for class org.apache.arrow.memory.util.AutoCloseableLock
 
AutoCloseables - Class in org.apache.arrow.util
Utilities for AutoCloseable classes.
AutoCloseables.RollbackCloseable - Class in org.apache.arrow.util
A closeable wrapper that will close the underlying closeables if a commit does not occur.

B

BOUNDS_CHECKING_ENABLED - Static variable in class org.apache.arrow.memory.BoundsChecking
 
BoundsChecking - Class in org.apache.arrow.memory
Configuration class to determine if bounds checking should be turned on or off.
buffer - Variable in class org.apache.arrow.memory.BufferLedger.TransferResult
 
buffer(long) - Method in class org.apache.arrow.memory.RootAllocator
 
buffer(long) - Method in interface org.apache.arrow.memory.BufferAllocator
Allocate a new or reused buffer of the provided size.
buffer(long, BufferManager) - Method in class org.apache.arrow.memory.RootAllocator
 
buffer(long, BufferManager) - Method in interface org.apache.arrow.memory.BufferAllocator
Allocate a new or reused buffer of the provided size.
BufferAllocator - Interface in org.apache.arrow.memory
Wrapper class to deal with byte buffer allocation.
BufferLedger - Class in org.apache.arrow.memory
The reference manager that binds an AllocationManager to BufferAllocator and a set of ArrowBuf.
BufferLedger.TransferResult - Class in org.apache.arrow.memory
The outcome of a Transfer.
BufferManager - Interface in org.apache.arrow.memory
Manages a list of ArrowBufs that can be reallocated as needed.
buildHistory(StringBuilder, boolean) - Method in class org.apache.arrow.memory.util.HistoricalLog
Write the history of this object to the given StringBuilder.
buildHistory(StringBuilder, int, boolean) - Method in class org.apache.arrow.memory.util.HistoricalLog
Build the history and write it to sb.
BYTE_ARRAY_BASE_OFFSET - Static variable in class org.apache.arrow.memory.util.MemoryUtil
The start offset of array data relative to the start address of the array object.
ByteFunctionHelpers - Class in org.apache.arrow.memory.util
Utility methods for memory comparison at a byte level.

C

capacity() - Method in class org.apache.arrow.memory.ArrowBuf
 
capacity(long) - Method in class org.apache.arrow.memory.ArrowBuf
Adjusts the capacity of this buffer.
capAtMaxInt(long) - Static method in class org.apache.arrow.memory.util.LargeMemoryUtil
Returns a min(Integer.MAX_VALUE, length).
checkArgument(boolean) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, char, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, int, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, long, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkBytes(long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Allows a function to determine whether not reading a particular string of bytes is valid.
checkedCastToInt(long) - Static method in class org.apache.arrow.memory.util.LargeMemoryUtil
Casts length to an int, but raises an exception the value is outside the range of an int.
checkElementIndex(int, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkElementIndex(int, int, String) - Static method in class org.apache.arrow.util.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkNotNull(T) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, char, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, int, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, long, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkPositionIndex(long, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndex(long, long, String) - Static method in class org.apache.arrow.util.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndexes(int, int, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures that start and end specify a valid positions in an array, list or string of size size, and are in order.
checkState(boolean) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, char, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, int, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, long, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, char) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, int) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, long) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object, Object, Object, Object) - Static method in class org.apache.arrow.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
chunkSize - Variable in class org.apache.arrow.memory.rounding.DefaultRoundingPolicy
 
clear() - Method in class org.apache.arrow.memory.ArrowBuf
 
clear() - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Removes all elements from this map, leaving it empty.
close() - Method in interface org.apache.arrow.memory.AllocationReservation
 
close() - Method in class org.apache.arrow.memory.ArrowBuf
 
close() - Method in class org.apache.arrow.memory.RootAllocator
 
close() - Method in interface org.apache.arrow.memory.BufferAllocator
Close and release all buffers generated from this buffer pool.
close() - Method in interface org.apache.arrow.memory.BufferManager
 
close() - Method in class org.apache.arrow.memory.util.AutoCloseableLock
 
close() - Method in class org.apache.arrow.util.AutoCloseables.RollbackCloseable
 
close(AutoCloseable...) - Static method in class org.apache.arrow.util.AutoCloseables
Closes all autoCloseables if not null and suppresses subsequent exceptions if more than one.
close(Iterable<? extends AutoCloseable>) - Static method in class org.apache.arrow.util.AutoCloseables
Closes all autoCloseables if not null and suppresses subsequent exceptions if more than one.
close(Iterable<? extends AutoCloseable>...) - Static method in class org.apache.arrow.util.AutoCloseables
Calls AutoCloseables.close(Iterable) on the flattened list of closeables.
close(Throwable, AutoCloseable...) - Static method in class org.apache.arrow.util.AutoCloseables
Closes all autoCloseables if not null and suppresses exceptions by adding them to t.
close(Throwable, Iterable<? extends AutoCloseable>) - Static method in class org.apache.arrow.util.AutoCloseables
Closes all autoCloseables if not null and suppresses exceptions by adding them to t.
closeNoChecked(AutoCloseable) - Static method in class org.apache.arrow.util.AutoCloseables
close() an AutoCloseable without throwing a (checked) Exception.
Collections2 - Class in org.apache.arrow.util
Utility methods for manipulating Collections and their subclasses/implementations.
combineHash(int, int) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Generate a new hashCode with the given current hashCode and new hashCode.
combineHashCode(int, int) - Static method in class org.apache.arrow.memory.util.hash.MurmurHasher
Combine the current hash code and a new int value to calculate a new hash code.
combineHashCode(int, int) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
 
commit() - Method in class org.apache.arrow.util.AutoCloseables.RollbackCloseable
 
CommonUtil - Class in org.apache.arrow.memory.util
Utilities and static methods needed for arrow-memory.
compare(short, short) - Static method in class org.apache.arrow.memory.util.Float16
Compares the two specified half-precision float values.
compare(ArrowBuf, int, int, byte[], int, int) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Helper function to compare a set of bytes in ArrowBuf to a ByteArray.
compare(ArrowBuf, long, long, ArrowBuf, long, long) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Helper function to compare a set of bytes in two ArrowBufs.
compareTo(ArrowBufPointer) - Method in class org.apache.arrow.memory.util.ArrowBufPointer
Compare two arrow buffer pointers.
configBuilder() - Static method in class org.apache.arrow.memory.RootAllocator
Returns a builder class for configuring BaseAllocator's options.
containsKey(K) - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Returns whether this map contains the specified key.
containsValue(V) - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Returns whether this map contains the specified value.
copyMemory(Object, long, Object, long, long) - Static method in class org.apache.arrow.memory.util.MemoryUtil
 
create(BufferAllocator, long) - Method in interface org.apache.arrow.memory.AllocationManager.Factory

D

DEBUG - Static variable in class org.apache.arrow.memory.RootAllocator
 
DEBUG_ALLOCATOR - Static variable in class org.apache.arrow.memory.RootAllocator
 
DEBUG_LOG_LENGTH - Static variable in class org.apache.arrow.memory.RootAllocator
 
DEFAULT_CONFIG - Static variable in class org.apache.arrow.memory.RootAllocator
 
DEFAULT_ROUNDING_POLICY - Static variable in class org.apache.arrow.memory.rounding.DefaultRoundingPolicy
The singleton instance.
DefaultAllocationManagerOption - Class in org.apache.arrow.memory
A class for choosing the default allocation manager.
DefaultAllocationManagerOption() - Constructor for class org.apache.arrow.memory.DefaultAllocationManagerOption
 
DefaultAllocationManagerOption.AllocationManagerType - Enum in org.apache.arrow.memory
The allocation manager type.
defaultConfig() - Static method in class org.apache.arrow.memory.RootAllocator
Returns a default BaseAllocator.Config instance.
DefaultRoundingPolicy - Class in org.apache.arrow.memory.rounding
The default rounding policy.
deriveBuffer(ArrowBuf, long, long) - Method in class org.apache.arrow.memory.BufferLedger
Derive a new ArrowBuf from a given source ArrowBuf.
deriveBuffer(ArrowBuf, long, long) - Method in interface org.apache.arrow.memory.ReferenceManager
Derive a new ArrowBuf from a given source ArrowBuf.
directBuffer(long, int) - Static method in class org.apache.arrow.memory.util.MemoryUtil
Create nio byte buffer.

E

empty() - Method in interface org.apache.arrow.memory.AllocationManager.Factory
 
equal(ArrowBuf, long, long, ArrowBuf, long, long) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Helper function to check for equality of bytes in two ArrowBufs.
equals(Object) - Method in class org.apache.arrow.memory.ArrowBuf
 
equals(Object) - Method in class org.apache.arrow.memory.util.ArrowBufPointer
 
equals(Object) - Method in class org.apache.arrow.memory.util.hash.MurmurHasher
 
equals(Object) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
 

F

FAILED_LOCAL - Enum constant in enum org.apache.arrow.memory.AllocationOutcome.Status
Allocation failed because the local allocator's limits were exceeded.
FAILED_PARENT - Enum constant in enum org.apache.arrow.memory.AllocationOutcome.Status
Allocation failed because a parent allocator's limits were exceeded.
finalizeHashCode(int) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
 
finalizeHashCode(int, long) - Static method in class org.apache.arrow.memory.util.hash.MurmurHasher
Finalizing the hash code.
Float16 - Class in org.apache.arrow.memory.util
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).
Float16() - Constructor for class org.apache.arrow.memory.util.Float16
 
forceAllocate(long) - Method in class org.apache.arrow.memory.RootAllocator
Increase the accounting.
forceAllocate(long) - Method in interface org.apache.arrow.memory.BufferAllocator
Forcibly allocate bytes.
FORCED_SUCCESS - Enum constant in enum org.apache.arrow.memory.AllocationOutcome.Status
Allocation succeeded but only because the allocator was forced to move beyond a limit.
ForeignAllocation - Class in org.apache.arrow.memory
EXPERIMENTAL: a memory allocation that does not come from a BufferAllocator, but rather an outside source (like JNI).
ForeignAllocation(long, long) - Constructor for class org.apache.arrow.memory.ForeignAllocation
Create a new AllocationManager representing an imported buffer.

G

get(K) - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Returns the value of the mapping with the specified key.
getAccountant() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
getAccountedSize() - Method in class org.apache.arrow.memory.BufferLedger
How much memory is accounted for by this ledger.
getAccountedSize() - Method in interface org.apache.arrow.memory.ReferenceManager
Get the total accounted size (in bytes).
getActualMemoryConsumed() - Method in class org.apache.arrow.memory.ArrowBuf
Return that is Accounted for by this buffer (and its potentially shared siblings within the context of the associated allocator).
getAllocatedMemory() - Method in class org.apache.arrow.memory.RootAllocator
Return the current amount of allocated memory that this Accountant is managing accounting for.
getAllocatedMemory() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the amount of memory currently allocated from this allocator.
getAllocatedSize() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
getAllocationFit() - Method in class org.apache.arrow.memory.BufferLedger.TransferResult
 
getAllocationFit() - Method in class org.apache.arrow.memory.OwnershipTransferNOOP
 
getAllocationFit() - Method in interface org.apache.arrow.memory.OwnershipTransferResult
 
getAllocationManager() - Method in class org.apache.arrow.memory.BufferLedger
Get the AllocationManager used by this BufferLedger.
getAllocator() - Method in class org.apache.arrow.memory.BufferLedger
Get the buffer allocator associated with this reference manager.
getAllocator() - Method in interface org.apache.arrow.memory.ReferenceManager
Get the buffer allocator associated with this reference manager.
getBuf() - Method in class org.apache.arrow.memory.util.ArrowBufPointer
Gets the underlying buffer, or null if the underlying data is invalid or null.
getBuffer() - Method in interface org.apache.arrow.memory.ReusableBuffer
Get the buffer backing this ReusableBuffer.
getByte(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get byte value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getByteBufferAddress(ByteBuffer) - Static method in class org.apache.arrow.memory.util.MemoryUtil
Given a ByteBuffer, gets the address the underlying memory space.
getBytes(long, byte[]) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from this ArrowBuf at a given index in into destination byte array.
getBytes(long, byte[], int, int) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from this ArrowBuf at a given index into destination byte array.
getBytes(long, OutputStream, int) - Method in class org.apache.arrow.memory.ArrowBuf
Copy a certain length of bytes from this ArrowBuf at a given index into the given OutputStream.
getBytes(long, ByteBuffer) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from this ArrowBuf at a given index into the destination ByteBuffer.
getBytes(long, ArrowBuf, long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Copy a given length of data from this ArrowBuf starting at a given index into a dst ArrowBuf at dstIndex.
getChar(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get char value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getChildAllocators() - Method in class org.apache.arrow.memory.RootAllocator
 
getChildAllocators() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the set of child allocators.
getDefaultAllocationManagerType() - Static method in class org.apache.arrow.memory.DefaultAllocationManagerOption
Returns the default allocation manager type.
getDetails() - Method in class org.apache.arrow.memory.AllocationOutcome
Get additional details of the allocation (like the status at each allocator in the hierarchy).
getDouble(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get double value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getEmpty() - Method in class org.apache.arrow.memory.RootAllocator
 
getEmpty() - Method in interface org.apache.arrow.memory.BufferAllocator
Get a reference to the empty buffer associated with this allocator.
getFailedAllocator() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails
Get the allocator that caused the failure.
getFloat(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get float value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getHeadroom() - Method in class org.apache.arrow.memory.RootAllocator
 
getHeadroom() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the amount of memory that can probably be allocated at this moment without exceeding this or any parents allocation maximum.
getId() - Method in class org.apache.arrow.memory.ArrowBuf
Get the integer id assigned to this ArrowBuf for debugging purposes.
getInitReservation() - Method in class org.apache.arrow.memory.RootAllocator
Return the initial reservation.
getInitReservation() - Method in interface org.apache.arrow.memory.BufferAllocator
Return the initial reservation.
getInt(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get int value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getKey() - Method in class org.apache.arrow.memory.BufferLedger
 
getKey() - Method in interface org.apache.arrow.memory.ValueWithKeyIncluded
 
getLength() - Method in interface org.apache.arrow.memory.ReusableBuffer
Get the number of valid bytes in the data.
getLength() - Method in class org.apache.arrow.memory.util.ArrowBufPointer
 
getLimit() - Method in class org.apache.arrow.memory.RootAllocator
Return the current limit of this Accountant.
getLimit() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
getLimit() - Method in interface org.apache.arrow.memory.BufferAllocator
Return the current maximum limit this allocator imposes.
getListener() - Method in class org.apache.arrow.memory.RootAllocator
 
getListener() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the allocation listener used by this allocator.
getLong(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get long value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getLongHashCode(long) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
 
getManagedBuffer() - Method in interface org.apache.arrow.memory.BufferManager
Get a managed buffer of indeterminate size.
getManagedBuffer(long) - Method in interface org.apache.arrow.memory.BufferManager
Get a managed buffer of at least a certain size.
getName() - Method in class org.apache.arrow.memory.RootAllocator
 
getName() - Method in interface org.apache.arrow.memory.BufferAllocator
Return the name of this allocator.
getNextValue() - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Special API to return next value - substitute of regular Map.values.iterator().next().
getOffset() - Method in class org.apache.arrow.memory.util.ArrowBufPointer
 
getOutcomeDetails() - Method in exception class org.apache.arrow.memory.OutOfMemoryException
 
getParentAllocator() - Method in class org.apache.arrow.memory.RootAllocator
 
getParentAllocator() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the parent allocator.
getPeakMemoryAllocation() - Method in class org.apache.arrow.memory.RootAllocator
The peak memory allocated by this Accountant.
getPeakMemoryAllocation() - Method in interface org.apache.arrow.memory.BufferAllocator
Returns the peak amount of memory allocated from this allocator.
getPossibleMemoryConsumed() - Method in class org.apache.arrow.memory.ArrowBuf
Returns the possible memory consumed by this ArrowBuf in the worse case scenario.
getRefCount() - Method in class org.apache.arrow.memory.BufferLedger
Get this ledger's reference count.
getRefCount() - Method in interface org.apache.arrow.memory.ReferenceManager
Return the reference count.
getReferenceManager() - Method in class org.apache.arrow.memory.ArrowBuf
Get reference manager for this ArrowBuf.
getRequestedSize() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
getRoot() - Method in class org.apache.arrow.memory.RootAllocator
 
getRoot() - Method in interface org.apache.arrow.memory.BufferAllocator
Get the root allocator of this allocator.
getRoundedSize(long) - Method in class org.apache.arrow.memory.rounding.DefaultRoundingPolicy
 
getRoundedSize(long) - Method in interface org.apache.arrow.memory.rounding.RoundingPolicy
 
getRoundedSize(long) - Method in class org.apache.arrow.memory.rounding.SegmentRoundingPolicy
 
getRoundingPolicy() - Method in class org.apache.arrow.memory.RootAllocator
 
getRoundingPolicy() - Method in interface org.apache.arrow.memory.BufferAllocator
Gets the rounding policy of the allocator.
getSegmentSize() - Method in class org.apache.arrow.memory.rounding.SegmentRoundingPolicy
 
getShort(long) - Method in class org.apache.arrow.memory.ArrowBuf
Get short value stored at a particular index in the underlying memory chunk this ArrowBuf has access to.
getSize() - Method in class org.apache.arrow.memory.AllocationManager
Return the size of underlying chunk of memory managed by this Allocation Manager.
getSize() - Method in interface org.apache.arrow.memory.AllocationReservation
Get the current size of the reservation (the sum of all the add()s).
getSize() - Method in class org.apache.arrow.memory.BufferLedger
Total size (in bytes) of memory underlying this reference manager.
getSize() - Method in class org.apache.arrow.memory.ForeignAllocation
Get the size of this allocation.
getSize() - Method in interface org.apache.arrow.memory.ReferenceManager
Total size (in bytes) of memory underlying this reference manager.
getStatus() - Method in class org.apache.arrow.memory.AllocationOutcome
Get the status of the allocation.
getTransferredBuffer() - Method in class org.apache.arrow.memory.BufferLedger.TransferResult
 
getTransferredBuffer() - Method in class org.apache.arrow.memory.OwnershipTransferNOOP
 
getTransferredBuffer() - Method in interface org.apache.arrow.memory.OwnershipTransferResult
 
getUsed() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 

H

hash(ArrowBuf, long, long) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Compute hashCode with the given ArrowBuf and start/end index.
hash(ArrowBufHasher, ArrowBuf, long, long) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Compute hashCode with the given ArrowBufHasher, ArrowBuf and start/end index.
hashCode() - Method in class org.apache.arrow.memory.ArrowBuf
 
hashCode() - Method in class org.apache.arrow.memory.util.ArrowBufPointer
 
hashCode() - Method in class org.apache.arrow.memory.util.hash.MurmurHasher
 
hashCode() - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
 
hashCode(long, long) - Method in interface org.apache.arrow.memory.util.hash.ArrowBufHasher
Calculates the hash code for a memory region.
hashCode(long, long) - Method in class org.apache.arrow.memory.util.hash.MurmurHasher
 
hashCode(long, long) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
Calculates the hash code for a memory region.
hashCode(long, long, int) - Static method in class org.apache.arrow.memory.util.hash.MurmurHasher
Calculates the hash code for a memory region.
hashCode(ArrowBuf, long, long) - Method in interface org.apache.arrow.memory.util.hash.ArrowBufHasher
Calculates the hash code for a memory region.
hashCode(ArrowBuf, long, long) - Method in class org.apache.arrow.memory.util.hash.MurmurHasher
 
hashCode(ArrowBuf, long, long) - Method in class org.apache.arrow.memory.util.hash.SimpleHasher
Calculates the hash code for a memory region.
hashCode(ArrowBuf, long, long, int) - Static method in class org.apache.arrow.memory.util.hash.MurmurHasher
Calculates the hash code for a memory region.
HistoricalLog - Class in org.apache.arrow.memory.util
Utility class that can be used to log activity within a class for later logging and debugging.
HistoricalLog(int, String, Object...) - Constructor for class org.apache.arrow.memory.util.HistoricalLog
Constructor.
HistoricalLog(String, Object...) - Constructor for class org.apache.arrow.memory.util.HistoricalLog
Constructor.

I

immutableListCopy(List<V>) - Static method in class org.apache.arrow.util.Collections2
Copies the elements of list to a new unmodifiable list.
immutableMapCopy(Map<K, V>) - Static method in class org.apache.arrow.util.Collections2
Copies the elements of map to a new unmodifiable map.
indent(StringBuilder, int) - Static method in class org.apache.arrow.memory.util.CommonUtil
Specify an indentation amount when using a StringBuilder.
INSTANCE - Static variable in class org.apache.arrow.memory.util.hash.SimpleHasher
 
isAllocationFailed() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
isAssertionsEnabled() - Static method in class org.apache.arrow.memory.util.AssertionUtil
 
isClosed() - Method in interface org.apache.arrow.memory.AllocationReservation
Return whether or not the reservation has been closed.
isDebug() - Static method in class org.apache.arrow.memory.RootAllocator
 
isEmpty() - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Returns whether this Map has no elements.
isNaN(short) - Static method in class org.apache.arrow.memory.util.Float16
Returns true if the specified half-precision float value represents a Not-a-Number, false otherwise.
isOk() - Method in class org.apache.arrow.memory.AllocationOutcome
Returns true if the allocation was a success.
isOk() - Method in enum org.apache.arrow.memory.AllocationOutcome.Status
 
isOverLimit() - Method in class org.apache.arrow.memory.RootAllocator
 
isOverLimit() - Method in interface org.apache.arrow.memory.BufferAllocator
Return whether or not this allocator (or one if its parents) is over its limits.
isUsed() - Method in interface org.apache.arrow.memory.AllocationReservation
Return whether or not the reservation has been used.
iter(AutoCloseable...) - Static method in class org.apache.arrow.util.AutoCloseables
Converts ac to a Iterable filtering out any null values.

J

java.util.Objects.requireNonNull() - Search tag in class org.apache.arrow.util.Preconditions
Section

L

LargeMemoryUtil - Class in org.apache.arrow.memory.util
Contains utilities for dealing with a 64-bit address base.
LITTLE_ENDIAN - Static variable in class org.apache.arrow.memory.util.MemoryUtil
If the native byte order is little-endian.
logHistory(Logger) - Method in class org.apache.arrow.memory.util.HistoricalLog
Write the history of this object to the given Logger.
LowCostIdentityHashMap<K,V> - Class in org.apache.arrow.memory
Highly specialized IdentityHashMap that implements only partial Map APIs.
LowCostIdentityHashMap() - Constructor for class org.apache.arrow.memory.LowCostIdentityHashMap
Creates a Map with default expected maximum size.
LowCostIdentityHashMap(int) - Constructor for class org.apache.arrow.memory.LowCostIdentityHashMap
Creates a Map with the specified maximum size parameter.

M

memoryAddress() - Method in class org.apache.arrow.memory.AllocationManager
Return the absolute memory address pointing to the fist byte of underlying memory chunk.
memoryAddress() - Method in class org.apache.arrow.memory.ArrowBuf
 
memoryAddress() - Method in class org.apache.arrow.memory.ForeignAllocation
Get the address of this allocation.
MemoryUtil - Class in org.apache.arrow.memory.util
Utilities for memory related operations.
MIN_SEGMENT_SIZE - Static variable in class org.apache.arrow.memory.rounding.SegmentRoundingPolicy
The minimal segment size.
More information - Search tag in class org.apache.arrow.util.Preconditions
Section
MurmurHasher - Class in org.apache.arrow.memory.util.hash
Implementation of the Murmur hashing algorithm.
MurmurHasher() - Constructor for class org.apache.arrow.memory.util.hash.MurmurHasher
Creates a default Murmur hasher, with seed 0.
MurmurHasher(int) - Constructor for class org.apache.arrow.memory.util.hash.MurmurHasher
Creates a Murmur hasher.

N

NaN - Static variable in class org.apache.arrow.memory.util.Float16
 
Netty - Enum constant in enum org.apache.arrow.memory.DefaultAllocationManagerOption.AllocationManagerType
Netty based allocation manager.
newChildAllocator(String, long, long) - Method in class org.apache.arrow.memory.RootAllocator
 
newChildAllocator(String, long, long) - Method in interface org.apache.arrow.memory.BufferAllocator
Create a new child allocator.
newChildAllocator(String, AllocationListener, long, long) - Method in class org.apache.arrow.memory.RootAllocator
 
newChildAllocator(String, AllocationListener, long, long) - Method in interface org.apache.arrow.memory.BufferAllocator
Create a new child allocator.
newReservation() - Method in class org.apache.arrow.memory.RootAllocator
 
newReservation() - Method in interface org.apache.arrow.memory.BufferAllocator
Create an allocation reservation.
nextPowerOfTwo(int) - Static method in class org.apache.arrow.memory.util.CommonUtil
Rounds up the provided value to the nearest power of two.
nextPowerOfTwo(long) - Static method in class org.apache.arrow.memory.util.CommonUtil
Rounds up the provided value to the nearest power of two.
nioBuffer() - Method in class org.apache.arrow.memory.ArrowBuf
Make a nio byte buffer from this arrowbuf.
nioBuffer(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Make a nio byte buffer from this ArrowBuf.
NO_OP - Static variable in interface org.apache.arrow.memory.ReferenceManager
 
NO_OP_ERROR_MESSAGE - Static variable in interface org.apache.arrow.memory.ReferenceManager
 
Non-preconditions - Search tag in class org.apache.arrow.util.Preconditions
Section
noop() - Static method in class org.apache.arrow.util.AutoCloseables
Get an AutoCloseable that does nothing.
NOOP - Static variable in interface org.apache.arrow.memory.AllocationListener
 
NULL_HASH_CODE - Static variable in class org.apache.arrow.memory.util.ArrowBufPointer
The hash code when the arrow buffer is null.

O

onAllocation(long) - Method in interface org.apache.arrow.memory.AllocationListener
Called each time a new buffer has been allocated.
onChildAdded(BufferAllocator, BufferAllocator) - Method in interface org.apache.arrow.memory.AllocationListener
Called immediately after a child allocator was added to the parent allocator.
onChildRemoved(BufferAllocator, BufferAllocator) - Method in interface org.apache.arrow.memory.AllocationListener
Called immediately after a child allocator was removed from the parent allocator.
onFailedAllocation(long, AllocationOutcome) - Method in interface org.apache.arrow.memory.AllocationListener
Called whenever an allocation failed, giving the caller a chance to create some space in the allocator (either by freeing some resource, or by changing the limit), and, if successful, allowing the allocator to retry the allocation.
Only %s is supported - Search tag in class org.apache.arrow.util.Preconditions
Section
onPreAllocation(long) - Method in interface org.apache.arrow.memory.AllocationListener
Called each time a new buffer has been requested.
onRelease(long) - Method in interface org.apache.arrow.memory.AllocationListener
Informed each time a buffer is released from allocation.
open() - Method in class org.apache.arrow.memory.util.AutoCloseableLock
 
order() - Method in class org.apache.arrow.memory.ArrowBuf
Returns the byte order of elements in this buffer.
org.apache.arrow.memory - package org.apache.arrow.memory
Memory Allocation, Accounting and Management.
org.apache.arrow.memory.rounding - package org.apache.arrow.memory.rounding
 
org.apache.arrow.memory.util - package org.apache.arrow.memory.util
 
org.apache.arrow.memory.util.hash - package org.apache.arrow.memory.util.hash
 
org.apache.arrow.util - package org.apache.arrow.util
 
Other types of preconditions - Search tag in class org.apache.arrow.util.Preconditions
Section
OutOfMemoryException - Exception Class in org.apache.arrow.memory
Indicates memory could not be allocated for Arrow buffers.
OutOfMemoryException() - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OutOfMemoryException(String) - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OutOfMemoryException(String, Throwable) - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OutOfMemoryException(String, Throwable, boolean, boolean) - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OutOfMemoryException(String, Optional<AllocationOutcomeDetails>) - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OutOfMemoryException(Throwable) - Constructor for exception class org.apache.arrow.memory.OutOfMemoryException
 
OwnershipTransferNOOP - Class in org.apache.arrow.memory
An OwnershipTransferResult indicating no transfer needed.
OwnershipTransferResult - Interface in org.apache.arrow.memory
The result of transferring an ArrowBuf between BufferAllocators.

P

parent - Variable in class org.apache.arrow.memory.RootAllocator
The parent allocator.
POSITIVE_INFINITY - Static variable in class org.apache.arrow.memory.util.Float16
 
Preconditions - Class in org.apache.arrow.util
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
print(StringBuilder, int) - Method in class org.apache.arrow.memory.ArrowBuf
Print detailed information of this buffer into sb.
print(StringBuilder, int, BaseAllocator.Verbosity) - Method in class org.apache.arrow.memory.ArrowBuf
Print information of this buffer into sb at the given indentation and verbosity level.
put(V) - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Maps the specified key to the specified value.

R

readableBytes() - Method in class org.apache.arrow.memory.ArrowBuf
Returns the number of bytes still available to read in this buffer.
readByte() - Method in class org.apache.arrow.memory.ArrowBuf
Read the byte at readerIndex.
readBytes(byte[]) - Method in class org.apache.arrow.memory.ArrowBuf
Read dst.length bytes at readerIndex into dst byte array
readerIndex() - Method in class org.apache.arrow.memory.ArrowBuf
Get the index at which the next byte will be read from.
readerIndex(long) - Method in class org.apache.arrow.memory.ArrowBuf
Set the reader index for this ArrowBuf.
reallocIfNeeded(long) - Method in class org.apache.arrow.memory.ArrowBuf
Returns this if size is less than ArrowBuf.capacity(), otherwise delegates to BufferManager.replace(ArrowBuf, long) to get a new buffer.
recordEvent(String, Object...) - Method in class org.apache.arrow.memory.util.HistoricalLog
Record an event.
refCnt() - Method in class org.apache.arrow.memory.ArrowBuf
 
ReferenceManager - Interface in org.apache.arrow.memory
ReferenceManager is the reference count for one or more allocations.
release() - Method in class org.apache.arrow.memory.BufferLedger
Decrement the ledger's reference count by 1 for the associated underlying memory chunk.
release() - Method in interface org.apache.arrow.memory.ReferenceManager
Decrement this reference manager's reference count by 1 for the associated underlying memory.
release(int) - Method in class org.apache.arrow.memory.BufferLedger
Decrement the ledger's reference count for the associated underlying memory chunk.
release(int) - Method in interface org.apache.arrow.memory.ReferenceManager
Decrement this reference manager's reference count for the associated underlying memory.
release0() - Method in class org.apache.arrow.memory.AllocationManager
Release the underlying memory chunk.
release0() - Method in class org.apache.arrow.memory.ForeignAllocation
Free this allocation.
releaseBytes(long) - Method in class org.apache.arrow.memory.RootAllocator
 
releaseBytes(long) - Method in interface org.apache.arrow.memory.BufferAllocator
Release bytes from this allocator.
remove(K) - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Removes the mapping with the specified key from this map.
replace(ArrowBuf, long) - Method in interface org.apache.arrow.memory.BufferManager
Replace an old buffer with a new version at least of the provided size.
reservation - Variable in class org.apache.arrow.memory.RootAllocator
The amount of memory reserved for this allocator.
reserve(int) - Method in interface org.apache.arrow.memory.AllocationReservation
Requests a reservation of additional space.
retain() - Method in class org.apache.arrow.memory.BufferLedger
Increment the ledger's reference count for associated underlying memory chunk by 1.
retain() - Method in interface org.apache.arrow.memory.ReferenceManager
Increment this reference manager's reference count by 1 for the associated underlying memory.
retain(int) - Method in class org.apache.arrow.memory.BufferLedger
Increment the ledger's reference count for associated underlying memory chunk by the given amount.
retain(int) - Method in interface org.apache.arrow.memory.ReferenceManager
Increment this reference manager's reference count by a given amount for the associated underlying memory.
retain(ArrowBuf, BufferAllocator) - Method in class org.apache.arrow.memory.BufferLedger
Create a new ArrowBuf that is associated with an alternative allocator for the purposes of memory ownership and accounting.
retain(ArrowBuf, BufferAllocator) - Method in interface org.apache.arrow.memory.ReferenceManager
Create a new ArrowBuf that is associated with an alternative allocator for the purposes of memory ownership and accounting.
ReusableBuffer<T> - Interface in org.apache.arrow.memory
A lightweight, automatically expanding container for holding byte data.
rollbackable(AutoCloseable...) - Static method in class org.apache.arrow.util.AutoCloseables
Creates an AutoCloseables.RollbackCloseable from the given closeables.
RollbackCloseable(AutoCloseable...) - Constructor for class org.apache.arrow.util.AutoCloseables.RollbackCloseable
 
RootAllocator - Class in org.apache.arrow.memory
A root allocator for using direct memory for Arrow Vectors/Arrays.
RootAllocator() - Constructor for class org.apache.arrow.memory.RootAllocator
 
RootAllocator(long) - Constructor for class org.apache.arrow.memory.RootAllocator
 
RootAllocator(AllocationListener, long) - Constructor for class org.apache.arrow.memory.RootAllocator
 
RootAllocator(AllocationListener, long, RoundingPolicy) - Constructor for class org.apache.arrow.memory.RootAllocator
Constructor.
RootAllocator(BaseAllocator.Config) - Constructor for class org.apache.arrow.memory.RootAllocator
 
RoundingPolicy - Interface in org.apache.arrow.memory.rounding
The policy for rounding the buffer size, to improve performance and avoid memory fragmentation.

S

SegmentRoundingPolicy - Class in org.apache.arrow.memory.rounding
The rounding policy that each buffer size must a multiple of the segment size.
SegmentRoundingPolicy(int) - Constructor for class org.apache.arrow.memory.rounding.SegmentRoundingPolicy
Constructor for the segment rounding policy.
set(ArrowBuf, long, long) - Method in interface org.apache.arrow.memory.ReusableBuffer
Set the buffer to the contents of the given ArrowBuf.
set(ArrowBuf, long, long) - Method in class org.apache.arrow.memory.util.ArrowBufPointer
Sets this pointer.
setByte(long, byte) - Method in class org.apache.arrow.memory.ArrowBuf
Set byte value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setByte(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Set byte value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setBytes(long, byte[]) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from a given byte array into this ArrowBuf starting at a given index.
setBytes(long, byte[], int, long) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from a given byte array starting at the given source index into this ArrowBuf at a given index.
setBytes(long, InputStream, int) - Method in class org.apache.arrow.memory.ArrowBuf
Copy a certain length of bytes from given InputStream into this ArrowBuf at the provided index.
setBytes(long, ByteBuffer) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data into this ArrowBuf at a given index onwards from a source ByteBuffer.
setBytes(long, ByteBuffer, int, int) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data into this ArrowBuf at a given index onwards from a source ByteBuffer starting at a given srcIndex for a certain length.
setBytes(long, ArrowBuf) - Method in class org.apache.arrow.memory.ArrowBuf
Copy readableBytes() number of bytes from src ArrowBuf starting from its readerIndex into this ArrowBuf starting at the given index.
setBytes(long, ArrowBuf, long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Copy data from src ArrowBuf starting at index srcIndex into this ArrowBuf at given index.
setChar(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Set char value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setDouble(long, double) - Method in class org.apache.arrow.memory.ArrowBuf
Set double value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setFloat(long, float) - Method in class org.apache.arrow.memory.ArrowBuf
Set float value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setInt(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Set int value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setLimit(long) - Method in class org.apache.arrow.memory.RootAllocator
Set the maximum amount of memory that can be allocated in the this Accountant before failing an allocation.
setLimit(long) - Method in interface org.apache.arrow.memory.BufferAllocator
Set the maximum amount of memory this allocator is allowed to allocate.
setLong(long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Set long value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setOne(int, int) - Method in class org.apache.arrow.memory.ArrowBuf
Deprecated.
setOne(long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Sets all bits to one in the specified range.
setShort(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Set short value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setShort(long, short) - Method in class org.apache.arrow.memory.ArrowBuf
Set short value at a particular index in the underlying memory chunk this ArrowBuf has access to.
setZero(long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Zero-out the bytes in this ArrowBuf starting at the given index for the given length.
SimpleHasher - Class in org.apache.arrow.memory.util.hash
A simple hasher that calculates the hash code of integers as is, and does not perform any finalization.
SimpleHasher() - Constructor for class org.apache.arrow.memory.util.hash.SimpleHasher
 
size() - Method in class org.apache.arrow.memory.LowCostIdentityHashMap
Returns the number of mappings in this Map.
slice() - Method in class org.apache.arrow.memory.ArrowBuf
Returns a slice of only the readable bytes in the buffer.
slice(long, long) - Method in class org.apache.arrow.memory.ArrowBuf
Returns a slice (view) starting at index with the given length.
StackTrace - Class in org.apache.arrow.memory.util
Convenient way of obtaining and manipulating stack traces for debugging.
StackTrace() - Constructor for class org.apache.arrow.memory.util.StackTrace
Constructor.
SUCCESS - Enum constant in enum org.apache.arrow.memory.AllocationOutcome.Status
Allocation succeeded.

T

toFloat(short) - Static method in class org.apache.arrow.memory.util.Float16
Converts the specified half-precision float value into a single-precision float value.
toFloat16(float) - Static method in class org.apache.arrow.memory.util.Float16
Converts the specified single-precision float value into a half-precision float value.
toFloatString(short) - Static method in class org.apache.arrow.memory.util.Float16
Returns a string representation of the specified half-precision float value.
toHexString(long, int) - Method in class org.apache.arrow.memory.ArrowBuf
Return the buffer's byte contents in the form of a hex dump.
toImmutableList(Iterable<T>) - Static method in class org.apache.arrow.util.Collections2
Converts the iterable into a new immutable List.
toList(Iterable<T>) - Static method in class org.apache.arrow.util.Collections2
Converts the iterable into a new List.
toList(Iterator<T>) - Static method in class org.apache.arrow.util.Collections2
Creates a List from the elements remaining in iterator.
toString() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails.Entry
 
toString() - Method in class org.apache.arrow.memory.AllocationOutcomeDetails
 
toString() - Method in class org.apache.arrow.memory.ArrowBuf
 
toString() - Method in class org.apache.arrow.memory.RootAllocator
 
toString() - Method in class org.apache.arrow.memory.util.StackTrace
 
toString(Iterator<?>) - Static method in class org.apache.arrow.util.Collections2
Creates a human readable string from the remaining elements in iterator.
toVerboseString() - Method in class org.apache.arrow.memory.RootAllocator
Provide a verbose string of the current allocator state.
toVerboseString() - Method in interface org.apache.arrow.memory.BufferAllocator
Return a verbose string describing this allocator.
transferOwnership(ArrowBuf, BufferAllocator) - Method in class org.apache.arrow.memory.BufferLedger
Transfer the memory accounting ownership of this ArrowBuf to another allocator.
transferOwnership(ArrowBuf, BufferAllocator) - Method in interface org.apache.arrow.memory.ReferenceManager
Duplicate the memory accounting ownership of the backing allocation of the given ArrowBuf in another allocator.

U

Unknown - Enum constant in enum org.apache.arrow.memory.DefaultAllocationManagerOption.AllocationManagerType
Unknown type.
Unsafe - Enum constant in enum org.apache.arrow.memory.DefaultAllocationManagerOption.AllocationManagerType
Unsafe based allocation manager.
UNSAFE - Static variable in class org.apache.arrow.memory.util.MemoryUtil
The unsafe object from which to access the off-heap memory.
unsignedIntCompare(int, int) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
 
unsignedLongCompare(long, long) - Static method in class org.apache.arrow.memory.util.ByteFunctionHelpers
Compares the two specified long values, treating them as unsigned values between 0 and 2^64 - 1 inclusive.

V

valueOf(String) - Static method in enum org.apache.arrow.memory.AllocationOutcome.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.arrow.memory.DefaultAllocationManagerOption.AllocationManagerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.arrow.memory.AllocationOutcome.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.arrow.memory.DefaultAllocationManagerOption.AllocationManagerType
Returns an array containing the constants of this enum type, in the order they are declared.
ValueWithKeyIncluded<K> - Interface in org.apache.arrow.memory
Helper interface to generify a value to be included in the map where key is part of the value.
verify() - Method in class org.apache.arrow.memory.RootAllocator
Verify the accounting state of the allocation system.
VisibleForTesting - Annotation Type in org.apache.arrow.util
Annotation to indicate a class member or class is visible only for the purposes of testing and otherwise should not be referenced by other classes.

W

Warning about performance - Search tag in class org.apache.arrow.util.Preconditions
Section
wrapForeignAllocation(ForeignAllocation) - Method in class org.apache.arrow.memory.RootAllocator
 
wrapForeignAllocation(ForeignAllocation) - Method in interface org.apache.arrow.memory.BufferAllocator
EXPERIMENTAL: Wrap an allocation created outside this BufferAllocator.
writableBytes() - Method in class org.apache.arrow.memory.ArrowBuf
Returns the number of bytes still available to write into this buffer before capacity is reached.
writeByte(byte) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided byte value at the writerIndex.
writeByte(int) - Method in class org.apache.arrow.memory.ArrowBuf
Set the lower order byte for the provided value at the writerIndex.
writeBytes(byte[]) - Method in class org.apache.arrow.memory.ArrowBuf
Write the bytes from given byte array into this ArrowBuf starting at writerIndex.
writeBytes(byte[], int, int) - Method in class org.apache.arrow.memory.ArrowBuf
Write the bytes from given byte array starting at srcIndex into this ArrowBuf starting at writerIndex.
writeDouble(double) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided double value at the writerIndex.
writeFloat(float) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided float value at the writerIndex.
writeInt(int) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided int value at the writerIndex.
writeLong(long) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided long value at the writerIndex.
writerIndex() - Method in class org.apache.arrow.memory.ArrowBuf
Get the index at which next byte will be written to.
writerIndex(long) - Method in class org.apache.arrow.memory.ArrowBuf
Set the writer index for this ArrowBuf.
writeShort(int) - Method in class org.apache.arrow.memory.ArrowBuf
Set the provided int value as short at the writerIndex.
writeToBuilder(StringBuilder, int) - Method in class org.apache.arrow.memory.util.StackTrace
Write the stack trace to a StringBuilder.
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form