@Namespace(value="arrow::compute") @Properties(inherit=arrow.class) public class ScalarFunction extends Function
Function.KindPointer.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).
|
KernelResult |
DispatchExact(ValueDescrVector values)
\brief Return a kernel that can execute the function given the exact
argument types (without implicit type casts or scalar->array promotions).
|
arity, default_options, doc, Execute, kind, name, num_kernels, Validateaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic 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)
@ByVal @Cast(value="arrow::Result<const arrow::compute::Kernel*>*") public KernelResult DispatchExact(@Const @ByRef ValueDescrVector values)
FunctionDispatchExact in class FunctionCopyright © 2021. All rights reserved.