| // Licensed to the Apache Software Foundation (ASF) under one |
| // or more contributor license agreements. See the NOTICE file |
| // distributed with this work for additional information |
| // regarding copyright ownership. The ASF licenses this file |
| // to you under the Apache License, Version 2.0 (the |
| // "License"); you may not use this file except in compliance |
| // with the License. You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, |
| // software distributed under the License is distributed on an |
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| // KIND, either express or implied. See the License for the |
| // specific language governing permissions and limitations |
| // under the License. |
| |
| //! Defines physical expressions that can evaluated at runtime during query execution |
| |
| #[macro_use] |
| mod binary; |
| mod case; |
| mod cast; |
| mod cast_column; |
| mod column; |
| mod dynamic_filters; |
| mod in_list; |
| mod is_not_null; |
| mod is_null; |
| mod like; |
| mod literal; |
| mod negative; |
| mod no_op; |
| mod not; |
| mod try_cast; |
| mod unknown_column; |
| |
| /// Module with some convenient methods used in expression building |
| pub use crate::aggregate::stats::StatsType; |
| pub use crate::PhysicalSortExpr; |
| |
| pub use binary::{binary, similar_to, BinaryExpr}; |
| pub use case::{case, CaseExpr}; |
| pub use cast::{cast, CastExpr}; |
| pub use cast_column::CastColumnExpr; |
| pub use column::{col, with_new_schema, Column}; |
| pub use datafusion_expr::utils::format_state_name; |
| pub use dynamic_filters::DynamicFilterPhysicalExpr; |
| pub use in_list::{in_list, InListExpr}; |
| pub use is_not_null::{is_not_null, IsNotNullExpr}; |
| pub use is_null::{is_null, IsNullExpr}; |
| pub use like::{like, LikeExpr}; |
| pub use literal::{lit, Literal}; |
| pub use negative::{negative, NegativeExpr}; |
| pub use no_op::NoOp; |
| pub use not::{not, NotExpr}; |
| pub use try_cast::{try_cast, TryCastExpr}; |
| pub use unknown_column::UnKnownColumn; |