@Namespace(value="arrow::compute") @NoOffset @Properties(inherit=arrow.class) public class OutputType extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
OutputType.ResolveKind
\brief An enum indicating whether the value type is an invariant fixed
value or one that's computed by a kernel-defined resolver function.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
OutputType(DataType type)
\brief Output an exact type, but with shape determined by promoting the
shapes of the inputs (any ARRAY argument yields ARRAY).
|
OutputType(OutputType other) |
OutputType(Pointer resolver) |
OutputType(ValueDescr descr)
\brief Output the exact type and shape provided by a ValueDescr
|
| Modifier and Type | Method and Description |
|---|---|
OutputType.ResolveKind |
kind()
\brief Return the kind of type resolution of this output type, whether
fixed/invariant or computed by a resolver.
|
ValueDescrResult |
Resolve(KernelContext ctx,
ValueDescrVector args)
\brief Return the shape and type of the expected output value of the
kernel given the value descriptors (shapes and types) of the input
arguments.
|
Pointer |
resolver()
\brief For use with COMPUTED resolution strategy.
|
ValueDescr.Shape |
shape()
\brief If the shape is ANY, then Resolve will compute the shape based on
the input arguments.
|
String |
ToString()
\brief Render a human-readable string representation.
|
DataType |
type()
\brief The exact output value type for the FIXED kind.
|
address, 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 OutputType(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
public OutputType(@ByVal ValueDescr descr)
public OutputType(@ByVal @Cast(value="arrow::compute::OutputType::Resolver*") Pointer resolver)
public OutputType(@Const @ByRef OutputType other)
@ByVal public ValueDescrResult Resolve(KernelContext ctx, @Const @ByRef ValueDescrVector args)
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
@Cast(value="const arrow::compute::OutputType::Resolver*") @ByRef public Pointer resolver()
@StdString public String ToString()
public OutputType.ResolveKind kind()
public ValueDescr.Shape shape()
Copyright © 2021. All rights reserved.