- getAddress() - Method in class io.airlift.slice.Slice
-
Return the address offset of this Slice.
- getBase() - Method in class io.airlift.slice.Slice
-
Returns the base object of this Slice, or null.
- getByte(int) - Method in class io.airlift.slice.Slice
-
Gets a byte at the specified absolute index
in this buffer.
- getBytes(int, Slice) - Method in class io.airlift.slice.Slice
-
Transfers portion of data from this slice into the specified destination starting at
the specified absolute index
.
- getBytes(int, Slice, int, int) - Method in class io.airlift.slice.Slice
-
Transfers portion of data from this slice into the specified destination starting at
the specified absolute index
.
- getBytes(int, byte[]) - Method in class io.airlift.slice.Slice
-
Transfers portion of data from this slice into the specified destination starting at
the specified absolute index
.
- getBytes(int, byte[], int, int) - Method in class io.airlift.slice.Slice
-
Transfers portion of data from this slice into the specified destination starting at
the specified absolute index
.
- getBytes() - Method in class io.airlift.slice.Slice
-
Returns a copy of this buffer as a byte array.
- getBytes(int, int) - Method in class io.airlift.slice.Slice
-
Returns a copy of this buffer as a byte array.
- getBytes(int, OutputStream, int) - Method in class io.airlift.slice.Slice
-
Transfers a portion of data from this slice into the specified stream starting at the
specified absolute index
.
- getDouble(byte[], int) - Static method in class io.airlift.slice.ByteArrays
-
- getDouble(int) - Method in class io.airlift.slice.Slice
-
Gets a 64-bit double at the specified absolute index
in
this buffer.
- getFloat(byte[], int) - Static method in class io.airlift.slice.ByteArrays
-
- getFloat(int) - Method in class io.airlift.slice.Slice
-
Gets a 32-bit float at the specified absolute index
in
this buffer.
- getInput() - Method in class io.airlift.slice.Slice
-
Creates a slice input backed by this slice.
- getInstance() - Static method in class io.airlift.slice.UnsafeSliceFactory
-
Get a factory for creating "unsafe" slices that can reference
arbitrary memory addresses.
- getInt(byte[], int) - Static method in class io.airlift.slice.ByteArrays
-
- getInt(int) - Method in class io.airlift.slice.Slice
-
Gets a 32-bit integer at the specified absolute index
in
this buffer.
- getLong(byte[], int) - Static method in class io.airlift.slice.ByteArrays
-
- getLong(int) - Method in class io.airlift.slice.Slice
-
Gets a 64-bit long integer at the specified absolute index
in
this buffer.
- getOutput() - Method in class io.airlift.slice.Slice
-
Creates a slice output backed by this slice.
- getShort(byte[], int) - Static method in class io.airlift.slice.ByteArrays
-
- getShort(int) - Method in class io.airlift.slice.Slice
-
Gets a 16-bit short integer at the specified absolute index
in
this slice.
- getUnderlyingSlice() - Method in class io.airlift.slice.BasicSliceOutput
-
- getUnderlyingSlice() - Method in class io.airlift.slice.DynamicSliceOutput
-
- getUnderlyingSlice() - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- getUnderlyingSlice() - Method in class io.airlift.slice.SliceOutput
-
Returns the raw underlying slice of this output stream.
- getUnsignedByte(int) - Method in class io.airlift.slice.Slice
-
Gets an unsigned byte at the specified absolute index
in this
buffer.
- read() - Method in class io.airlift.slice.BasicSliceInput
-
- read(byte[]) - Method in class io.airlift.slice.BasicSliceInput
-
- read(byte[], int, int) - Method in class io.airlift.slice.BasicSliceInput
-
- read() - Method in class io.airlift.slice.InputStreamSliceInput
-
- read(byte[]) - Method in class io.airlift.slice.InputStreamSliceInput
-
- read(byte[], int, int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- read() - Method in class io.airlift.slice.SliceInput
-
- readBoolean() - Method in class io.airlift.slice.BasicSliceInput
-
- readBoolean() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readByte() - Method in class io.airlift.slice.BasicSliceInput
-
- readByte() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readByte() - Method in class io.airlift.slice.SliceInput
-
Gets a byte at the current position
and increases
the position
by 1
in this buffer.
- readBytes(byte[], int, int) - Method in class io.airlift.slice.BasicSliceInput
-
- readBytes(Slice, int, int) - Method in class io.airlift.slice.BasicSliceInput
-
- readBytes(OutputStream, int) - Method in class io.airlift.slice.BasicSliceInput
-
- readBytes(byte[], int, int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- readBytes(Slice, int, int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- readBytes(OutputStream, int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- readBytes(byte[]) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified destination starting at
the current position
and increases the position
by the number of the transferred bytes (= dst.length
).
- readBytes(byte[], int, int) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified destination starting at
the current position
and increases the position
by the number of the transferred bytes (= length
).
- readBytes(Slice) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified destination starting at
the current position
until the destination becomes
non-writable, and increases the position
by the number of the
transferred bytes.
- readBytes(Slice, int) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified destination starting at
the current position
and increases the position
by the number of the transferred bytes (= length
).
- readBytes(Slice, int, int) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified destination starting at
the current position
and increases the position
by the number of the transferred bytes (= length
).
- readBytes(OutputStream, int) - Method in class io.airlift.slice.SliceInput
-
Transfers this buffer's data to the specified stream starting at the
current position
.
- readChar() - Method in class io.airlift.slice.SliceInput
-
- readDouble() - Method in class io.airlift.slice.BasicSliceInput
-
- readDouble() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readDouble() - Method in class io.airlift.slice.SliceInput
-
- readFloat() - Method in class io.airlift.slice.BasicSliceInput
-
- readFloat() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readFloat() - Method in class io.airlift.slice.SliceInput
-
- readFully(byte[]) - Method in class io.airlift.slice.SliceInput
-
- readFully(byte[], int, int) - Method in class io.airlift.slice.SliceInput
-
- readInt() - Method in class io.airlift.slice.BasicSliceInput
-
- readInt() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readInt() - Method in class io.airlift.slice.SliceInput
-
Gets a 32-bit integer at the current position
and increases the position
by 4
in this buffer.
- readLine() - Method in class io.airlift.slice.SliceInput
-
- readLong() - Method in class io.airlift.slice.BasicSliceInput
-
- readLong() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readLong() - Method in class io.airlift.slice.SliceInput
-
Gets a 64-bit integer at the current position
and increases the position
by 8
in this buffer.
- readShort() - Method in class io.airlift.slice.BasicSliceInput
-
- readShort() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readShort() - Method in class io.airlift.slice.SliceInput
-
Gets a 16-bit short integer at the current position
and increases the position
by 2
in this buffer.
- readSlice(int) - Method in class io.airlift.slice.BasicSliceInput
-
- readSlice(int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- readSlice(int) - Method in class io.airlift.slice.SliceInput
-
Returns a new slice of this buffer's sub-region starting at the current
position
and increases the position
by the size
of the new slice (= length
).
- readUnsignedByte() - Method in class io.airlift.slice.BasicSliceInput
-
- readUnsignedByte() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readUnsignedByte() - Method in class io.airlift.slice.SliceInput
-
Gets an unsigned byte at the current position
and increases
the position
by 1
in this buffer.
- readUnsignedInt() - Method in class io.airlift.slice.SliceInput
-
Gets an unsigned 32-bit integer at the current position
and increases the position
by 4
in this buffer.
- readUnsignedShort() - Method in class io.airlift.slice.BasicSliceInput
-
- readUnsignedShort() - Method in class io.airlift.slice.InputStreamSliceInput
-
- readUnsignedShort() - Method in class io.airlift.slice.SliceInput
-
Gets an unsigned 16-bit short integer at the current position
and increases the position
by 2
in this buffer.
- readUTF() - Method in class io.airlift.slice.SliceInput
-
- reset() - Method in class io.airlift.slice.BasicSliceOutput
-
- reset() - Method in class io.airlift.slice.DynamicSliceOutput
-
- reset() - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- reset() - Method in class io.airlift.slice.SliceInput
-
- reset() - Method in class io.airlift.slice.SliceOutput
-
Resets this stream to the initial position.
- RuntimeIOException - Exception in io.airlift.slice
-
- RuntimeIOException(IOException) - Constructor for exception io.airlift.slice.RuntimeIOException
-
- setByte(int, int) - Method in class io.airlift.slice.Slice
-
Sets the specified byte at the specified absolute index
in this
buffer.
- setBytes(int, Slice) - Method in class io.airlift.slice.Slice
-
Transfers data from the specified slice into this buffer starting at
the specified absolute index
.
- setBytes(int, Slice, int, int) - Method in class io.airlift.slice.Slice
-
Transfers data from the specified slice into this buffer starting at
the specified absolute index
.
- setBytes(int, byte[]) - Method in class io.airlift.slice.Slice
-
Transfers data from the specified slice into this buffer starting at
the specified absolute index
.
- setBytes(int, byte[], int, int) - Method in class io.airlift.slice.Slice
-
Transfers data from the specified array into this buffer starting at
the specified absolute index
.
- setBytes(int, InputStream, int) - Method in class io.airlift.slice.Slice
-
Transfers data from the specified input stream into this slice starting at
the specified absolute index
.
- setDouble(int, double) - Method in class io.airlift.slice.Slice
-
Sets the specified 64-bit double at the specified absolute
index
in this buffer.
- setFloat(int, float) - Method in class io.airlift.slice.Slice
-
Sets the specified 32-bit float at the specified absolute
index
in this buffer.
- setInt(int, int) - Method in class io.airlift.slice.Slice
-
Sets the specified 32-bit integer at the specified absolute
index
in this buffer.
- setLong(int, long) - Method in class io.airlift.slice.Slice
-
Sets the specified 64-bit long integer at the specified absolute
index
in this buffer.
- setPosition(int) - Method in class io.airlift.slice.BasicSliceInput
-
- setPosition(int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- setPosition(int) - Method in class io.airlift.slice.SliceInput
-
Sets the position
of this buffer.
- setShort(int, int) - Method in class io.airlift.slice.Slice
-
Sets the specified 16-bit short integer at the specified absolute
index
in this buffer.
- size() - Method in class io.airlift.slice.BasicSliceOutput
-
- size() - Method in class io.airlift.slice.DynamicSliceOutput
-
- size() - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- size() - Method in class io.airlift.slice.SliceOutput
-
Returns the writerIndex
of this buffer.
- SIZE_OF_BYTE - Static variable in class io.airlift.slice.SizeOf
-
- SIZE_OF_DOUBLE - Static variable in class io.airlift.slice.SizeOf
-
- SIZE_OF_FLOAT - Static variable in class io.airlift.slice.SizeOf
-
- SIZE_OF_INT - Static variable in class io.airlift.slice.SizeOf
-
- SIZE_OF_LONG - Static variable in class io.airlift.slice.SizeOf
-
- SIZE_OF_SHORT - Static variable in class io.airlift.slice.SizeOf
-
- SizeOf - Class in io.airlift.slice
-
- sizeOf(boolean[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(byte[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(short[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(char[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(int[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(long[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(float[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(double[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOf(Object[]) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfBooleanArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfByteArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfCharArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfDoubleArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfFloatArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfIntArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfLongArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfObjectArray(int) - Static method in class io.airlift.slice.SizeOf
-
- sizeOfShortArray(int) - Static method in class io.airlift.slice.SizeOf
-
- skip(long) - Method in class io.airlift.slice.BasicSliceInput
-
- skip(long) - Method in class io.airlift.slice.InputStreamSliceInput
-
- skipBytes(int) - Method in class io.airlift.slice.BasicSliceInput
-
- skipBytes(int) - Method in class io.airlift.slice.InputStreamSliceInput
-
- skipBytes(int) - Method in class io.airlift.slice.SliceInput
-
- slice() - Method in class io.airlift.slice.BasicSliceInput
-
Returns a slice of this buffer's readable bytes.
- slice() - Method in class io.airlift.slice.BasicSliceOutput
-
- slice() - Method in class io.airlift.slice.DynamicSliceOutput
-
- slice() - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- Slice - Class in io.airlift.slice
-
- slice(int, int) - Method in class io.airlift.slice.Slice
-
Returns a slice of this buffer's sub-region.
- slice() - Method in class io.airlift.slice.SliceOutput
-
Returns a slice of this buffer's readable bytes.
- SliceAssertions - Class in io.airlift.slice.testing
-
- SliceAssertions() - Constructor for class io.airlift.slice.testing.SliceAssertions
-
- SliceInput - Class in io.airlift.slice
-
- SliceInput() - Constructor for class io.airlift.slice.SliceInput
-
- SliceOutput - Class in io.airlift.slice
-
- SliceOutput() - Constructor for class io.airlift.slice.SliceOutput
-
- Slices - Class in io.airlift.slice
-
- wrappedBooleanArray(boolean...) - Static method in class io.airlift.slice.Slices
-
- wrappedBooleanArray(boolean[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedBuffer(ByteBuffer) - Static method in class io.airlift.slice.Slices
-
- wrappedBuffer(byte[]) - Static method in class io.airlift.slice.Slices
-
- wrappedBuffer(byte[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedDoubleArray(double...) - Static method in class io.airlift.slice.Slices
-
- wrappedDoubleArray(double[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedFloatArray(float...) - Static method in class io.airlift.slice.Slices
-
- wrappedFloatArray(float[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedIntArray(int...) - Static method in class io.airlift.slice.Slices
-
- wrappedIntArray(int[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedLongArray(long...) - Static method in class io.airlift.slice.Slices
-
- wrappedLongArray(long[], int, int) - Static method in class io.airlift.slice.Slices
-
- wrappedShortArray(short...) - Static method in class io.airlift.slice.Slices
-
- wrappedShortArray(short[], int, int) - Static method in class io.airlift.slice.Slices
-
- writableBytes() - Method in class io.airlift.slice.BasicSliceOutput
-
- writableBytes() - Method in class io.airlift.slice.DynamicSliceOutput
-
- writableBytes() - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writableBytes() - Method in class io.airlift.slice.SliceOutput
-
Returns the number of writable bytes which is equal to
(this.capacity - this.writerIndex)
.
- write(int) - Method in class io.airlift.slice.SliceOutput
-
- write(byte[]) - Method in class io.airlift.slice.SliceOutput
-
- write(byte[], int, int) - Method in class io.airlift.slice.SliceOutput
-
- writeBoolean(boolean) - Method in class io.airlift.slice.SliceOutput
-
- writeByte(int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeByte(int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeByte(int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeByte(int) - Method in class io.airlift.slice.SliceOutput
-
Sets the specified byte at the current writerIndex
and increases the writerIndex
by 1
in this buffer.
- writeBytes(byte[], int, int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeBytes(byte[]) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeBytes(Slice) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeBytes(Slice, int, int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeBytes(InputStream, int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeBytes(byte[]) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeBytes(byte[], int, int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeBytes(Slice) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeBytes(Slice, int, int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeBytes(InputStream, int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeBytes(Slice) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeBytes(Slice, int, int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeBytes(byte[]) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeBytes(byte[], int, int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeBytes(InputStream, int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeBytes(Slice) - Method in class io.airlift.slice.SliceOutput
-
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex
until the source buffer becomes
unreadable, and increases the writerIndex
by the number of
the transferred bytes.
- writeBytes(Slice, int, int) - Method in class io.airlift.slice.SliceOutput
-
Transfers the specified source buffer's data to this buffer starting at
the current writerIndex
and increases the writerIndex
by the number of the transferred bytes (= length
).
- writeBytes(byte[]) - Method in class io.airlift.slice.SliceOutput
-
Transfers the specified source array's data to this buffer starting at
the current writerIndex
and increases the writerIndex
by the number of the transferred bytes (= source.length
).
- writeBytes(byte[], int, int) - Method in class io.airlift.slice.SliceOutput
-
Transfers the specified source array's data to this buffer starting at
the current writerIndex
and increases the writerIndex
by the number of the transferred bytes (= length
).
- writeBytes(InputStream, int) - Method in class io.airlift.slice.SliceOutput
-
Transfers the content of the specified stream to this buffer
starting at the current writerIndex
and increases the
writerIndex
by the number of the transferred bytes.
- writeBytes(String) - Method in class io.airlift.slice.SliceOutput
-
Unsupported operation
- writeChar(int) - Method in class io.airlift.slice.SliceOutput
-
Unsupported operation
- writeChars(String) - Method in class io.airlift.slice.SliceOutput
-
Unsupported operation
- writeDouble(double) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeDouble(double) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeDouble(double) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeDouble(double) - Method in class io.airlift.slice.SliceOutput
-
Sets the specified 64-bit double at the current
writerIndex
and increases the writerIndex
by 8
in this buffer.
- writeFloat(float) - Method in class io.airlift.slice.SliceOutput
-
Unsupported operation
- writeInt(int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeInt(int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeInt(int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeInt(int) - Method in class io.airlift.slice.SliceOutput
-
Sets the specified 32-bit integer at the current writerIndex
and increases the writerIndex
by 4
in this buffer.
- writeLong(long) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeLong(long) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeLong(long) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeLong(long) - Method in class io.airlift.slice.SliceOutput
-
Sets the specified 64-bit long integer at the current
writerIndex
and increases the writerIndex
by 8
in this buffer.
- writeShort(int) - Method in class io.airlift.slice.BasicSliceOutput
-
- writeShort(int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeShort(int) - Method in class io.airlift.slice.OutputStreamSliceOutput
-
- writeShort(int) - Method in class io.airlift.slice.SliceOutput
-
Sets the specified 16-bit short integer at the current
writerIndex
and increases the writerIndex
by 2
in this buffer.
- writeUTF(String) - Method in class io.airlift.slice.SliceOutput
-
Unsupported operation
- writeZero(int) - Method in class io.airlift.slice.DynamicSliceOutput
-
- writeZero(int) - Method in class io.airlift.slice.SliceOutput
-
Fills this buffer with NUL (0x00) starting at the current
writerIndex
and increases the writerIndex
by the
specified length
.