| Modifier and Type | Method and Description |
|---|---|
abstract void |
TypeComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes)
Writes a normalized key for the given record into the target byte array, starting at the specified position
an writing exactly the given number of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BigDecComparator.putNormalizedKey(BigDecimal record,
MemorySegment target,
int offset,
int len)
Adds a normalized key containing a normalized order of magnitude of the given record.
|
void |
BigIntComparator.putNormalizedKey(BigInteger record,
MemorySegment target,
int offset,
int len)
Adds a normalized key containing the normalized number of bits and MSBs of the given record.
|
void |
BooleanComparator.putNormalizedKey(Boolean value,
MemorySegment target,
int offset,
int numBytes) |
void |
BooleanValueComparator.putNormalizedKey(BooleanValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
ByteComparator.putNormalizedKey(Byte value,
MemorySegment target,
int offset,
int numBytes) |
void |
ByteValueComparator.putNormalizedKey(ByteValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
CharComparator.putNormalizedKey(Character value,
MemorySegment target,
int offset,
int numBytes) |
void |
CharValueComparator.putNormalizedKey(CharValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
SqlTimestampComparator.putNormalizedKey(Date record,
MemorySegment target,
int offset,
int numBytes) |
void |
DateComparator.putNormalizedKey(Date record,
MemorySegment target,
int offset,
int numBytes) |
void |
DoubleComparator.putNormalizedKey(Double value,
MemorySegment target,
int offset,
int numBytes) |
void |
DoubleValueComparator.putNormalizedKey(DoubleValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
FloatComparator.putNormalizedKey(Float value,
MemorySegment target,
int offset,
int numBytes) |
void |
FloatValueComparator.putNormalizedKey(FloatValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
IntComparator.putNormalizedKey(Integer iValue,
MemorySegment target,
int offset,
int numBytes) |
void |
IntValueComparator.putNormalizedKey(IntValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
LongComparator.putNormalizedKey(Long lValue,
MemorySegment target,
int offset,
int numBytes) |
void |
LongValueComparator.putNormalizedKey(LongValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
NullValueComparator.putNormalizedKey(NullValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
ShortComparator.putNormalizedKey(Short value,
MemorySegment target,
int offset,
int numBytes) |
void |
ShortValueComparator.putNormalizedKey(ShortValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
StringComparator.putNormalizedKey(String record,
MemorySegment target,
int offset,
int len) |
void |
StringValueComparator.putNormalizedKey(StringValue record,
MemorySegment target,
int offset,
int numBytes) |
void |
EnumComparator.putNormalizedKey(T iValue,
MemorySegment target,
int offset,
int numBytes) |
static void |
DateComparator.putNormalizedKeyDate(Date record,
MemorySegment target,
int offset,
int numBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
PrimitiveArrayComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
TupleComparator.putNormalizedKey(T value,
MemorySegment target,
int offset,
int numBytes) |
void |
WritableComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes) |
void |
ValueComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes) |
void |
PojoComparator.putNormalizedKey(T value,
MemorySegment target,
int offset,
int numBytes) |
void |
GenericTypeComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes) |
void |
CopyableValueComparator.putNormalizedKey(T record,
MemorySegment target,
int offset,
int numBytes) |
| Modifier and Type | Class and Description |
|---|---|
class |
HeapMemorySegment
This class represents a piece of heap memory managed by Flink.
|
class |
HybridMemorySegment
This class represents a piece of memory managed by Flink.
|
| Modifier and Type | Method and Description |
|---|---|
static MemorySegment |
MemorySegmentFactory.allocateUnpooledSegment(int size)
Allocates some unpooled memory and creates a new memory segment that represents
that memory.
|
static MemorySegment |
MemorySegmentFactory.allocateUnpooledSegment(int size,
Object owner)
Allocates some unpooled memory and creates a new memory segment that represents
that memory.
|
MemorySegment |
MemorySegmentFactory.Factory.allocateUnpooledSegment(int size,
Object owner)
Allocates some unpooled memory and creates a new memory segment that represents
that memory.
|
MemorySegment |
MemorySegmentSource.nextSegment()
Gets the next memory segment.
|
static MemorySegment |
MemorySegmentFactory.wrap(byte[] buffer)
Creates a new memory segment that targets the given heap memory region.
|
MemorySegment |
MemorySegmentFactory.Factory.wrap(byte[] memory)
Creates a new memory segment that targets the given heap memory region.
|
static MemorySegment |
MemorySegmentFactory.wrapPooledHeapMemory(byte[] memory,
Object owner)
Creates a memory segment that wraps the given byte array.
|
MemorySegment |
MemorySegmentFactory.Factory.wrapPooledHeapMemory(byte[] memory,
Object owner)
Creates a memory segment that wraps the given byte array.
|
static MemorySegment |
MemorySegmentFactory.wrapPooledOffHeapMemory(ByteBuffer memory,
Object owner)
Creates a memory segment that wraps the off-heap memory backing the given ByteBuffer.
|
MemorySegment |
MemorySegmentFactory.Factory.wrapPooledOffHeapMemory(ByteBuffer memory,
Object owner)
Creates a memory segment that wraps the off-heap memory backing the given ByteBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
MemorySegment.compare(MemorySegment seg2,
int offset1,
int offset2,
int len)
Compares two memory segment regions.
|
void |
MemorySegment.copyTo(int offset,
MemorySegment target,
int targetOffset,
int numBytes)
Bulk copy method.
|
void |
MemorySegment.swapBytes(byte[] tempBuffer,
MemorySegment seg2,
int offset1,
int offset2,
int len)
Swaps bytes between two memory segments, using the given auxiliary buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShortValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
NullValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
BooleanValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
ByteValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
CharValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
NormalizableKey.copyNormalizedKey(MemorySegment memory,
int offset,
int len)
Writes a normalized key for the given record into the target byte array, starting at the specified position
an writing exactly the given number of bytes.
|
void |
StringValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
LongValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
void |
IntValue.copyNormalizedKey(MemorySegment target,
int offset,
int len) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.