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 Operator
Operator. get(java.lang.String op)
Returns an Operator with the given string.Operator
Operator. getSubQueryForm(int type)
Returns the ANY or ALL form of this operator.Operator
Operator. getSubQueryForm(java.lang.String type_str)
Same as above only it handles the type as a string.Operator
Operator. inverse()
Returns the inverse operator of this operator.Operator
Operator. 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 void
Expression. addOperator(Operator op)
Adds a new operator into the expression.Table
Table. 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.boolean
Table. 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.Table
Table. 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.boolean
Table. 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 boolean
Table. compareCells(TObject ob1, TObject ob2, Operator op)
Compares cell1 with cell2 and if the given operator evalutes to true then returns true, otherwise false.void
SelectableRangeSet. intersect(Operator op, TObject val)
Intersects this range with the given Operator and value constraint.static Expression
Expression. simple(java.lang.Object ob1, Operator op, java.lang.Object ob2)
Generates a simple expression from two objects and an operator.Table
Table. simpleJoin(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs)
A simple join operation.Table
Table. simpleSelect(QueryContext context, Variable lhs_var, Operator op, Expression rhs)
A simple select on this table.void
SelectableRangeSet. 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 void
SQL. addOperatorToExpression(Expression exp, Operator op)
Helper for expression parsing.void
SQL. expOperator(Expression exp, java.util.Stack stack, Operator op)
Helper for expression parsing.
-