- get() - Method in interface org.apache.datasketches.memory.Handle
-
Gets a Memory
- getAndAddLong(long, long) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Atomically adds the given value to the long located at offsetBytes.
- getAndSetLong(long, long) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Atomically exchanges the given value with the current value located at offsetBytes.
- getArray() - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Returns the primitive backing array, otherwise null.
- getArray() - Method in interface org.apache.datasketches.memory.WritableMemory
-
Returns the primitive backing array, otherwise null.
- getBoolean() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the boolean value at the current position.
- getBoolean(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the boolean value at the given offset.
- getBoolean(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the boolean value at the given offset
- getBooleanArray(boolean[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the boolean array at the current position.
- getBooleanArray(long, boolean[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the boolean array at the given offset
- getByte() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the byte value at the current position.
- getByte(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the byte value at the given offset.
- getByte(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the byte value at the given offset
- getByteArray(byte[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the byte array at the current position.
- getByteArray(long, byte[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the byte array at the given offset
- getByteBuffer() - Method in interface org.apache.datasketches.memory.BaseState
-
Gets the backing ByteBuffer if it exists, otherwise returns null.
- getCapacity() - Method in interface org.apache.datasketches.memory.BaseState
-
Gets the capacity of this object in bytes
- getChar() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the char value at the current position.
- getChar(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the char value at the given offset.
- getChar(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the char value at the given offset
- getCharArray(char[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the char array at the current position.
- getCharArray(long, char[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the char array at the given offset
- getCharsFromUtf8(long, int, Appendable) - Method in interface org.apache.datasketches.memory.Memory
-
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given Appendable.
- getCharsFromUtf8(long, int, StringBuilder) - Method in interface org.apache.datasketches.memory.Memory
-
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given StringBuilder.
- getCumulativeOffset() - Method in interface org.apache.datasketches.memory.BaseState
-
Gets the cumulative offset in bytes of this object from the backing resource.
- getCumulativeOffset(long) - Method in interface org.apache.datasketches.memory.BaseState
-
Gets the cumulative offset in bytes of this object from the backing resource including the given
offsetBytes.
- getCurrentDirectMemoryAllocated() - Static method in interface org.apache.datasketches.memory.BaseState
-
Gets the current size of active direct memory allocated.
- getCurrentDirectMemoryAllocations() - Static method in interface org.apache.datasketches.memory.BaseState
-
Gets the current number of active direct memory allocations.
- getCurrentDirectMemoryMapAllocated() - Static method in interface org.apache.datasketches.memory.BaseState
-
Gets the current size of active direct memory map allocated.
- getCurrentDirectMemoryMapAllocations() - Static method in interface org.apache.datasketches.memory.BaseState
-
Gets the current number of active direct memory map allocations.
- getDouble() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the double value at the current position.
- getDouble(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the double value at the given offset.
- getDouble(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the double value at the given offset
- getDoubleArray(double[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the double array at the current position.
- getDoubleArray(long, double[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the double array at the given offset
- getEnd() - Method in interface org.apache.datasketches.memory.BaseBuffer
-
Gets the end position
- getFloat() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the float value at the current position.
- getFloat(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the float value at the given offset.
- getFloat(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the float value at the given offset
- getFloatArray(float[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the float array at the current position.
- getFloatArray(long, float[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the float array at the given offset
- getInt() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the int value at the current position.
- getInt(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the int value at the given offset.
- getInt(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the int value at the given offset
- getIntArray(int[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the int array at the current position.
- getIntArray(long, int[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the int array at the given offset
- getLong() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the long value at the current position.
- getLong(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the long value at the given offset.
- getLong(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the long value at the given offset
- getLongArray(long[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the long array at the current position.
- getLongArray(long, long[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the long array at the given offset
- getMemoryRequestServer() - Method in interface org.apache.datasketches.memory.WritableBuffer
-
WritableBuffer enables this for ByteBuffer backed resources.
- getMemoryRequestServer() - Method in interface org.apache.datasketches.memory.WritableMemory
-
WritableMemory enables this for ByteBuffer, Heap and Direct Memory backed resources.
- getPosition() - Method in interface org.apache.datasketches.memory.BaseBuffer
-
Gets the current position
- getRegionOffset() - Method in interface org.apache.datasketches.memory.BaseState
-
Returns the offset of address zero of this object relative to the address zero of the
backing resource but not including the size of any Java object header.
- getRegionOffset(long) - Method in interface org.apache.datasketches.memory.BaseState
-
Returns the offset of address zero of this object relative to the address zero of the
backing resource plus the given offsetBytes but not including the size of any Java object
header.
- getRemaining() - Method in interface org.apache.datasketches.memory.BaseBuffer
-
The number of elements remaining between the current position and the end position
- getShort() - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the short value at the current position.
- getShort(long) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the short value at the given offset.
- getShort(long) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the short value at the given offset
- getShortArray(short[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
-
Gets the short array at the current position.
- getShortArray(long, short[], int, int) - Method in interface org.apache.datasketches.memory.Memory
-
Gets the short array at the given offset
- getStart() - Method in interface org.apache.datasketches.memory.BaseBuffer
-
Gets start position
- getTypeByteOrder() - Method in interface org.apache.datasketches.memory.BaseState
-
Gets the current Type ByteOrder.
- getWritable() - Method in interface org.apache.datasketches.memory.WritableHandle
-
Gets a WritableMemory
- Handle - Interface in org.apache.datasketches.memory
-
A handle for read-only Memory resource.
- hasArray() - Method in interface org.apache.datasketches.memory.BaseState
-
Returns true if this object is backed by an on-heap primitive array
- hasByteBuffer() - Method in interface org.apache.datasketches.memory.BaseState
-
Returns true if this Memory is backed by a ByteBuffer.
- hash(long[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(int[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(char[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(byte[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(long, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(double, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(String, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input.
- hash(Memory, long, long, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3v2
-
Returns a 128-bit hash of the input as a long array of size 2.
- hashBooleanArr(boolean[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashByteArr(byte[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashCharArr(char[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashCode() - Method in interface org.apache.datasketches.memory.BaseState
-
Returns the hashCode of this object.
- hashDoubleArr(double[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashFloatArr(float[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashIntArr(int[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashLong(long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Returns a 64-bit hash from a single long.
- hashLongArr(long[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashShortArr(short[], long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hashString(String, long, long, long) - Static method in class org.apache.datasketches.memory.XxHash
-
Hash the given arr starting at the given offset and continuing for the given length using the
given seed.
- hasRemaining() - Method in interface org.apache.datasketches.memory.BaseBuffer
-
Returns true if there are elements remaining between the current position and the end position
- putBoolean(boolean) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the boolean value at the current position.
- putBoolean(long, boolean) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the boolean value at the given offset.
- putBoolean(long, boolean) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the boolean value at the given offset
- putBooleanArray(boolean[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the boolean array at the current position.
- putBooleanArray(long, boolean[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the boolean array at the given offset
- putByte(byte) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the byte value at the current position.
- putByte(long, byte) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the byte value at the given offset.
- putByte(long, byte) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the byte value at the given offset
- putByteArray(byte[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the byte array at the current position.
- putByteArray(long, byte[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the byte array at the given offset
- putChar(char) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the char value at the current position.
- putChar(long, char) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the char value at the given offset.
- putChar(long, char) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the char value at the given offset
- putCharArray(char[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the char array at the current position.
- putCharArray(long, char[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the char array at the given offset
- putCharsToUtf8(long, CharSequence) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Encodes characters from the given CharSequence into UTF-8 bytes and puts them into this
WritableMemory begining at the given offsetBytes.
- putDouble(double) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the double value at the current position.
- putDouble(long, double) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the double value at the given offset.
- putDouble(long, double) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the double value at the given offset
- putDoubleArray(double[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the double array at the current position.
- putDoubleArray(long, double[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the double array at the given offset
- putFloat(float) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the float value at the current position.
- putFloat(long, float) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the float value at the given offset.
- putFloat(long, float) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the float value at the given offset
- putFloatArray(float[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the float array at the current position.
- putFloatArray(long, float[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the float array at the given offset
- putInt(int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the int value at the current position.
- putInt(long, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the int value at the given offset.
- putInt(long, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the int value at the given offset
- putIntArray(int[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the int array at the current position.
- putIntArray(long, int[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the int array at the given offset
- putLong(long) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the long value at the current position.
- putLong(long, long) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the long value at the given offset.
- putLong(long, long) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the long value at the given offset
- putLongArray(long[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the long array at the current position.
- putLongArray(long, long[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the long array at the given offset
- putShort(short) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the short value at the current position.
- putShort(long, short) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the short value at the given offset.
- putShort(long, short) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the short value at the given offset
- putShortArray(short[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Puts the short array at the current position.
- putShortArray(long, short[], int, int) - Method in interface org.apache.datasketches.memory.WritableMemory
-
Puts the short array at the given offset
- wrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.Buffer
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer, ByteOrder) - Static method in interface org.apache.datasketches.memory.Buffer
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.Memory
-
Accesses the given ByteBuffer for read-only operations.
- wrap(ByteBuffer, ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
-
Accesses the given ByteBuffer for read-only operations.
- wrap(byte[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(byte[], ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations with the given byte order.
- wrap(byte[], int, int, ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations with the given byte order.
- wrap(boolean[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(char[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(short[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(int[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(long[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(float[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- wrap(double[]) - Static method in interface org.apache.datasketches.memory.Memory
-
Wraps the given primitive array for read operations assuming native byte order.
- WritableBuffer - Interface in org.apache.datasketches.memory
-
Defines the writable API for relative positional access to a resource
- writableDuplicate() - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Returns a duplicate writable view of this Buffer with the same but independent values of
start, position and end.
- writableDuplicate(ByteOrder) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
Returns a duplicate writable view of this Buffer with the same but independent values of
start, position and end, but with the specified byteOrder.
- WritableHandle - Interface in org.apache.datasketches.memory
-
A Handle for writable direct memory or a memory-mapped, writable file resource.
- WritableMap - Interface in org.apache.datasketches.memory
-
Writable interface for a memory mapped file
- writableMap(File) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
- writableMap(File, long, long, ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Maps the specified portion of the given file into Memory for write operations.
- WritableMapHandle - Interface in org.apache.datasketches.memory
-
A Handle for a memory-mapped, writable file resource.
- WritableMemory - Interface in org.apache.datasketches.memory
-
Defines the writable API for offset access to a resource.
- writableRegion() - Method in interface org.apache.datasketches.memory.WritableBuffer
-
A writable region is a writable view of this object.
- writableRegion(long, long, ByteOrder) - Method in interface org.apache.datasketches.memory.WritableBuffer
-
A writable region is a writable view of this object.
- writableRegion(long, long) - Method in interface org.apache.datasketches.memory.WritableMemory
-
A writable region is a writable view of this object.
- writableRegion(long, long, ByteOrder) - Method in interface org.apache.datasketches.memory.WritableMemory
-
A writable region is a writable view of this object.
- writableWrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.WritableBuffer
-
Accesses the given ByteBuffer for write operations.
- writableWrap(ByteBuffer, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableBuffer
-
Accesses the given ByteBuffer for write operations.
- writableWrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Accesses the given ByteBuffer for write operations.
- writableWrap(ByteBuffer, ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Accesses the given ByteBuffer for write operations.
- writableWrap(ByteBuffer, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Accesses the given ByteBuffer for write operations.
- writableWrap(byte[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(byte[], ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations with the given byte order.
- writableWrap(byte[], int, int, ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations with the given byte order.
- writableWrap(byte[], int, int, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations with the given byte order.
- writableWrap(boolean[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(char[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(short[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(int[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(long[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(float[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writableWrap(double[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
-
Wraps the given primitive array for write operations assuming native byte order.
- writeTo(long, long, WritableByteChannel) - Method in interface org.apache.datasketches.memory.Memory
-
Writes bytes from a source range of this Memory to the given WritableByteChannel.