Uses of Class
com.mckoi.database.Operator
-
Packages that use Operator Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.sql These classes parse SQL statements in Mckoi. -
-
Uses of Operator in com.mckoi.database
Methods in com.mckoi.database that return Operator Modifier and Type Method Description static OperatorOperator. get(java.lang.String op)Returns an Operator with the given string.OperatorOperator. getSubQueryForm(int type)Returns the ANY or ALL form of this operator.OperatorOperator. getSubQueryForm(java.lang.String type_str)Same as above only it handles the type as a string.OperatorOperator. inverse()Returns the inverse operator of this operator.OperatorOperator. reverse()Returns an Operator that is the reverse of this Operator.Methods in com.mckoi.database with parameters of type Operator Modifier and Type Method Description voidExpression. addOperator(Operator op)Adds a new operator into the expression.TableTable. all(QueryContext context, Expression lhs, Operator op, Table table)Evaluates a non-correlated ALL type operator given the LHS expression, the RHS subquery and the ALL operator to use.booleanTable. allColumnMatchesValue(int column, Operator op, TObject ob)Returns true if the given column contains all values that the given operator returns true for with the given value.TableTable. any(QueryContext context, Expression lhs, Operator op, Table right_table)Evaluates a non-correlated ANY type operator given the LHS expression, the RHS subquery and the ANY operator to use.booleanTable. columnMatchesValue(int column, Operator op, TObject ob)Returns true if the given column contains a value that the given operator returns true for with the given value.static booleanTable. compareCells(TObject ob1, TObject ob2, Operator op)Compares cell1 with cell2 and if the given operator evalutes to true then returns true, otherwise false.voidSelectableRangeSet. intersect(Operator op, TObject val)Intersects this range with the given Operator and value constraint.static ExpressionExpression. simple(java.lang.Object ob1, Operator op, java.lang.Object ob2)Generates a simple expression from two objects and an operator.TableTable. simpleJoin(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs)A simple join operation.TableTable. simpleSelect(QueryContext context, Variable lhs_var, Operator op, Expression rhs)A simple select on this table.voidSelectableRangeSet. union(Operator op, TObject val)Unions this range with the given Operator and value constraint.Constructors in com.mckoi.database with parameters of type Operator Constructor Description Expression(Expression exp1, Operator op, Expression exp2)Constructs a new Expression from the concatination of expression1 and expression2 and the operator for them.JoinNode(QueryPlanNode left, QueryPlanNode right, Variable left_var, Operator join_op, Expression right_expression)NonCorrelatedAnyAllNode(QueryPlanNode left, QueryPlanNode right, Variable[] left_vars, Operator subquery_op)SimpleSelectNode(QueryPlanNode child, Variable left_var, Operator op, Expression right_expression) -
Uses of Operator in com.mckoi.database.sql
Methods in com.mckoi.database.sql with parameters of type Operator Modifier and Type Method Description voidSQL. addOperatorToExpression(Expression exp, Operator op)Helper for expression parsing.voidSQL. expOperator(Expression exp, java.util.Stack stack, Operator op)Helper for expression parsing.
-