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 classOperator.AddOperator(package private) static classOperator.AllOperator(package private) static classOperator.AndOperator(package private) static classOperator.AnyOperator(package private) static classOperator.ConcatOperator(package private) static classOperator.DivideOperator(package private) static classOperator.EqualOperator(package private) static classOperator.GreaterEqualOperator(package private) static classOperator.GreaterOperator(package private) static classOperator.IsNotOperator(package private) static classOperator.IsOperator(package private) static classOperator.LesserEqualOperator(package private) static classOperator.LesserOperator(package private) static classOperator.MultiplyOperator(package private) static classOperator.NotEqualOperator(package private) static classOperator.OrOperator(package private) static classOperator.ParenOperator(package private) static classOperator.PatternMatchFalseOperator(package private) static classOperator.PatternMatchTrueOperator(package private) static classOperator.RegexOperator(package private) static classOperator.SimpleOperator(package private) static classOperator.SubtractOperatorFields in com.mckoi.database declared as Operator Modifier and Type Field Description private static OperatorOperator. in_opprivate OperatorQueryPlan.JoinNode. join_opThe operator to join under (=, <>, >, <, >=, <=).private static OperatorOperator. nin_opprivate static OperatorOperator. not_opprivate OperatorQueryPlan.SimpleSelectNode. opThe operator to select under (=, <>, >, <, >=, <=).private OperatorQueryPlan.NonCorrelatedAnyAllNode. sub_query_operatorThe SubQuery operator, eg.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.(package private) static TableTableFunctions. 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.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.private static SelectableRangeSelectableRangeSet. intersectRange(SelectableRange range, Operator op, TObject val, boolean null_check)Intersects the given SelectableRange object with the given Operator and value constraint.(package private) IntegerVectorTable. selectFromPattern(int column, Operator op, TObject ob)Selects all the rows where the given column matches the given pattern.(package private) IntegerVectorTable. selectFromRegex(int column, Operator op, TObject ob)Selects all the rows where the given column matches the regular expression.(package private) IntegerVectorTable. 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) IntegerVectorTable. 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 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.interpret
Fields in com.mckoi.database.interpret declared as Operator Modifier and Type Field Description private OperatorPlanner.QueryTableSetPlanner.SimpleSelectExpressionPlan. opMethods in com.mckoi.database.interpret with parameters of type Operator Modifier and Type Method Description private voidPlanner.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 voidSQL. addOperatorToExpression(Expression exp, Operator op)Helper for expression parsing.voidSQL. expOperator(Expression exp, java.util.Stack stack, Operator op)Helper for expression parsing.
-