Uses of Interface
com.mckoi.database.QueryContext
Packages that use QueryContext
-
Uses of QueryContext in com.mckoi.database
Classes in com.mckoi.database that implement QueryContextModifier and TypeClassDescriptionclassAn abstract implementation of QueryContextclassAn implementation of a QueryContext based on a DatabaseConnection object.Methods in com.mckoi.database with parameters of type QueryContextModifier and TypeMethodDescriptionTable.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.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 RowDataDataTable.createRowDataObject(QueryContext context) Generates an empty RowData object for 'addRow'ing into the Table.QueryPlan.FetchViewNode.createViewChildNode(QueryContext context) Returns the QueryPlanNode that resolves to the view.abstract TObjectOperator.eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context) abstract TObjectAbstractAggregateFunction.evalAggregate(GroupResolver group, QueryContext context, TObject val1, TObject val2) Evaluates the aggregate function for the given values and returns the result.final TObjectAbstractAggregateFunction.evaluate(GroupResolver group, VariableResolver resolver, QueryContext context) Expression.evaluate(GroupResolver group, VariableResolver resolver, QueryContext context) Evaluates this expression and returns an Object that represents the result of the evaluation.Expression.evaluate(VariableResolver resolver, QueryContext context) Evaluation without a grouping table.Function.evaluate(GroupResolver group, VariableResolver resolver, QueryContext context) Evaluates the function and returns a TObject that represents the result of the function.QueryPlan.CachePointNode.evaluate(QueryContext context) QueryPlan.CompositeNode.evaluate(QueryContext context) QueryPlan.ConstantSelectNode.evaluate(QueryContext context) QueryPlan.CreateFunctionsNode.evaluate(QueryContext context) QueryPlan.DistinctNode.evaluate(QueryContext context) QueryPlan.EquiJoinNode.evaluate(QueryContext context) QueryPlan.ExhaustiveSelectNode.evaluate(QueryContext context) QueryPlan.FetchTableNode.evaluate(QueryContext context) QueryPlan.FetchViewNode.evaluate(QueryContext context) QueryPlan.FunctionalSelectNode.evaluate(QueryContext context) QueryPlan.GroupNode.evaluate(QueryContext context) QueryPlan.JoinNode.evaluate(QueryContext context) QueryPlan.LeftOuterJoinNode.evaluate(QueryContext context) QueryPlan.LogicalUnionNode.evaluate(QueryContext context) QueryPlan.MarkerNode.evaluate(QueryContext context) QueryPlan.MultiColumnEquiSelectNode.evaluate(QueryContext context) QueryPlan.NaturalJoinNode.evaluate(QueryContext context) QueryPlan.NonCorrelatedAnyAllNode.evaluate(QueryContext context) QueryPlan.RangeSelectNode.evaluate(QueryContext context) QueryPlan.SimplePatternSelectNode.evaluate(QueryContext context) QueryPlan.SimpleSelectNode.evaluate(QueryContext context) QueryPlan.SingleRowTableNode.evaluate(QueryContext context) QueryPlan.SortNode.evaluate(QueryContext context) QueryPlan.SubsetNode.evaluate(QueryContext context) QueryPlanNode.evaluate(QueryContext context) Evaluates the node and returns the result as a Table.final TableTable.exhaustiveSelect(QueryContext context, Expression exp) Exhaustively searches through this table for rows that match the expression given.FunctionDef.getFunction(QueryContext context) Returns a Function object from this FunctionDef.booleanExpression.hasAggregateFunction(QueryContext context) Cascades through the expression and if any aggregate functions are found returns true, otherwise returns false.final booleanAbstractFunction.isAggregate(QueryContext context) Returns whether the function is an aggregate function or not.booleanFunction.isAggregate(QueryContext context) Returns true if this function is an aggregate function.booleanFunctionDef.isAggregate(QueryContext context) Returns true if this function is an aggregate, or the parameters are aggregates.AbstractAggregateFunction.postEvalAggregate(GroupResolver group, QueryContext context, TObject result) Called just before the value is returned to the parent.AbstractFunction.returnTType(VariableResolver resolver, QueryContext context) By Default, we assume a function returns a Numeric object.Expression.returnTType(VariableResolver resolver, QueryContext context) Determines the type of object this expression evaluates to.Function.returnTType(VariableResolver resolver, QueryContext context) The type of object this function returns.voidRowData.setColumnToDefault(int column, QueryContext context) Sets the given column number to the default value for this column.voidRowData.setDefaultForRest(QueryContext context) Any columns in the row of data that haven't been set yet (they will be 'null') will be set to the default value during this method.voidRowData.setupEntire(int[] col_indices, Expression[] exps, QueryContext context) Sets up an entire row given the array of Expressions and a list of indices to the columns to set.voidRowData.setupEntire(int[] col_indices, List insert_elements, QueryContext context) Sets up an entire row given the list of insert elements and a list of indices to the columns to set.voidRowData.setupEntire(Assignment[] assignments, QueryContext context) Sets up an entire row given the array of assignments.final TableTable.simpleJoin(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs) A simple join operation.final TableTable.simpleSelect(QueryContext context, Variable lhs_var, Operator op, Expression rhs) A simple select on this table.final intDataTable.update(QueryContext context, Table table, Assignment[] assign_list, int limit) Updates the table by applying the assignment operations over each row that is found in the input 'table' set.