public class NettyArrowBuf extends io.netty.buffer.AbstractByteBuf implements AutoCloseable
| コンストラクタと説明 |
|---|
NettyArrowBuf(ArrowBuf arrowBuf,
BufferAllocator bufferAllocator,
int length)
Constructs a new instance.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected byte |
_getByte(int index) |
protected int |
_getInt(int index) |
protected int |
_getIntLE(int index) |
protected long |
_getLong(int index) |
protected long |
_getLongLE(int index) |
protected short |
_getShort(int index) |
protected short |
_getShortLE(int index) |
protected int |
_getUnsignedMedium(int index) |
protected int |
_getUnsignedMediumLE(int index) |
protected void |
_setByte(int index,
int value) |
protected void |
_setInt(int index,
int value) |
protected void |
_setIntLE(int index,
int value) |
protected void |
_setLong(int index,
long value) |
void |
_setLongLE(int index,
long value) |
protected void |
_setMedium(int index,
int value) |
protected void |
_setMediumLE(int index,
int value) |
protected void |
_setShort(int index,
int value) |
protected void |
_setShortLE(int index,
int value) |
ArrowByteBufAllocator |
alloc() |
byte[] |
array() |
int |
arrayOffset() |
ArrowBuf |
arrowBuf() |
int |
capacity() |
io.netty.buffer.ByteBuf |
capacity(int newCapacity) |
void |
close() |
io.netty.buffer.ByteBuf |
copy() |
io.netty.buffer.ByteBuf |
copy(int index,
int length) |
byte |
getByte(int index) |
io.netty.buffer.ByteBuf |
getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
ByteBuffer dst) |
io.netty.buffer.ByteBuf |
getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length) |
int |
getBytes(int index,
FileChannel out,
long position,
int length) |
int |
getBytes(int index,
GatheringByteChannel out,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
OutputStream out,
int length) |
int |
getInt(int index) |
long |
getLong(int index) |
short |
getShort(int index) |
boolean |
hasArray() |
boolean |
hasMemoryAddress() |
ByteBuffer |
internalNioBuffer(int index,
int length) |
boolean |
isDirect() |
long |
memoryAddress() |
ByteBuffer |
nioBuffer() |
ByteBuffer |
nioBuffer(int index,
int length)
Returns a buffer that is zero positioned but points
to a slice of the original buffer starting at given index.
|
ByteBuffer |
nioBuffer(long index,
int length)
Returns a buffer that is zero positioned but points
to a slice of the original buffer starting at given index.
|
int |
nioBufferCount() |
ByteBuffer[] |
nioBuffers() |
ByteBuffer[] |
nioBuffers(int index,
int length) |
ByteOrder |
order() |
io.netty.buffer.ByteBuf |
order(ByteOrder endianness) |
NettyArrowBuf |
readerIndex(int readerIndex) |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
io.netty.buffer.ByteBuf |
retain() |
io.netty.buffer.ByteBuf |
retain(int increment) |
NettyArrowBuf |
setByte(int index,
int value) |
io.netty.buffer.ByteBuf |
setBytes(int index,
byte[] src,
int srcIndex,
int length) |
io.netty.buffer.ByteBuf |
setBytes(int index,
ByteBuffer src) |
io.netty.buffer.ByteBuf |
setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
int |
setBytes(int index,
FileChannel in,
long position,
int length) |
int |
setBytes(int index,
InputStream in,
int length) |
int |
setBytes(int index,
ScatteringByteChannel in,
int length) |
NettyArrowBuf |
setInt(int index,
int value) |
NettyArrowBuf |
setLong(int index,
long value) |
NettyArrowBuf |
setMedium(int index,
int value) |
NettyArrowBuf |
setShort(int index,
int value) |
NettyArrowBuf |
slice() |
NettyArrowBuf |
slice(int index,
int length) |
io.netty.buffer.ByteBuf |
touch() |
io.netty.buffer.ByteBuf |
touch(Object hint) |
io.netty.buffer.ByteBuf |
unwrap() |
static NettyArrowBuf |
unwrapBuffer(ArrowBuf buf)
unwrap arrow buffer into a netty buffer.
|
NettyArrowBuf |
writerIndex(int writerIndex) |
adjustMarkers, asReadOnly, bytesBefore, bytesBefore, bytesBefore, checkDstIndex, checkDstIndex, checkIndex, checkIndex, checkNewCapacity, checkReadableBytes, checkSrcIndex, clear, compareTo, discardReadBytes, discardSomeReadBytes, duplicate, ensureAccessible, ensureWritable, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getBytes, getBytes, getBytes, getChar, getCharSequence, getDouble, getFloat, getIntLE, getLongLE, getMedium, getMediumLE, getShortLE, getUnsignedByte, getUnsignedInt, getUnsignedIntLE, getUnsignedMedium, getUnsignedMediumLE, getUnsignedShort, getUnsignedShortLE, hashCode, indexOf, isReadable, isReadable, isReadOnly, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxCapacity, maxWritableBytes, newSwappedByteBuf, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readCharSequence, readDouble, readerIndex, readFloat, readInt, readIntLE, readLong, readLongLE, readMedium, readMediumLE, readRetainedSlice, readShort, readShortLE, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedIntLE, readUnsignedMedium, readUnsignedMediumLE, readUnsignedShort, readUnsignedShortLE, resetReaderIndex, resetWriterIndex, retainedDuplicate, retainedSlice, retainedSlice, setBoolean, setBytes, setBytes, setBytes, setChar, setCharSequence, setDouble, setFloat, setIndex, setIntLE, setLongLE, setMediumLE, setShortLE, setZero, skipBytes, toString, toString, toString, trimIndicesToCapacity, writableBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeChar, writeCharSequence, writeDouble, writeFloat, writeInt, writeIntLE, writeLong, writeLongLE, writeMedium, writeMediumLE, writerIndex, writeShort, writeShortLE, writeZeropublic NettyArrowBuf(ArrowBuf arrowBuf, BufferAllocator bufferAllocator, int length)
arrowBuf - The buffer to wrap.bufferAllocator - The allocator for the buffer.length - The length of this buffer.public io.netty.buffer.ByteBuf copy()
copy クラス内 io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf copy(int index,
int length)
copy クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf retain()
retain インタフェース内 io.netty.util.ReferenceCountedretain クラス内 io.netty.buffer.ByteBufpublic ArrowBuf arrowBuf()
public io.netty.buffer.ByteBuf retain(int increment)
retain インタフェース内 io.netty.util.ReferenceCountedretain クラス内 io.netty.buffer.ByteBufpublic boolean isDirect()
isDirect クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf capacity(int newCapacity)
capacity クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf unwrap()
unwrap クラス内 io.netty.buffer.ByteBufpublic int refCnt()
refCnt インタフェース内 io.netty.util.ReferenceCountedpublic ArrowByteBufAllocator alloc()
alloc クラス内 io.netty.buffer.ByteBufpublic boolean hasArray()
hasArray クラス内 io.netty.buffer.ByteBufpublic byte[] array()
array クラス内 io.netty.buffer.ByteBufpublic int arrayOffset()
arrayOffset クラス内 io.netty.buffer.ByteBufpublic boolean hasMemoryAddress()
hasMemoryAddress クラス内 io.netty.buffer.ByteBufpublic long memoryAddress()
memoryAddress クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf touch()
touch インタフェース内 io.netty.util.ReferenceCountedtouch クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf touch(Object hint)
touch インタフェース内 io.netty.util.ReferenceCountedtouch クラス内 io.netty.buffer.ByteBufpublic int capacity()
capacity クラス内 io.netty.buffer.ByteBufpublic NettyArrowBuf slice()
slice クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf slice(int index, int length)
slice クラス内 io.netty.buffer.AbstractByteBufpublic void close()
close インタフェース内 AutoCloseablepublic boolean release()
release インタフェース内 io.netty.util.ReferenceCountedpublic boolean release(int decrement)
release インタフェース内 io.netty.util.ReferenceCountedpublic NettyArrowBuf readerIndex(int readerIndex)
readerIndex クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf writerIndex(int writerIndex)
writerIndex クラス内 io.netty.buffer.AbstractByteBufpublic int nioBufferCount()
nioBufferCount クラス内 io.netty.buffer.ByteBufpublic ByteBuffer internalNioBuffer(int index, int length)
internalNioBuffer クラス内 io.netty.buffer.ByteBufpublic ByteBuffer[] nioBuffers()
nioBuffers クラス内 io.netty.buffer.AbstractByteBufpublic ByteBuffer[] nioBuffers(int index, int length)
nioBuffers クラス内 io.netty.buffer.ByteBufpublic ByteBuffer nioBuffer()
nioBuffer クラス内 io.netty.buffer.AbstractByteBufpublic ByteBuffer nioBuffer(int index, int length)
nioBuffer クラス内 io.netty.buffer.ByteBufpublic ByteBuffer nioBuffer(long index, int length)
public io.netty.buffer.ByteBuf getBytes(int index,
ByteBuffer dst)
getBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
ByteBuffer src)
setBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
byte[] dst,
int dstIndex,
int length)
getBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
byte[] src,
int srcIndex,
int length)
setBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length)
getBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length)
setBytes クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
OutputStream out,
int length)
throws IOException
getBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic int setBytes(int index,
InputStream in,
int length)
throws IOException
setBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic int getBytes(int index,
GatheringByteChannel out,
int length)
throws IOException
getBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic int getBytes(int index,
FileChannel out,
long position,
int length)
throws IOException
getBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic int setBytes(int index,
ScatteringByteChannel in,
int length)
throws IOException
setBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic int setBytes(int index,
FileChannel in,
long position,
int length)
throws IOException
setBytes クラス内 io.netty.buffer.ByteBufIOExceptionpublic ByteOrder order()
order クラス内 io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf order(ByteOrder endianness)
order クラス内 io.netty.buffer.AbstractByteBufprotected int _getUnsignedMedium(int index)
_getUnsignedMedium クラス内 io.netty.buffer.AbstractByteBufprotected int _getUnsignedMediumLE(int index)
_getUnsignedMediumLE クラス内 io.netty.buffer.AbstractByteBufprotected byte _getByte(int index)
_getByte クラス内 io.netty.buffer.AbstractByteBufpublic byte getByte(int index)
getByte クラス内 io.netty.buffer.AbstractByteBufprotected short _getShortLE(int index)
_getShortLE クラス内 io.netty.buffer.AbstractByteBufprotected short _getShort(int index)
_getShort クラス内 io.netty.buffer.AbstractByteBufpublic short getShort(int index)
getShort クラス内 io.netty.buffer.AbstractByteBufprotected int _getIntLE(int index)
_getIntLE クラス内 io.netty.buffer.AbstractByteBufprotected int _getInt(int index)
_getInt クラス内 io.netty.buffer.AbstractByteBufpublic int getInt(int index)
getInt クラス内 io.netty.buffer.AbstractByteBufprotected long _getLongLE(int index)
_getLongLE クラス内 io.netty.buffer.AbstractByteBufprotected long _getLong(int index)
_getLong クラス内 io.netty.buffer.AbstractByteBufpublic long getLong(int index)
getLong クラス内 io.netty.buffer.AbstractByteBufprotected void _setByte(int index,
int value)
_setByte クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf setByte(int index, int value)
setByte クラス内 io.netty.buffer.AbstractByteBufprotected void _setShortLE(int index,
int value)
_setShortLE クラス内 io.netty.buffer.AbstractByteBufprotected void _setShort(int index,
int value)
_setShort クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf setShort(int index, int value)
setShort クラス内 io.netty.buffer.AbstractByteBufprotected void _setMedium(int index,
int value)
_setMedium クラス内 io.netty.buffer.AbstractByteBufprotected void _setMediumLE(int index,
int value)
_setMediumLE クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf setMedium(int index, int value)
setMedium クラス内 io.netty.buffer.AbstractByteBufprotected void _setInt(int index,
int value)
_setInt クラス内 io.netty.buffer.AbstractByteBufprotected void _setIntLE(int index,
int value)
_setIntLE クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf setInt(int index, int value)
setInt クラス内 io.netty.buffer.AbstractByteBufprotected void _setLong(int index,
long value)
_setLong クラス内 io.netty.buffer.AbstractByteBufpublic void _setLongLE(int index,
long value)
_setLongLE クラス内 io.netty.buffer.AbstractByteBufpublic NettyArrowBuf setLong(int index, long value)
setLong クラス内 io.netty.buffer.AbstractByteBufpublic static NettyArrowBuf unwrapBuffer(ArrowBuf buf)
Copyright © 2021 The Apache Software Foundation. All rights reserved.