Uses of Class
com.mckoi.database.Operator
Packages that use Operator
Package
Description
The core database classes for Mckoi.
These classes parse SQL statements in Mckoi.
-
Uses of Operator in com.mckoi.database
Methods in com.mckoi.database that return OperatorModifier and TypeMethodDescriptionstatic Operator
Returns an Operator with the given string.Operator.getSubQueryForm
(int type) Returns the ANY or ALL form of this operator.Operator.getSubQueryForm
(String type_str) Same as above only it handles the type as a string.Operator.inverse()
Returns the inverse operator of this operator.Operator.reverse()
Returns an Operator that is the reverse of this Operator.Methods in com.mckoi.database with parameters of type OperatorModifier and TypeMethodDescriptionvoid
Expression.addOperator
(Operator op) Adds a new operator into the expression.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.final 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.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.final 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
Intersects this range with the given Operator and value constraint.static Expression
Generates a simple expression from two objects and an operator.final Table
Table.simpleJoin
(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs) A simple join operation.final Table
Table.simpleSelect
(QueryContext context, Variable lhs_var, Operator op, Expression rhs) A simple select on this table.void
Unions this range with the given Operator and value constraint.Constructors in com.mckoi.database with parameters of type OperatorModifierConstructorDescriptionExpression
(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 OperatorModifier and TypeMethodDescriptionvoid
SQL.addOperatorToExpression
(Expression exp, Operator op) Helper for expression parsing.void
SQL.expOperator
(Expression exp, Stack stack, Operator op) Helper for expression parsing.