@Namespace(value="arrow::compute") @Properties(inherit=arrow.class) public class ScalarFunction extends Function
Function.Kind
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ScalarFunction(BytePointer name,
Arity arity,
FunctionDoc doc) |
ScalarFunction(BytePointer name,
Arity arity,
FunctionDoc doc,
FunctionOptions default_options) |
ScalarFunction(Pointer p)
Pointer cast constructor.
|
ScalarFunction(String name,
Arity arity,
FunctionDoc doc) |
ScalarFunction(String name,
Arity arity,
FunctionDoc doc,
FunctionOptions default_options) |
Modifier and Type | Method and Description |
---|---|
Status |
AddKernel(InputType in_types,
OutputType out_type,
Pointer exec) |
Status |
AddKernel(InputType in_types,
OutputType out_type,
Pointer exec,
Pointer init)
\brief Add a kernel with given input/output types, no required state
initialization, preallocation for fixed-width types, and default null
handling (intersect validity bitmaps of inputs).
|
Status |
AddKernel(ScalarKernel kernel)
\brief Add a kernel (function implementation).
|
arity, default_options, DispatchBest, DispatchExact, doc, Execute, kind, name, num_kernels, Validate
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ScalarFunction(Pointer p)
Pointer(Pointer)
.public ScalarFunction(@StdString String name, @Const @ByRef Arity arity, @Const FunctionDoc doc, @Const FunctionOptions default_options)
public ScalarFunction(@StdString String name, @Const @ByRef Arity arity, @Const FunctionDoc doc)
public ScalarFunction(@StdString BytePointer name, @Const @ByRef Arity arity, @Const FunctionDoc doc, @Const FunctionOptions default_options)
public ScalarFunction(@StdString BytePointer name, @Const @ByRef Arity arity, @Const FunctionDoc doc)
@ByVal public Status AddKernel(@StdVector InputType in_types, @ByVal OutputType out_type, @ByVal @Cast(value="arrow::compute::ArrayKernelExec*") Pointer exec, @ByVal(nullValue="arrow::compute::KernelInit(nullptr)") @Cast(value="arrow::compute::KernelInit*") Pointer init)
@ByVal public Status AddKernel(@StdVector InputType in_types, @ByVal OutputType out_type, @ByVal @Cast(value="arrow::compute::ArrayKernelExec*") Pointer exec)
@ByVal public Status AddKernel(@ByVal ScalarKernel kernel)
Copyright © 2022. All rights reserved.