37 std::shared_ptr<Type> ResultType()
const override;
42 static Result<std::unique_ptr<TransformFunction>> Make(
43 std::shared_ptr<Type>
const& source_type);
51 BucketTransform(std::shared_ptr<Type>
const& source_type, int32_t num_buckets);
60 std::shared_ptr<Type> ResultType()
const override;
69 static Result<std::unique_ptr<TransformFunction>> Make(
70 std::shared_ptr<Type>
const& source_type, int32_t num_buckets);
87 std::shared_ptr<Type> ResultType()
const override;
90 int32_t
width()
const {
return width_; }
96 static Result<std::unique_ptr<TransformFunction>> Make(
97 std::shared_ptr<Type>
const& source_type, int32_t width);
108 explicit YearTransform(std::shared_ptr<Type>
const& source_type);
114 std::shared_ptr<Type> ResultType()
const override;
119 static Result<std::unique_ptr<TransformFunction>> Make(
120 std::shared_ptr<Type>
const& source_type);
128 explicit MonthTransform(std::shared_ptr<Type>
const& source_type);
134 std::shared_ptr<Type> ResultType()
const override;
139 static Result<std::unique_ptr<TransformFunction>> Make(
140 std::shared_ptr<Type>
const& source_type);
148 explicit DayTransform(std::shared_ptr<Type>
const& source_type);
158 std::shared_ptr<Type> ResultType()
const override;
163 static Result<std::unique_ptr<TransformFunction>> Make(
164 std::shared_ptr<Type>
const& source_type);
172 explicit HourTransform(std::shared_ptr<Type>
const& source_type);
178 std::shared_ptr<Type> ResultType()
const override;
183 static Result<std::unique_ptr<TransformFunction>> Make(
184 std::shared_ptr<Type>
const& source_type);
191 explicit VoidTransform(std::shared_ptr<Type>
const& source_type);
197 std::shared_ptr<Type> ResultType()
const override;
202 static Result<std::unique_ptr<TransformFunction>> Make(
203 std::shared_ptr<Type>
const& source_type);
Literal is a literal value that is associated with a primitive type.
Definition literal.h:39