Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmyMiao87 committed May 12, 2022
1 parent 6feafc7 commit 356bf51
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Equal to expression: a = b
* Equal to expression: a = b.
*/
public class EqualTo<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Greater than expression: a > b
* Greater than expression: a > b.
*/
public class GreaterThan<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Greater than and equal expression: a >= b
* Greater than and equal expression: a >= b.
*/
public class GreaterThanEqual<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Less than expression: a < b
* Less than expression: a < b.
*/
public class LessThan<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Less than and equal expression: a <= b
* Less than and equal expression: a <= b.
*/
public class LessThanEqual<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.concurrent.atomic.AtomicLong;

/**
* The util of named expression
* The util of named expression.
*/
public class NamedExpressionUtil {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Not expression: not a
* Not expression: not a.
*/
public class Not<CHILD_TYPE extends Expression> extends Expression<Not<CHILD_TYPE>>
implements UnaryExpression<Not<CHILD_TYPE>, CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import org.apache.doris.nereids.trees.NodeType;

/**
* Null safe equal expression: a <=> b
* Unlike normal equal to expression, null <=> null is true
* Null safe equal expression: a <=> b.
* Unlike normal equal to expression, null <=> null is true.
*/
public class NullSafeEqual<LEFT_CHILD_TYPE extends Expression, RIGHT_CHILD_TYPE extends Expression>
extends ComparisonPredicate<LEFT_CHILD_TYPE, RIGHT_CHILD_TYPE> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Abstract class for all expression that have one child.
*/
public interface UnaryExpression<EXPR_TYPE extends UnaryExpression<EXPR_TYPE, CHILD_TYPE>, CHILD_TYPE extends Expression>
extends UnaryNode<EXPR_TYPE, CHILD_TYPE> {
public interface UnaryExpression<EXPR_TYPE extends UnaryExpression<EXPR_TYPE, CHILD_TYPE>,
CHILD_TYPE extends Expression> extends UnaryNode<EXPR_TYPE, CHILD_TYPE> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@


/**
* Comparison Predicate unit test
* Comparison Predicate unit test.
*/
public class ComparisonPredicateTest {

Expand Down

0 comments on commit 356bf51

Please sign in to comment.