@Namespace(value="arrow::compute") @NoOffset @Properties(inherit=arrow.class) public class TakeKernel extends BinaryKernel
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TakeKernel(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
Call(FunctionContext ctx,
Datum values,
Datum indices,
Datum out)
\brief BinaryKernel interface
delegates to subclasses via Take()
|
static Status |
Make(DataType value_type,
DataType index_type,
TakeKernel out)
\brief factory for TakeKernels
|
DataType |
out_type()
\brief output type of this kernel (identical to type of values taken)
|
Status |
Take(FunctionContext ctx,
Array values,
Array indices,
Array out)
\brief single-array implementation
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TakeKernel(Pointer p)
Pointer.Pointer(Pointer).@ByVal public Status Call(FunctionContext ctx, @Const @ByRef Datum values, @Const @ByRef Datum indices, Datum out)
Call in class BinaryKernel@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType out_type()
@ByVal public static Status Make(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType value_type, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType index_type, @UniquePtr TakeKernel out)
value_type - [in] constructed TakeKernel will support taking
values of this typeindex_type - [in] constructed TakeKernel will support taking
with indices of this typeout - [out] created kernelCopyright © 2020. All rights reserved.