Package ru.curs.celesta.score
Class Relop
- java.lang.Object
-
- ru.curs.celesta.score.Expr
-
- ru.curs.celesta.score.LogicValuedExpr
-
- ru.curs.celesta.score.Relop
-
public final class Relop extends LogicValuedExpr
Relation (>=, <=, <>, =, <, >).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExprVisitor visitor)
List<Expr>
getAllOperands()
Expr
getLeft()
Returns the left part.int
getRelop()
Returns the relation.Expr
getRight()
Returns the right part.-
Methods inherited from class ru.curs.celesta.score.LogicValuedExpr
getMeta
-
Methods inherited from class ru.curs.celesta.score.Expr
getCSQL, getSQL, resolveFieldRefs
-
-
-
-
Field Detail
-
GT
public static final int GT
>.- See Also:
- Constant Field Values
-
LS
public static final int LS
<.- See Also:
- Constant Field Values
-
GTEQ
public static final int GTEQ
>=.- See Also:
- Constant Field Values
-
LSEQ
public static final int LSEQ
<=.- See Also:
- Constant Field Values
-
NTEQ
public static final int NTEQ
<>.- See Also:
- Constant Field Values
-
EQ
public static final int EQ
=.- See Also:
- Constant Field Values
-
LIKE
public static final int LIKE
LIKE.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLeft
public Expr getLeft()
Returns the left part.- Returns:
-
getRight
public Expr getRight()
Returns the right part.- Returns:
-
getRelop
public int getRelop()
Returns the relation.- Returns:
-
getAllOperands
public List<Expr> getAllOperands()
- Specified by:
getAllOperands
in classLogicValuedExpr
-
accept
public void accept(ExprVisitor visitor) throws ParseException
- Throws:
ParseException
-
-