@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class CastExpression extends CastExpressionImpl
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CastExpression(Expression operand,
DataType to,
CastOptions options) |
CastExpression(Expression operand,
Expression like,
CastOptions options)
The operand will be cast to whatever type
like would evaluate to, given the same
schema. |
CastExpression(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
Assume(Expression given)
\brief Simplify to an equivalent Expression given assumed constraints on input.
|
Expression |
like_expr()
Return the target expression of this CastLike expression, or nullptr if
this is a CastTo expression.
|
CastOptions |
options() |
DataType |
to_type()
Return the target type of this CastTo expression, or nullptr if this is a
CastLike expression.
|
String |
ToString()
returns a debug string representing this expression
|
DataTypeResult |
Validate(Schema schema)
Validate this expression for execution against a schema.
|
Copy, expression_type, getPointer, positionEquals, operandCastLike, CastLike, CastTo, CastTo, Deserialize, In, IsNull, IsSatisfiable, IsSatisfiableWith, IsValid, Serialize, typeaddress, 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 CastExpression(Pointer p)
Pointer.Pointer(Pointer).public CastExpression(@SharedPtr @ByVal Expression operand, @SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) DataType to, @ByVal CastOptions options)
public CastExpression(@SharedPtr @ByVal Expression operand, @SharedPtr @ByVal Expression like, @ByVal CastOptions options)
like would evaluate to, given the same
schema.@StdString public String ToString()
ExpressionToString in class Expression@SharedPtr @ByVal public Expression Assume(@Const @ByRef Expression given)
ExpressionAssume in class Expression@ByVal public DataTypeResult Validate(@Const @ByRef Schema schema)
ExpressionValidate in class Expression@Const @ByRef public CastOptions options()
@SharedPtr @Cast(value={"","std::shared_ptr<arrow::DataType>"}) public DataType to_type()
@Const @SharedPtr @ByRef public Expression like_expr()
Copyright © 2020. All rights reserved.