|
iceberg-cpp
|
Void transform that discards the input and always returns null. More...
#include <transform_function.h>
Public Member Functions | |
| VoidTransform (std::shared_ptr< Type > const &source_type) | |
| Result< Literal > | Transform (const Literal &literal) override |
| Returns a null literal. | |
| std::shared_ptr< Type > | ResultType () const override |
| Returns the same type as source_type. | |
Public Member Functions inherited from iceberg::TransformFunction | |
| TransformFunction (TransformType transform_type, std::shared_ptr< Type > source_type) | |
| TransformType | transform_type () const |
| Get the transform type. | |
| const std::shared_ptr< Type > & | source_type () const |
| Get the source type of transform function. | |
Static Public Member Functions | |
| static Result< std::unique_ptr< TransformFunction > > | Make (std::shared_ptr< Type > const &source_type) |
| Create a VoidTransform. | |
Void transform that discards the input and always returns null.
|
explicit |
| source_type | Input type (ignored). |
|
static |
Create a VoidTransform.
| source_type | Input type (ignored). |
|
overridevirtual |
Returns the same type as source_type.
Implements iceberg::TransformFunction.
Returns a null literal.
Implements iceberg::TransformFunction.