File tree Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -24,20 +24,20 @@ pub enum LogicalOperator<Link> {
24
24
25
25
/// TODO Add docs.
26
26
pub struct LogicalScanOperator < Link > {
27
- table_name : String ,
28
- predicate : Link ,
27
+ pub table_name : String ,
28
+ pub predicate : Link ,
29
29
}
30
30
31
31
/// TODO Add docs.
32
32
pub struct LogicalFilterOperator < Link > {
33
- child : Link ,
34
- predicate : Link ,
33
+ pub child : Link ,
34
+ pub predicate : Link ,
35
35
}
36
36
37
37
/// TODO Add docs.
38
38
pub struct LogicalJoinOperator < Link > {
39
- join_type : ( ) ,
40
- left : Link ,
41
- right : Link ,
42
- condition : Link ,
39
+ pub join_type : ( ) ,
40
+ pub left : Link ,
41
+ pub right : Link ,
42
+ pub condition : Link ,
43
43
}
Original file line number Diff line number Diff line change 18
18
/// [`PartialLogicalPlan`]: crate::plan::partial_logical_plan::PartialLogicalPlan
19
19
/// [`PartialPhysicalPlan`]: crate::plan::partial_physical_plan::PartialPhysicalPlan
20
20
pub enum PhysicalOperator < Link > {
21
- Scan ( TableScanOperator < Link > ) ,
21
+ TableScan ( TableScanOperator < Link > ) ,
22
22
Filter ( PhysicalFilterOperator < Link > ) ,
23
- Join ( HashJoinOperator < Link > ) ,
23
+ HashJoin ( HashJoinOperator < Link > ) ,
24
24
}
25
25
26
26
/// TODO Add docs.
27
27
pub struct TableScanOperator < Link > {
28
- table_name : String ,
29
- predicate : Link ,
28
+ pub table_name : String ,
29
+ pub predicate : Link ,
30
30
}
31
31
32
32
/// TODO Add docs.
33
33
pub struct PhysicalFilterOperator < Link > {
34
- child : Link ,
35
- predicate : Link ,
34
+ pub child : Link ,
35
+ pub predicate : Link ,
36
36
}
37
37
38
38
/// TODO Add docs.
39
39
pub struct HashJoinOperator < Link > {
40
- join_type : ( ) ,
41
- left : Link ,
42
- right : Link ,
43
- condition : Link ,
40
+ pub join_type : ( ) ,
41
+ pub left : Link ,
42
+ pub right : Link ,
43
+ pub condition : Link ,
44
44
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use std::sync::Arc;
13
13
/// operator).
14
14
#[ derive( Clone ) ]
15
15
pub struct LogicalPlan {
16
- root : Arc < LogicalOperator < LogicalLink > > ,
16
+ pub root : Arc < LogicalOperator < LogicalLink > > ,
17
17
}
18
18
19
19
/// A link in a [`LogicalPlan`] to a node.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::sync::Arc;
4
4
/// TODO Add docs.
5
5
#[ derive( Clone ) ]
6
6
pub struct PhysicalPlan {
7
- root : Arc < PhysicalOperator < PhysicalLink > > ,
7
+ pub root : Arc < PhysicalOperator < PhysicalLink > > ,
8
8
}
9
9
10
10
/// TODO Add docs.
You can’t perform that action at this time.
0 commit comments