File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
core/src/main/java/cn/edu/tsinghua/iginx/engine/shared/operator/type Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -30,24 +30,22 @@ public enum OperatorType {
3030 ShowTimeSeries (20 ),
3131 Migration ,
3232
33- //isNeedBroadcasting[30,39]
34- Delete (30 ),
35- Insert ,
36-
37- // BinaryOperator[40,49]
38- Join (40 ),
33+ // BinaryOperator[30,39]
34+ Join (30 ),
35+ Union ,
3936 InnerJoin ,
4037 OuterJoin ,
4138 CrossJoin ,
4239
4340
44- // isUnaryOperator >= 50
45- Binary (50 ),
41+ // isUnaryOperator >= 40
42+ Binary (40 ),
4643 Unary ,
44+ Delete ,
45+ Insert ,
4746 Multiple ,
4847 Project ,
4948 Select ,
50- Union ,
5149 Sort ,
5250 Limit ,
5351 Downsample ,
@@ -80,11 +78,11 @@ private static class OperatorTypeCounter
8078 }
8179
8280 public static boolean isBinaryOperator (OperatorType op ) {
83- return 40 < op .value && op .value < 49 ;
81+ return op .value >= 30 && op .value <= 39 ;
8482 }
8583
8684 public static boolean isUnaryOperator (OperatorType op ) {
87- return op .value >= 50 ;
85+ return op .value >= 40 ;
8886 }
8987
9088 public static boolean isMultipleOperator (OperatorType op ) {
You can’t perform that action at this time.
0 commit comments