@Namespace(value="arrow::compute") @NoOffset @Properties(inherit=arrow.class) public class InputType extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
InputType.Kind
\brief The kind of type-checking rule that the InputType contains.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
InputType() |
InputType(DataType type) |
InputType(DataType type,
int shape) |
InputType(DataType type,
ValueDescr.Shape shape)
\brief Accept an exact value type.
|
InputType(InputType other) |
InputType(int shape) |
InputType(int type_id,
int shape) |
InputType(int type_id,
ValueDescr.Shape shape)
\brief Match any type with the given Type::type.
|
InputType(long size)
Native array allocator.
|
InputType(Pointer p)
Pointer cast constructor.
|
InputType(TypeMatcher type_matcher) |
InputType(TypeMatcher type_matcher,
int shape) |
InputType(TypeMatcher type_matcher,
ValueDescr.Shape shape)
\brief Use the passed TypeMatcher to type check.
|
InputType(ValueDescr.Shape shape)
\brief Accept any value type but with a specific shape (e.g.
|
InputType(ValueDescr descr)
\brief Accept an exact value type and shape provided by a ValueDescr.
|
| Modifier and Type | Method and Description |
|---|---|
static InputType |
Array(DataType type) |
static InputType |
Array(int id) |
boolean |
equals(InputType other) |
boolean |
Equals(InputType other)
\brief Return true if this input type matches the same type cases as the
other.
|
InputType |
getPointer(long i) |
long |
Hash()
\brief Return hash code.
|
InputType.Kind |
kind()
\brief The type matching rule that this InputType uses.
|
boolean |
Matches(Datum value)
\brief Return true if the value matches this argument kind in type
and shape.
|
boolean |
Matches(ValueDescr value)
\brief Return true if the value descriptor matches this argument kind in
type and shape.
|
boolean |
notEquals(InputType other) |
InputType |
position(long position) |
void |
put(InputType other) |
static InputType |
Scalar(DataType type) |
static InputType |
Scalar(int id) |
ValueDescr.Shape |
shape()
\brief Indicates whether this InputType matches Array (ValueDescr::ARRAY),
Scalar (ValueDescr::SCALAR) values, or both (ValueDescr::ANY).
|
String |
ToString()
\brief Render a human-readable string representation.
|
TypeMatcher |
type_matcher()
\brief For InputType::USE_TYPE_MATCHER, the TypeMatcher to be used for
checking the type of a value.
|
DataType |
type()
\brief For InputType::EXACT_TYPE kind, the exact type that this InputType
must match.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic InputType(Pointer p)
Pointer(Pointer).public InputType(long size)
Pointer.position(long).public InputType(ValueDescr.Shape shape)
public InputType()
public InputType(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, ValueDescr.Shape shape)
public InputType(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
public InputType(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type, @Cast(value="arrow::ValueDescr::Shape") int shape)
public InputType(@Const @ByRef ValueDescr descr)
public InputType(@SharedPtr TypeMatcher type_matcher, ValueDescr.Shape shape)
public InputType(@SharedPtr TypeMatcher type_matcher)
public InputType(@SharedPtr TypeMatcher type_matcher, @Cast(value="arrow::ValueDescr::Shape") int shape)
public InputType(@Cast(value="arrow::Type::type") int type_id, ValueDescr.Shape shape)
public InputType(@Cast(value="arrow::Type::type") int type_id, @Cast(value="arrow::ValueDescr::Shape") int shape)
public InputType getPointer(long i)
getPointer in class Pointer@ByVal public static InputType Array(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@ByVal public static InputType Scalar(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType type)
@Cast(value="bool") public boolean Equals(@Const @ByRef InputType other)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef InputType other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef InputType other)
@StdString public String ToString()
@Cast(value="bool") public boolean Matches(@Const @ByRef Datum value)
@Cast(value="bool") public boolean Matches(@Const @ByRef ValueDescr value)
public InputType.Kind kind()
public ValueDescr.Shape shape()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType type()
@Const @ByRef public TypeMatcher type_matcher()
Copyright © 2021. All rights reserved.