| 限定符和类型 | 方法和说明 |
|---|---|
Buffer.DataType |
BufferHeader.getDataType() |
Buffer.DataType |
BufferConsumer.getDataType() |
Buffer.DataType |
NetworkBuffer.getDataType() |
Buffer.DataType |
FileRegionBuffer.getDataType() |
Buffer.DataType |
ReadOnlySlicedNetworkBuffer.getDataType() |
Buffer.DataType |
CompositeBuffer.getDataType() |
Buffer.DataType |
Buffer.getDataType()
Gets the type of data this buffer represents.
|
static Buffer.DataType |
Buffer.DataType.getDataType(AbstractEvent event,
boolean hasPriority) |
static Buffer.DataType |
Buffer.DataType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Buffer.DataType[] |
Buffer.DataType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NetworkBuffer.setDataType(Buffer.DataType dataType) |
void |
FileRegionBuffer.setDataType(Buffer.DataType dataType) |
void |
ReadOnlySlicedNetworkBuffer.setDataType(Buffer.DataType dataType) |
void |
CompositeBuffer.setDataType(Buffer.DataType dataType) |
void |
Buffer.setDataType(Buffer.DataType dataType)
Sets the type of data this buffer represents.
|
| 构造器和说明 |
|---|
BufferHeader(boolean isCompressed,
int length,
Buffer.DataType dataType) |
CompositeBuffer(Buffer.DataType dataType,
int length,
boolean isCompressed) |
FileRegionBuffer(FileChannel fileChannel,
long fileChannelPosition,
int bufferSize,
Buffer.DataType dataType,
boolean isCompressed) |
NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
Buffer.DataType dataType)
Creates a new buffer instance backed by the given memorySegment with 0 for
the readerIndex and writerIndex.
|
NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
Buffer.DataType dataType,
boolean isCompressed,
int size)
Creates a new buffer instance backed by the given memorySegment with 0 for
the readerIndex and size as writerIndex.
|
NetworkBuffer(org.apache.flink.core.memory.MemorySegment memorySegment,
BufferRecycler recycler,
Buffer.DataType dataType,
int size)
Creates a new buffer instance backed by the given memorySegment with 0 for
the readerIndex and size as writerIndex.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Buffer.DataType |
ResultSubpartition.BufferAndBacklog.getNextDataType() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
DataBuffer.append(ByteBuffer source,
int targetChannel,
Buffer.DataType dataType)
Appends data of the specified channel to this
DataBuffer and returns true if this
DataBuffer is full. |
boolean |
HashBasedDataBuffer.append(ByteBuffer source,
int targetChannel,
Buffer.DataType dataType)
Partial data of the target record can be written if this
HashBasedDataBuffer is full. |
boolean |
SortBasedDataBuffer.append(ByteBuffer source,
int targetChannel,
Buffer.DataType dataType)
No partial record will be written to this
SortBasedDataBuffer, which means that
either all data of target record will be written or nothing will be written. |
static ResultSubpartition.BufferAndBacklog |
ResultSubpartition.BufferAndBacklog.fromBufferAndLookahead(Buffer current,
Buffer.DataType nextDataType,
int backlog,
int sequenceNumber) |
| 构造器和说明 |
|---|
BufferAndBacklog(Buffer buffer,
int buffersInBacklog,
Buffer.DataType nextDataType,
int sequenceNumber) |
| 构造器和说明 |
|---|
BufferAndAvailability(Buffer buffer,
Buffer.DataType nextDataType,
int buffersInBacklog,
int sequenceNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
Buffer.DataType |
HsSubpartitionFileReaderImpl.BufferIndexOrError.getDataType() |
Buffer.DataType |
HsSubpartitionConsumerMemoryDataManager.peekNextToConsumeDataType(int nextToConsumeIndex,
Collection<Buffer> buffersToRecycle)
Check whether the head of
HsSubpartitionConsumerMemoryDataManager.unConsumedBuffers is the buffer to be consumed next time. |
Buffer.DataType |
HsSubpartitionFileReaderImpl.peekNextToConsumeDataType(int nextBufferToConsume,
Collection<Buffer> buffersToRecycle) |
Buffer.DataType |
HsDataView.peekNextToConsumeDataType(int nextBufferToConsume,
Collection<Buffer> buffersToRecycle)
Get dataType of next buffer to consume.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HsSubpartitionMemoryDataManager.append(ByteBuffer record,
Buffer.DataType dataType)
Append record to
HsSubpartitionMemoryDataManager. |
void |
HsMemoryDataManager.append(ByteBuffer record,
int targetChannel,
Buffer.DataType dataType)
Append record to
HsMemoryDataManager, It will be managed by HsSubpartitionMemoryDataManager witch it belongs to. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.