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.interpret com.mckoi.database.sql These classes parse SQL statements in Mckoi. -
-
Uses of Operator in com.mckoi.database
Subclasses of Operator in com.mckoi.database Modifier and Type Class Description (package private) static class
Operator.AddOperator
(package private) static class
Operator.AllOperator
(package private) static class
Operator.AndOperator
(package private) static class
Operator.AnyOperator
(package private) static class
Operator.ConcatOperator
(package private) static class
Operator.DivideOperator
(package private) static class
Operator.EqualOperator
(package private) static class
Operator.GreaterEqualOperator
(package private) static class
Operator.GreaterOperator
(package private) static class
Operator.IsNotOperator
(package private) static class
Operator.IsOperator
(package private) static class
Operator.LesserEqualOperator
(package private) static class
Operator.LesserOperator
(package private) static class
Operator.MultiplyOperator
(package private) static class
Operator.NotEqualOperator
(package private) static class
Operator.OrOperator
(package private) static class
Operator.ParenOperator
(package private) static class
Operator.PatternMatchFalseOperator
(package private) static class
Operator.PatternMatchTrueOperator
(package private) static class
Operator.RegexOperator
(package private) static class
Operator.SimpleOperator
(package private) static class
Operator.SubtractOperator
Fields in com.mckoi.database declared as Operator Modifier and Type Field Description private static Operator
Operator. in_op
private Operator
QueryPlan.JoinNode. join_op
The operator to join under (=, <>, >, <, >=, <=).private static Operator
Operator. nin_op
private static Operator
Operator. not_op
private Operator
QueryPlan.SimpleSelectNode. op
The operator to select under (=, <>, >, <, >=, <=).private Operator
QueryPlan.NonCorrelatedAnyAllNode. sub_query_operator
The SubQuery operator, eg.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.(package private) static Table
TableFunctions. anyAllNonCorrelated(Table left_table, Variable[] left_vars, Operator op, Table right_table)
The function for a non-correlated ANY or ALL sub-query operation between a left and right branch.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.private static SelectableRange
SelectableRangeSet. intersectRange(SelectableRange range, Operator op, TObject val, boolean null_check)
Intersects the given SelectableRange object with the given Operator and value constraint.(package private) IntegerVector
Table. selectFromPattern(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the given pattern.(package private) IntegerVector
Table. selectFromRegex(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the regular expression.(package private) IntegerVector
Table. selectRows(int[] cols, Operator op, TObject[] cells)
Returns a set that respresents the list of multi-column row numbers selected from the table given the condition.(package private) IntegerVector
Table. selectRows(int column, Operator op, TObject cell)
Returns a set that represents the list of row numbers selected from the table given the condition.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.interpret
Fields in com.mckoi.database.interpret declared as Operator Modifier and Type Field Description private Operator
Planner.QueryTableSetPlanner.SimpleSelectExpressionPlan. op
Methods in com.mckoi.database.interpret with parameters of type Operator Modifier and Type Method Description private void
Planner.QueryTableSetPlanner. addSingleVarPlanTo(java.util.ArrayList list, Planner.PlanTableSource table, Variable variable, Variable single_var, Expression[] exp_parts, Operator op)
Adds a single var plan to the given list.Constructors in com.mckoi.database.interpret with parameters of type Operator Constructor Description SimpleSelectExpressionPlan(Variable v, Operator op, Expression e)
-
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.
-