MCPcopy Create free account
hub / github.com/apache/datafusion / Operator

Enum Operator

datafusion/expr-common/src/operator.rs:22–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20/// Operators applied to expressions
21#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Hash)]
22pub enum Operator {
23 /// Expressions are equal
24 Eq,
25 /// Expressions are not equal
26 NotEq,
27 /// Left side is smaller than right side
28 Lt,
29 /// Left side is smaller or equal to right side
30 LtEq,
31 /// Left side is greater than right side
32 Gt,
33 /// Left side is greater or equal to right side
34 GtEq,
35 /// Addition
36 Plus,
37 /// Subtraction
38 Minus,
39 /// Multiplication operator, like `*`
40 Multiply,
41 /// Division operator, like `/`
42 Divide,
43 /// Remainder operator, like `%`
44 Modulo,
45 /// Logical AND, like `&&`
46 And,
47 /// Logical OR, like `||`
48 Or,
49 /// `IS DISTINCT FROM` (see [`distinct`])
50 ///
51 /// [`distinct`]: arrow::compute::kernels::cmp::distinct
52 IsDistinctFrom,
53 /// `IS NOT DISTINCT FROM` (see [`not_distinct`])
54 ///
55 /// [`not_distinct`]: arrow::compute::kernels::cmp::not_distinct
56 IsNotDistinctFrom,
57 /// Case sensitive regex match
58 RegexMatch,
59 /// Case insensitive regex match
60 RegexIMatch,
61 /// Case sensitive regex not match
62 RegexNotMatch,
63 /// Case insensitive regex not match
64 RegexNotIMatch,
65 /// Case sensitive pattern match
66 LikeMatch,
67 /// Case insensitive pattern match
68 ILikeMatch,
69 /// Case sensitive pattern not match
70 NotLikeMatch,
71 /// Case insensitive pattern not match
72 NotILikeMatch,
73 /// Bitwise and, like `&`
74 BitwiseAnd,
75 /// Bitwise or, like `|`
76 BitwiseOr,
77 /// Bitwise xor, such as `^` in MySQL or `#` in PostgreSQL
78 BitwiseXor,
79 /// Bitwise right, like `>>`

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…