datafusion_physical_expr/expressions/
mod.rs

1// Licensed to the Apache Software Foundation (ASF) under one
2// or more contributor license agreements.  See the NOTICE file
3// distributed with this work for additional information
4// regarding copyright ownership.  The ASF licenses this file
5// to you under the Apache License, Version 2.0 (the
6// "License"); you may not use this file except in compliance
7// with the License.  You may obtain a copy of the License at
8//
9//   http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing,
12// software distributed under the License is distributed on an
13// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14// KIND, either express or implied.  See the License for the
15// specific language governing permissions and limitations
16// under the License.
17
18//! Defines physical expressions that can evaluated at runtime during query execution
19
20#[macro_use]
21mod binary;
22mod case;
23mod cast;
24mod column;
25mod dynamic_filters;
26mod in_list;
27mod is_not_null;
28mod is_null;
29mod like;
30mod literal;
31mod negative;
32mod no_op;
33mod not;
34mod try_cast;
35mod unknown_column;
36
37/// Module with some convenient methods used in expression building
38pub use crate::aggregate::stats::StatsType;
39pub use crate::PhysicalSortExpr;
40
41pub use binary::{binary, similar_to, BinaryExpr};
42pub use case::{case, CaseExpr};
43pub use cast::{cast, CastExpr};
44pub use column::{col, with_new_schema, Column};
45pub use datafusion_expr::utils::format_state_name;
46pub use dynamic_filters::DynamicFilterPhysicalExpr;
47pub use in_list::{in_list, InListExpr};
48pub use is_not_null::{is_not_null, IsNotNullExpr};
49pub use is_null::{is_null, IsNullExpr};
50pub use like::{like, LikeExpr};
51pub use literal::{lit, Literal};
52pub use negative::{negative, NegativeExpr};
53pub use no_op::NoOp;
54pub use not::{not, NotExpr};
55pub use try_cast::{try_cast, TryCastExpr};
56pub use unknown_column::UnKnownColumn;