Index

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

A

allocate(int) - Static method in interface org.apache.datasketches.memory.WritableMemory
Creates on-heap WritableMemory with the given capacity and the native byte order.
allocate(int, ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
Creates on-heap WritableMemory with the given capacity and the given byte order.
allocate(int, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
Creates on-heap WritableMemory with the given capacity and the given byte order.
allocateDirect(long) - Static method in interface org.apache.datasketches.memory.WritableMemory
Allocates and provides access to capacityBytes directly in native (off-heap) memory.
allocateDirect(long, long, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
Allocates and provides access to capacityBytes directly in native (off-heap) memory.
allocateDirect(long, long, ResourceScope, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
Allocates and provides access to capacityBytes directly in native (off-heap) memory with a ResourceScope.
asBuffer() - Method in interface org.apache.datasketches.memory.Memory
Returns a new Buffer view of this object.
asBuffer(ByteOrder) - Method in interface org.apache.datasketches.memory.Memory
Returns a new Buffer view of this object, with the given byte order.
asByteBufferView(ByteOrder) - Method in interface org.apache.datasketches.memory.Resource
Returns a ByteBuffer view of this Memory object with the given ByteOrder.
asMemory() - Method in interface org.apache.datasketches.memory.Buffer
Convert this Buffer to a Memory.
asMemory(ByteOrder) - Method in interface org.apache.datasketches.memory.Buffer
Convert this Buffer to a Memory with the given byte order.
asWritableBuffer() - Method in interface org.apache.datasketches.memory.WritableMemory
Returns a new WritableBuffer with a writable view of this object.
asWritableBuffer(ByteOrder) - Method in interface org.apache.datasketches.memory.WritableMemory
Returns a new WritableBuffer with a writable view of this object with the given byte order.
asWritableMemory() - Method in interface org.apache.datasketches.memory.WritableBuffer
Convert this WritableBuffer to a WritableMemory.
asWritableMemory(ByteOrder) - Method in interface org.apache.datasketches.memory.WritableBuffer
Convert this WritableBuffer to a WritableMemory with the given byte order.

B

Buffer - Interface in org.apache.datasketches.memory
Defines the read-only API for relative positional access to a resource.
BufferPositionInvariantsException - Exception in org.apache.datasketches.memory
Position operation violation.
BufferPositionInvariantsException(String) - Constructor for exception org.apache.datasketches.memory.BufferPositionInvariantsException
The associated position operation violated one of the positional invariants.

C

clear() - Method in interface org.apache.datasketches.memory.WritableBuffer
Clears all bytes of this Buffer from position to end to zero.
clear() - Method in interface org.apache.datasketches.memory.WritableMemory
Clears all bytes of this Memory to zero
clear(long, long) - Method in interface org.apache.datasketches.memory.WritableMemory
Clears a portion of this Memory to zero.
clearBits(long, byte) - Method in interface org.apache.datasketches.memory.WritableMemory
Clears the bits defined by the bitMask
close() - Method in interface org.apache.datasketches.memory.Resource
From Java 17 ResourceScope::close():
compareTo(long, long, Buffer, long, long) - Method in interface org.apache.datasketches.memory.Buffer
Compares the bytes of this Buffer to that Buffer.
compareTo(long, long, Memory, long, long) - Method in interface org.apache.datasketches.memory.Memory
Compares the bytes of this Memory to that Memory.
copyTo(long, WritableMemory, long, long) - Method in interface org.apache.datasketches.memory.Memory
Copies bytes from a source range of this Memory to a destination range of the given Memory with the same semantics when copying between overlapping ranges of bytes as method System.arraycopy(Object, int, Object, int, int) has.

D

DefaultMemoryRequestServer - Class in org.apache.datasketches.memory
This example MemoryRequestServer is simple but demonstrates one of many ways to manage continuous requests for larger memory.
DefaultMemoryRequestServer() - Constructor for class org.apache.datasketches.memory.DefaultMemoryRequestServer
Default constructor.
DefaultMemoryRequestServer(boolean, boolean) - Constructor for class org.apache.datasketches.memory.DefaultMemoryRequestServer
Constructor with parameters
defaultMemReqSvr - Static variable in interface org.apache.datasketches.memory.Resource
The default MemoryRequestServer used primarily by test.
duplicate() - Method in interface org.apache.datasketches.memory.Buffer
Returns a read-only duplicate view of this Buffer with the same byte order, but independent values of start, position and end.
duplicate(ByteOrder) - Method in interface org.apache.datasketches.memory.Buffer
Returns a read-only duplicate view of this Buffer with the same but independent values of start, position and end, but with the specified byteOrder.

E

equalTo(long, Resource, long, long) - Method in interface org.apache.datasketches.memory.Resource
Returns true if the given object is an instance of this class and has equal contents to this object in the given range of bytes.
equalTo(Resource) - Method in interface org.apache.datasketches.memory.Resource
Returns true if the given object is an instance of this class and has equal contents to this object.

F

fill(byte) - Method in interface org.apache.datasketches.memory.WritableBuffer
Fills this Buffer from position to end with the given byte value.
fill(byte) - Method in interface org.apache.datasketches.memory.WritableMemory
Fills all bytes of this Memory region to the given byte value.
fill(long, long, byte) - Method in interface org.apache.datasketches.memory.WritableMemory
Fills a portion of this Memory region to the given byte value.
force() - Method in interface org.apache.datasketches.memory.Resource
Forces any changes made to the contents of this mapped segment to be written to the storage device described by the mapped segment's file descriptor.

G

getArray() - Method in interface org.apache.datasketches.memory.WritableBuffer
Returns a copy of the primitive backing byte array.
getArray() - Method in interface org.apache.datasketches.memory.WritableMemory
Returns a copy of the primitive backing array as a byte array.
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
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
getCapacity() - Method in interface org.apache.datasketches.memory.Resource
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
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.Positional
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.Resource
Gets the MemoryRequestServer to request additional memory for writable resources that are not file-memory-mapped.
getOwnerThread() - Method in interface org.apache.datasketches.memory.Resource
Return the owner thread of the underlying ResourceScope, or null.
getPosition() - Method in interface org.apache.datasketches.memory.Positional
Gets the current position
getRelativeOffset(Resource) - Method in interface org.apache.datasketches.memory.Resource
Gets the relative base offset of this with respect to that, defined as: this - that.
getRemaining() - Method in interface org.apache.datasketches.memory.Positional
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(long, short[], int, int) - Method in interface org.apache.datasketches.memory.Memory
Gets the short array at the given offset
getShortArray(short[], int, int) - Method in interface org.apache.datasketches.memory.Buffer
Gets the short array at the current position.
getStart() - Method in interface org.apache.datasketches.memory.Positional
Gets start position
getTypeByteOrder() - Method in interface org.apache.datasketches.memory.Resource
Gets the current Type ByteOrder.

H

hasByteBuffer() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this Memory is backed by a ByteBuffer.
hash(byte[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(char[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(double, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(int[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(long[], long) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(long, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(String, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input.
hash(MemorySegment, long, long, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input as a long array of size 2.
hash(Memory, long, long, long, long[]) - Static method in class org.apache.datasketches.memory.MurmurHash3
Returns a 128-bit hash of the input as a long array of size 2.
hashByteArr(byte[], int, int, 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[], int, int, 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.
hashDoubleArr(double[], int, int, 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[], int, int, 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[], int, int, 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[], int, int, 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[], int, int, 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, int, int, 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.
hasMemoryRequestServer() - Method in interface org.apache.datasketches.memory.Resource
Returns true if the MemoryRequestServer has been configured by the user.
hasRemaining() - Method in interface org.apache.datasketches.memory.Positional
Returns true if there are elements remaining between the current position and the end position

I

incrementPosition(long) - Method in interface org.apache.datasketches.memory.Positional
Increments the current position by the given increment.
isAlive() - Method in interface org.apache.datasketches.memory.Resource
Is the underlying resource scope alive?
isBuffer() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this instance is a Buffer or WritableBuffer instance.
isByteOrderCompatible(ByteOrder) - Method in interface org.apache.datasketches.memory.Resource
Returns true if the Native ByteOrder is the same as the ByteOrder of the current Buffer or Memory and the same ByteOrder as the given byteOrder.
isCloseable() - Method in interface org.apache.datasketches.memory.Resource
Return true if this resource is closeable.
isDirect() - Method in interface org.apache.datasketches.memory.Resource
Returns true if the backing resource is direct (off-heap) memory.
isDuplicate() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this instance is a duplicate of a Buffer instance.
isHeap() - Method in interface org.apache.datasketches.memory.Resource
Returns true if the backing resource is on the Java heap.
isLoaded() - Method in interface org.apache.datasketches.memory.Resource
Tells whether or not the contents of this mapped segment is resident in physical memory.
isMapped() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this instance is of a memory mapped file.
isMemory() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this instance is of a Memory or WritableMemory instance
isReadOnly() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this object or the backing resource is read-only.
isRegion() - Method in interface org.apache.datasketches.memory.Resource
Returns true if this instance is a region view of another Memory or Buffer
isSameResource(Resource) - Method in interface org.apache.datasketches.memory.Resource
Returns true if the underlying resource is the same underlying resource as that.

L

load() - Method in interface org.apache.datasketches.memory.Resource
Loads the contents of this mapped segment into physical memory.

M

map(File) - Static method in interface org.apache.datasketches.memory.Memory
Maps the given file into Memory for read operations Calling this method is equivalent to calling map(file, 0, file.length(), scope, ByteOrder.nativeOrder()).
map(File, long, long, ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
Maps the specified portion of the given file into Memory for read operations.
map(File, long, long, ResourceScope, ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
Maps the specified portion of the given file into Memory for read operations with a ResourceScope.
Memory - Interface in org.apache.datasketches.memory
Defines the read-only API for offset access to a resource.
MemoryRequestServer - Interface in org.apache.datasketches.memory
The MemoryRequestServer is a callback interface to provide a means to request more memory for heap and off-heap WritableMemory resources that are not file-memory-mapped backed resources.
mismatch(Resource) - Method in interface org.apache.datasketches.memory.Resource
MurmurHash3 - Class in org.apache.datasketches.memory
The MurmurHash3 is a fast, non-cryptographic, 128-bit hash function that has excellent avalanche and 2-way bit independence properties.
MurmurHash3() - Constructor for class org.apache.datasketches.memory.MurmurHash3
 

N

nativeOverlap(Resource) - Method in interface org.apache.datasketches.memory.Resource
Returns a positive number if this overlaps that and this base address is ≤ that base address.

O

org.apache.datasketches.memory - package org.apache.datasketches.memory
This package provides high performance primitive and primitive array access to direct (native), off-heap memory and memory-mapped file resources, and consistent views into ByteBuffer, and on-heap primitive arrays.

P

Positional - Interface in org.apache.datasketches.memory
Defines the relative positional API.
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
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
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(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
putShort(short) - Method in interface org.apache.datasketches.memory.WritableBuffer
Puts the short value 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
putShortArray(short[], int, int) - Method in interface org.apache.datasketches.memory.WritableBuffer
Puts the short array at the current position.

R

region() - Method in interface org.apache.datasketches.memory.Buffer
A region is a read-only view of this object from position to end and with the same byte order.
region(long, long) - Method in interface org.apache.datasketches.memory.Memory
A region is a read-only view of this object.
region(long, long, ByteOrder) - Method in interface org.apache.datasketches.memory.Buffer
A region is a read-only view of this object from offsetBytes and with a length of capacityBytes and with the given byte order.
region(long, long, ByteOrder) - Method in interface org.apache.datasketches.memory.Memory
A region is a read-only view of this object.
request(WritableMemory, long) - Method in interface org.apache.datasketches.memory.MemoryRequestServer
Request new WritableMemory with the given newCapacityBytes.
request(WritableMemory, long, ResourceScope) - Method in class org.apache.datasketches.memory.DefaultMemoryRequestServer
 
request(WritableMemory, long, ResourceScope) - Method in interface org.apache.datasketches.memory.MemoryRequestServer
Request new WritableMemory with the given newCapacityBytes.
requestClose(WritableMemory) - Method in interface org.apache.datasketches.memory.MemoryRequestServer
Request to close the resource, if applicable.
requestClose(WritableMemory, WritableMemory) - Method in class org.apache.datasketches.memory.DefaultMemoryRequestServer
 
requestClose(WritableMemory, WritableMemory) - Method in interface org.apache.datasketches.memory.MemoryRequestServer
Request to close the resource, if applicable.
resetPosition() - Method in interface org.apache.datasketches.memory.Positional
Resets the current position to the start position, This does not modify any data.
Resource - Interface in org.apache.datasketches.memory
The base class for Memory and Buffer plus some common static variables and check methods.

S

scope() - Method in interface org.apache.datasketches.memory.Resource
Returns the resource scope associated with this memory segment.
setBits(long, byte) - Method in interface org.apache.datasketches.memory.WritableMemory
Sets the bits defined by the bitMask
setMemoryRequestServer(MemoryRequestServer) - Method in interface org.apache.datasketches.memory.Resource
Sets the MemoryRequestServer to be used in case of capacity overflow of on-heap or off-heap allocated Memory.
setPosition(long) - Method in interface org.apache.datasketches.memory.Positional
Sets the current position.
setStartPositionEnd(long, long, long) - Method in interface org.apache.datasketches.memory.Positional
Sets start position, current position, and end position.

T

toByteBuffer(ByteOrder) - Method in interface org.apache.datasketches.memory.Resource
Returns a new ByteBuffer with a copy of the data from this Memory object.
toMemorySegment() - Method in interface org.apache.datasketches.memory.Resource
Returns a copy of the underlying MemorySegment.
toString() - Method in interface org.apache.datasketches.memory.Resource
Returns a brief description of this object.
toString(String, long, int, boolean) - Method in interface org.apache.datasketches.memory.Resource
Returns a description of this object with an optional formatted hex string of the data for the specified a range.

U

unload() - Method in interface org.apache.datasketches.memory.Resource
Unloads the contents of this mapped segment from physical memory.

W

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[], 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(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(char[]) - 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.
wrap(float[]) - 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(short[]) - Static method in interface org.apache.datasketches.memory.Memory
Wraps the given primitive array for read operations assuming native byte order.
wrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.Buffer
Provides a view of the given ByteBuffer for read-only operations.
wrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.Memory
Provides a view of the given ByteBuffer for read-only operations.
wrap(ByteBuffer, ByteOrder) - Static method in interface org.apache.datasketches.memory.Buffer
Provides a view of the given ByteBuffer for read-only operations.
wrap(ByteBuffer, ByteOrder) - Static method in interface org.apache.datasketches.memory.Memory
Provides a view of the given ByteBuffer for read-only operations.
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.
writableMap(File) - Static method in interface org.apache.datasketches.memory.WritableMemory
Maps the entire given file into native-ordered WritableMemory for write operations Calling this method is equivalent to calling writableMap(file, 0, file.length(), scope, ByteOrder.nativeOrder()).
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.
writableMap(File, long, long, ResourceScope, ByteOrder) - Static method in interface org.apache.datasketches.memory.WritableMemory
Maps the specified portion of the given file into Memory for write operations with a ResourceScope.
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) - 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.WritableBuffer
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(byte[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
Wraps the given primitive array for write operations assuming native 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(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(char[]) - 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.
writableWrap(float[]) - 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(short[]) - Static method in interface org.apache.datasketches.memory.WritableMemory
Wraps the given primitive array for write operations assuming native byte order.
writableWrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.WritableBuffer
Provides a view of the given ByteBuffer for write operations.
writableWrap(ByteBuffer) - Static method in interface org.apache.datasketches.memory.WritableMemory
Provides a view of the given ByteBuffer for write operations.
writableWrap(ByteBuffer, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableBuffer
Provides a view of the given ByteBuffer for write operations.
writableWrap(ByteBuffer, ByteOrder, MemoryRequestServer) - Static method in interface org.apache.datasketches.memory.WritableMemory
Provides a view of the given ByteBuffer for write operations.
writeToByteStream(long, int, ByteArrayOutputStream) - Method in interface org.apache.datasketches.memory.Memory
Writes bytes from a source range of this Memory to the given WritableByteChannel.

X

XxHash - Class in org.apache.datasketches.memory
The XxHash is a fast, non-cryptographic, 64-bit hash function that has excellent avalanche and 2-way bit independence properties.
xxHash64(long, long) - Method in interface org.apache.datasketches.memory.Resource
Returns a 64-bit hash from a single long.
xxHash64(long, long, long) - Method in interface org.apache.datasketches.memory.Resource
Returns the 64-bit hash of the sequence of bytes in this object specified by offsetBytes, lengthBytes and a seed.
A B C D E F G H I L M N O P R S T U W X 
All Classes and Interfaces|All Packages|Serialized Form