@Namespace(value="parquet") @Properties(inherit=parquet.class) public class Comparator extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Comparator()
Default native constructor.
|
Comparator(long size)
Native array allocator.
|
Comparator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Comparator |
getPointer(long i) |
static Comparator |
Make(ColumnDescriptor descr)
\brief Create typed comparator inferring default sort order from
ColumnDescriptor
|
static Comparator |
Make(int physical_type,
int sort_order) |
static Comparator |
Make(int physical_type,
int sort_order,
int type_length) |
static Comparator |
Make(Type.type physical_type,
SortOrder.type sort_order) |
static Comparator |
Make(Type.type physical_type,
SortOrder.type sort_order,
int type_length)
\brief Create a comparator explicitly from physical type and
sort order
|
Comparator |
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 Comparator()
public Comparator(long size)
Pointer.position(long)
.public Comparator(Pointer p)
Pointer(Pointer)
.public Comparator position(long position)
public Comparator getPointer(long i)
getPointer
in class Pointer
@SharedPtr public static Comparator Make(Type.type physical_type, SortOrder.type sort_order, int type_length)
physical_type
- [in] the physical type for the typed
comparatorsort_order
- [in] either SortOrder::SIGNED or
SortOrder::UNSIGNEDtype_length
- [in] for FIXED_LEN_BYTE_ARRAY only@SharedPtr public static Comparator Make(Type.type physical_type, SortOrder.type sort_order)
@SharedPtr public static Comparator Make(@Cast(value="parquet::Type::type") int physical_type, @Cast(value="parquet::SortOrder::type") int sort_order, int type_length)
@SharedPtr public static Comparator Make(@Cast(value="parquet::Type::type") int physical_type, @Cast(value="parquet::SortOrder::type") int sort_order)
@SharedPtr public static Comparator Make(@Const ColumnDescriptor descr)
descr
- [in] the Parquet column schemaCopyright © 2022. All rights reserved.