@Namespace(value="parquet") @NoOffset @Properties(inherit=parquet.class) public class LevelEncoder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LevelEncoder() |
LevelEncoder(long size)
Native array allocator.
|
LevelEncoder(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
Encode(int batch_size,
short[] levels) |
int |
Encode(int batch_size,
ShortBuffer levels) |
int |
Encode(int batch_size,
ShortPointer levels) |
LevelEncoder |
getPointer(long i) |
void |
Init(Encoding.type encoding,
short max_level,
int num_buffered_values,
byte[] data,
int data_size) |
void |
Init(Encoding.type encoding,
short max_level,
int num_buffered_values,
ByteBuffer data,
int data_size) |
void |
Init(Encoding.type encoding,
short max_level,
int num_buffered_values,
BytePointer data,
int data_size) |
void |
Init(int encoding,
short max_level,
int num_buffered_values,
byte[] data,
int data_size) |
void |
Init(int encoding,
short max_level,
int num_buffered_values,
ByteBuffer data,
int data_size) |
void |
Init(int encoding,
short max_level,
int num_buffered_values,
BytePointer data,
int data_size) |
int |
len() |
static int |
MaxBufferSize(Encoding.type encoding,
short max_level,
int num_buffered_values) |
static int |
MaxBufferSize(int encoding,
short max_level,
int num_buffered_values) |
LevelEncoder |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public LevelEncoder(Pointer p)
Pointer(Pointer)
.public LevelEncoder(long size)
Pointer.position(long)
.public LevelEncoder()
public LevelEncoder position(long position)
public LevelEncoder getPointer(long i)
getPointer
in class Pointer
public static int MaxBufferSize(Encoding.type encoding, short max_level, int num_buffered_values)
public static int MaxBufferSize(@Cast(value="parquet::Encoding::type") int encoding, short max_level, int num_buffered_values)
public void Init(Encoding.type encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") BytePointer data, int data_size)
public void Init(@Cast(value="parquet::Encoding::type") int encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") ByteBuffer data, int data_size)
public void Init(Encoding.type encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") byte[] data, int data_size)
public void Init(@Cast(value="parquet::Encoding::type") int encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") BytePointer data, int data_size)
public void Init(Encoding.type encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") ByteBuffer data, int data_size)
public void Init(@Cast(value="parquet::Encoding::type") int encoding, short max_level, int num_buffered_values, @Cast(value="uint8_t*") byte[] data, int data_size)
public int Encode(int batch_size, @Const ShortPointer levels)
public int Encode(int batch_size, @Const ShortBuffer levels)
public int Encode(int batch_size, @Const short[] levels)
public int len()
Copyright © 2022. All rights reserved.