Modifier and Type | Method and Description |
---|---|
Condition |
LanguageBridgeFactory.translate(Criteria criteria) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Evaluator.evaluate(Criteria criteria) |
boolean |
Evaluator.evaluate(Criteria criteria,
List<?> tuple) |
Boolean |
Evaluator.evaluateTVL(Criteria criteria,
List<?> tuple) |
Modifier and Type | Method and Description |
---|---|
static Criteria |
RowBasedSecurityHelper.getRowBasedFilters(QueryMetadataInterface metadata,
GroupSymbol group,
CommandContext cc,
boolean constraintsOnly) |
Modifier and Type | Method and Description |
---|---|
static PlanNode |
RelationalPlanner.createSelectNode(Criteria crit,
boolean isHaving) |
Modifier and Type | Field and Description |
---|---|
List<Criteria> |
RulePlanSubqueries.PlannedResult.nonEquiJoinCriteria |
Modifier and Type | Method and Description |
---|---|
RulePlanSubqueries.PlannedResult |
RulePlanSubqueries.findSubquery(Criteria crit,
boolean unnest) |
static boolean |
JoinUtil.isNullDependent(QueryMetadataInterface metadata,
Collection<GroupSymbol> innerGroups,
Criteria crit)
Returns true if the given criteria can be anything other than false (or unknown)
given all null values for elements in the inner groups
|
static boolean |
NewCalculateCostUtil.usesKey(Criteria crit,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
static void |
RuleChooseJoinStrategy.separateCriteria(Collection<GroupSymbol> leftGroups,
Collection<GroupSymbol> rightGroups,
List<Expression> leftExpressions,
List<Expression> rightExpressions,
List<Criteria> crits,
Collection<Criteria> nonEquiJoinCriteria) |
static void |
RuleChooseJoinStrategy.separateCriteria(Collection<GroupSymbol> leftGroups,
Collection<GroupSymbol> rightGroups,
List<Expression> leftExpressions,
List<Expression> rightExpressions,
List<Criteria> crits,
Collection<Criteria> nonEquiJoinCriteria) |
Modifier and Type | Method and Description |
---|---|
Criteria |
SQLParser.compoundCritAnd(ParseInfo info) |
Criteria |
SQLParser.compoundCritOr(ParseInfo info) |
Criteria |
SQLParser.criteria(ParseInfo info) |
Criteria |
SQLParser.having(ParseInfo info) |
Criteria |
SQLParser.notCrit(ParseInfo info) |
Criteria |
QueryParser.parseCriteria(String sql)
Takes a SQL string representing an SQL criteria (i.e.
|
Criteria |
SQLParser.where(ParseInfo info) |
Constructor and Description |
---|
IfInstruction(Criteria condition,
Program ifProgram)
Constructor for IfInstruction.
|
IfInstruction(Criteria condition,
Program ifProgram,
Program elseProgram)
Constructor for IfInstruction.
|
WhileInstruction(Program program,
Criteria condition,
String label) |
Modifier and Type | Method and Description |
---|---|
Criteria |
SelectNode.getCriteria() |
Criteria |
DependentProcedureExecutionNode.getInputCriteria() |
Criteria |
DependentProcedureAccessNode.getInputCriteria() |
Criteria |
JoinNode.getJoinCriteria() |
Criteria |
DependentCriteriaProcessor.prepareCriteria() |
Criteria |
DependentCriteriaProcessor.replaceDependentCriteria(AbstractSetCriteria crit,
DependentCriteriaProcessor.SetState state) |
Modifier and Type | Method and Description |
---|---|
void |
ProjectIntoNode.setConstraint(Criteria constraint) |
void |
SelectNode.setCriteria(Criteria criteria) |
void |
JoinNode.setJoinCriteria(Criteria joinCriteria) |
Constructor and Description |
---|
DependentCriteriaProcessor(int maxSetSize,
int maxPredicates,
RelationalNode dependentNode,
Criteria dependentCriteria) |
DependentProcedureAccessNode(int nodeID,
Criteria crit,
List references,
List defaults) |
DependentProcedureCriteriaProcessor(RelationalNode dependentNode,
Criteria dependentCriteria,
List references,
List defaults) |
DependentProcedureExecutionNode(int nodeID,
Criteria crit,
List references,
List defaults) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryResolver.resolveCriteria(Criteria criteria,
QueryMetadataInterface metadata)
Resolve just a criteria.
|
Modifier and Type | Method and Description |
---|---|
static Criteria |
QueryRewriter.evaluateAndRewrite(Criteria criteria,
Evaluator eval,
CommandContext context,
QueryMetadataInterface metadata) |
static Criteria |
QueryRewriter.optimizeCriteria(CompoundCriteria criteria,
QueryMetadataInterface metadata)
Performs simple expression flattening
|
static Criteria |
QueryRewriter.rewriteCriteria(Criteria criteria,
CommandContext context,
QueryMetadataInterface metadata)
Rewrite the criteria by evaluating some trivial cases.
|
Modifier and Type | Method and Description |
---|---|
static Criteria |
QueryRewriter.evaluateAndRewrite(Criteria criteria,
Evaluator eval,
CommandContext context,
QueryMetadataInterface metadata) |
static Criteria |
QueryRewriter.rewriteCriteria(Criteria criteria,
CommandContext context,
QueryMetadataInterface metadata)
Rewrite the criteria by evaluating some trivial cases.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompareCriteria
The common functionality of a
CompareCriteria and a
SubqueryCompareCriteria . |
class |
AbstractSetCriteria
This is an abstract class to define some common functionality in the two varieties of
IN criteria:
SetCriteria (where values are specified) and SubquerySetCriteria
(where a subquery is defined and will supply the values for the IN set). |
class |
AtomicCriteria
This abstract class represents an atomic logical criteria.
|
class |
BetweenCriteria
Represents criteria such as: "<expression> [NOT] BETWEEN <lowerExpression> AND <upperExpression>".
|
class |
CompareCriteria
A criteria which represents a simple operator relationship between two expressions.
|
class |
CompoundCriteria
This class represents a compound criteria for logical expressions.
|
class |
DependentSetCriteria
The DependentSetCriteria is missing the value set until it is filled during
processing.
|
class |
ExistsCriteria
This predicate criteria implements the "exists" predicate, which has
a subquery in it.
|
class |
ExpressionCriteria |
class |
ImmutableCompareCriteria |
class |
IsDistinctCriteria
Represents criteria such as: "<expression> IS DISTINCT FROM <expression>".
|
class |
IsNullCriteria
Represents criteria such as: "<expression> IS NULL".
|
class |
LogicalCriteria
This class represents a criteria that works by logically combining other
criteria.
|
class |
MatchCriteria
This class represents a criteria involving a string expression to be matched
against a string expression match value.
|
class |
NotCriteria
A logical criteria that takes the logical NOT of the contained criteria.
|
class |
PredicateCriteria
This abstract class represents a predicate criteria, which involves some
statement involving expressions and can be evaluated in the context of
a single row of data to be either true or false.
|
class |
SetCriteria
A criteria which is true is the expression's value is a member in a list
of values.
|
class |
SubqueryCompareCriteria
This class implements a quantified comparison predicate.
|
class |
SubquerySetCriteria
A criteria which is true is the expression's value is a member in a list
of values returned from a subquery.
|
Modifier and Type | Method and Description |
---|---|
static Criteria |
Criteria.applyDemorgan(Criteria input) |
static Criteria |
Criteria.combineCriteria(Criteria primaryCrit,
Criteria additionalCrit)
This utility method can be used to combine two criteria using an AND.
|
static Criteria |
Criteria.combineCriteria(Criteria primaryCrit,
Criteria additionalCrit,
boolean disjunctively) |
static Criteria |
Criteria.combineCriteria(List<Criteria> parts) |
Criteria |
Update.getConstraint() |
Criteria |
Insert.getConstraint() |
Criteria |
FilteredCommand.getCriteria() |
Criteria |
Delete.getCriteria()
Returns the criteria object for this command.
|
Criteria |
AtomicCriteria.getCriteria()
Get sub criteria
|
Criteria |
Update.getCriteria()
Returns the criteria object for this command, may be null
|
Criteria |
Query.getCriteria()
Get the criteria clause for the query.
|
Criteria |
CompoundCriteria.getCriteria(int index)
Returns the criteria at the specified index.
|
Criteria |
Query.getHaving()
Get the having clause for the query.
|
Modifier and Type | Method and Description |
---|---|
List<Criteria> |
CompoundCriteria.getCriteria()
Returns the list of criteria.
|
static List<Criteria> |
Criteria.separateCriteriaByAnd(Criteria crit)
This utility method will pull apart a tree of criteria by breaking all
compound AND criteria apart.
|
Modifier and Type | Method and Description |
---|---|
void |
CompoundCriteria.addCriteria(Criteria criteria)
Add another criteria to the clause.
|
static Criteria |
Criteria.applyDemorgan(Criteria input) |
static Criteria |
Criteria.combineCriteria(Criteria primaryCrit,
Criteria additionalCrit)
This utility method can be used to combine two criteria using an AND.
|
static Criteria |
Criteria.combineCriteria(Criteria primaryCrit,
Criteria additionalCrit,
boolean disjunctively) |
static List<Criteria> |
Criteria.separateCriteriaByAnd(Criteria crit)
This utility method will pull apart a tree of criteria by breaking all
compound AND criteria apart.
|
void |
CompoundCriteria.set(int operator,
Criteria criteria)
Sets a "standard" unary criteria.
|
void |
CompoundCriteria.set(int operator,
Criteria left,
Criteria right)
Sets a "standard" operand-operator-operand criteria.
|
void |
Update.setConstraint(Criteria constraint) |
void |
Insert.setConstraint(Criteria constraint) |
void |
FilteredCommand.setCriteria(Criteria criteria) |
void |
Delete.setCriteria(Criteria criteria)
Set the criteria for this Delete command
|
void |
AtomicCriteria.setCriteria(Criteria criteria)
Set sub criteria
|
void |
Update.setCriteria(Criteria criteria)
Set the criteria for this Update command
|
void |
Query.setCriteria(Criteria criteria)
Set the criteria clause for the query.
|
void |
Query.setHaving(Criteria having)
Set the criteria clause for the query.
|
Modifier and Type | Method and Description |
---|---|
static Criteria |
Criteria.combineCriteria(List<Criteria> parts) |
void |
CompoundCriteria.setCriteria(List<Criteria> criteria)
Sets the criteria.
|
Constructor and Description |
---|
AtomicCriteria(Criteria crit)
Constructs an instance of this class with a single sub-criteria.
|
CompoundCriteria(int operator,
Criteria left,
Criteria right)
Constructs an instance of this class given a binary logical expression.
|
Delete(GroupSymbol group,
Criteria criteria)
Constructs an instance of this class given the group and criteria.
|
JoinPredicate(FromClause leftClause,
FromClause rightClause,
JoinType type,
Criteria criteria)
Construct a JoinPredicate between two clauses of the specified type.
|
NotCriteria(Criteria crit)
Constructs an instance of this class with sub-criteria.
|
Query(Select select,
From from,
Criteria criteria,
GroupBy groupBy,
Criteria having,
OrderBy orderBy,
Option option)
Constructs an instance of this class given all the clauses
|
Query(Select select,
From from,
Criteria criteria,
OrderBy orderBy,
Option option)
Constructs an instance of this class given the specified clauses
|
Update(GroupSymbol group,
SetClauseList changeList,
Criteria criteria)
Construct with group, change list, and criteria
|
Constructor and Description |
---|
CompoundCriteria(List<? extends Criteria> criteria)
Constructs an instance of this class given the criteria.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
WhileStatement.getCondition()
Get the condition that determines which block needs to be executed.
|
Criteria |
IfStatement.getCondition()
Get the condition that determines which block needs to be executed.
|
Modifier and Type | Method and Description |
---|---|
void |
WhileStatement.setCondition(Criteria criteria)
Set the condition that determines which block needs to be executed.
|
void |
IfStatement.setCondition(Criteria criteria)
Set the condition that determines which block needs to be executed.
|
Constructor and Description |
---|
IfStatement(Criteria criteria,
Block ifBlock)
Constructor for IfStatement.
|
IfStatement(Criteria criteria,
Block ifBlock,
Block elseBlock)
Constructor for IfStatement.
|
WhileStatement(Criteria criteria,
Block block)
Constructor for IfStatement.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLExists |
Modifier and Type | Method and Description |
---|---|
Criteria |
SearchedCaseExpression.getWhenCriteria(int index)
Gets the WHEN criteria at the given 0-based index.
|
Modifier and Type | Method and Description |
---|---|
Collection<Criteria> |
PredicateCollectorVisitor.getPredicates()
Get a collection of predicates discovered while visiting.
|
static Collection<Criteria> |
PredicateCollectorVisitor.getPredicates(LanguageObject obj)
Helper to quickly get the predicates from obj
|
Modifier and Type | Method and Description |
---|---|
protected void |
SQLStringVisitor.visitCriteria(String keyWord,
Criteria crit) |
Modifier and Type | Method and Description |
---|---|
Criteria |
BaseIndexInfo.getCoveredCriteria() |
Criteria |
BaseIndexInfo.getNonCoveredCriteria() |
Modifier and Type | Method and Description |
---|---|
TupleSource |
TempTable.createTupleSource(List<? extends Expression> projectedCols,
Criteria condition,
OrderBy orderBy) |
TupleSource |
TempTable.delete(Criteria crit) |
TupleSource |
TempTable.update(Criteria crit,
SetClauseList update) |
Constructor and Description |
---|
BaseIndexInfo(T table,
List<? extends Expression> projectedCols,
Criteria condition,
OrderBy orderBy,
boolean primary) |
Copyright © 2019. All rights reserved.