Uses of Class
org.teiid.query.sql.lang.Criteria
-
-
Uses of Criteria in org.teiid.dqp.internal.datamgr
Methods in org.teiid.dqp.internal.datamgr with parameters of type Criteria Modifier and Type Method Description Condition
LanguageBridgeFactory. translate(Criteria criteria)
-
Uses of Criteria in org.teiid.olingo.service
Methods in org.teiid.olingo.service that return Criteria Modifier and Type Method Description Criteria
DocumentNode. getCriteria()
Methods in org.teiid.olingo.service with parameters of type Criteria Modifier and Type Method Description void
DocumentNode. setCriteria(Criteria criteria)
-
Uses of Criteria in org.teiid.query.eval
Methods in org.teiid.query.eval with parameters of type Criteria Modifier and Type Method Description static boolean
Evaluator. evaluate(Criteria criteria)
boolean
Evaluator. evaluate(Criteria criteria, List<?> tuple)
Boolean
Evaluator. evaluateTVL(Criteria criteria, List<?> tuple)
-
Uses of Criteria in org.teiid.query.optimizer.relational
Methods in org.teiid.query.optimizer.relational that return Criteria Modifier and Type Method Description static Criteria
RowBasedSecurityHelper. getRowBasedFilters(QueryMetadataInterface metadata, GroupSymbol group, CommandContext cc, boolean constraintsOnly, Policy.Operation operation)
Methods in org.teiid.query.optimizer.relational with parameters of type Criteria Modifier and Type Method Description static PlanNode
RelationalPlanner. createSelectNode(Criteria crit, boolean isHaving)
-
Uses of Criteria in org.teiid.query.optimizer.relational.rules
Fields in org.teiid.query.optimizer.relational.rules with type parameters of type Criteria Modifier and Type Field Description List<Criteria>
RulePlanSubqueries.PlannedResult. nonEquiJoinCriteria
Methods in org.teiid.query.optimizer.relational.rules with parameters of type Criteria Modifier and Type Method 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 groupsstatic boolean
NewCalculateCostUtil. usesKey(Criteria crit, QueryMetadataInterface metadata)
-
Uses of Criteria in org.teiid.query.parser
Methods in org.teiid.query.parser that return Criteria Modifier and Type Method 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)
-
Uses of Criteria in org.teiid.query.processor.proc
Constructors in org.teiid.query.processor.proc with parameters of type Criteria Constructor 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)
-
Uses of Criteria in org.teiid.query.processor.relational
Methods in org.teiid.query.processor.relational that return Criteria Modifier and Type Method Description Criteria
SelectNode. getCriteria()
Criteria
DependentProcedureAccessNode. getInputCriteria()
Criteria
DependentProcedureExecutionNode. getInputCriteria()
Criteria
JoinNode. getJoinCriteria()
Criteria
DependentCriteriaProcessor. prepareCriteria()
Criteria
DependentCriteriaProcessor. replaceDependentCriteria(AbstractSetCriteria crit, DependentCriteriaProcessor.SetState state)
Methods in org.teiid.query.processor.relational with parameters of type Criteria Modifier and Type Method Description void
ProjectIntoNode. setConstraint(Criteria constraint)
void
SelectNode. setCriteria(Criteria criteria)
void
JoinNode. setJoinCriteria(Criteria joinCriteria)
Constructors in org.teiid.query.processor.relational with parameters of type Criteria Constructor 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)
-
Uses of Criteria in org.teiid.query.resolver
Methods in org.teiid.query.resolver with parameters of type Criteria Modifier and Type Method Description static void
QueryResolver. resolveCriteria(Criteria criteria, QueryMetadataInterface metadata)
Resolve just a criteria. -
Uses of Criteria in org.teiid.query.rewriter
Methods in org.teiid.query.rewriter that return Criteria Modifier and Type Method Description static Criteria
QueryRewriter. evaluateAndRewrite(Criteria criteria, Evaluator eval, CommandContext context, QueryMetadataInterface metadata)
static Criteria
QueryRewriter. optimizeCriteria(CompoundCriteria criteria, QueryMetadataInterface metadata)
Performs simple expression flatteningstatic Criteria
QueryRewriter. rewriteCriteria(Criteria criteria, CommandContext context, QueryMetadataInterface metadata)
Rewrite the criteria by evaluating some trivial cases.Methods in org.teiid.query.rewriter with parameters of type Criteria Modifier and Type Method 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. -
Uses of Criteria in org.teiid.query.sql.lang
Subclasses of Criteria in org.teiid.query.sql.lang Modifier and Type Class Description class
AbstractCompareCriteria
The common functionality of aCompareCriteria
and aSubqueryCompareCriteria
.class
AbstractSetCriteria
This is an abstract class to define some common functionality in the two varieties of IN criteria:SetCriteria
(where values are specified) andSubquerySetCriteria
(where a subquery is defined and will supply the values for the IN set).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.Methods in org.teiid.query.sql.lang that return Criteria Modifier and Type Method Description static Criteria
Criteria. applyDemorgan(Criteria input)
static Criteria
Criteria. combineCriteria(List<Criteria> parts)
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)
Criteria
Insert. getConstraint()
Criteria
Update. getConstraint()
Criteria
CompoundCriteria. getCriteria(int index)
Returns the criteria at the specified index.Criteria
Delete. getCriteria()
Returns the criteria object for this command.Criteria
FilteredCommand. getCriteria()
Criteria
NotCriteria. getCriteria()
Get sub criteriaCriteria
Query. getCriteria()
Get the criteria clause for the query.Criteria
Update. getCriteria()
Returns the criteria object for this command, may be nullCriteria
Query. getHaving()
Get the having clause for the query.Methods in org.teiid.query.sql.lang that return types with arguments of type Criteria Modifier and Type Method 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.Methods in org.teiid.query.sql.lang with parameters of type Criteria Modifier and Type Method 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
Insert. setConstraint(Criteria constraint)
void
Update. setConstraint(Criteria constraint)
void
Delete. setCriteria(Criteria criteria)
Set the criteria for this Delete commandvoid
FilteredCommand. setCriteria(Criteria criteria)
void
NotCriteria. setCriteria(Criteria criteria)
Set sub criteriavoid
Query. setCriteria(Criteria criteria)
Set the criteria clause for the query.void
Update. setCriteria(Criteria criteria)
Set the criteria for this Update commandvoid
Query. setHaving(Criteria having)
Set the criteria clause for the query.Method parameters in org.teiid.query.sql.lang with type arguments of type Criteria Modifier and Type Method Description static Criteria
Criteria. combineCriteria(List<Criteria> parts)
void
CompoundCriteria. setCriteria(List<Criteria> criteria)
Sets the criteria.Constructors in org.teiid.query.sql.lang with parameters of type Criteria Constructor Description 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 clausesQuery(Select select, From from, Criteria criteria, OrderBy orderBy, Option option)
Constructs an instance of this class given the specified clausesUpdate(GroupSymbol group, SetClauseList changeList, Criteria criteria)
Construct with group, change list, and criteriaConstructor parameters in org.teiid.query.sql.lang with type arguments of type Criteria Constructor Description CompoundCriteria(List<? extends Criteria> criteria)
Constructs an instance of this class given the criteria. -
Uses of Criteria in org.teiid.query.sql.proc
Methods in org.teiid.query.sql.proc that return Criteria Modifier and Type Method Description Criteria
IfStatement. getCondition()
Get the condition that determines which block needs to be executed.Criteria
WhileStatement. getCondition()
Get the condition that determines which block needs to be executed.Methods in org.teiid.query.sql.proc with parameters of type Criteria Modifier and Type Method Description void
IfStatement. setCondition(Criteria criteria)
Set the condition that determines which block needs to be executed.void
WhileStatement. setCondition(Criteria criteria)
Set the condition that determines which block needs to be executed.Constructors in org.teiid.query.sql.proc with parameters of type Criteria Constructor 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. -
Uses of Criteria in org.teiid.query.sql.symbol
Subclasses of Criteria in org.teiid.query.sql.symbol Modifier and Type Class Description class
XMLExists
Methods in org.teiid.query.sql.symbol that return Criteria Modifier and Type Method Description Criteria
SearchedCaseExpression. getWhenCriteria(int index)
Gets the WHEN criteria at the given 0-based index. -
Uses of Criteria in org.teiid.query.sql.visitor
Methods in org.teiid.query.sql.visitor with parameters of type Criteria Modifier and Type Method Description protected void
SQLStringVisitor. visitCriteria(String keyWord, Criteria crit)
-
Uses of Criteria in org.teiid.query.tempdata
Methods in org.teiid.query.tempdata that return Criteria Modifier and Type Method Description Criteria
BaseIndexInfo. getCoveredCriteria()
Criteria
BaseIndexInfo. getNonCoveredCriteria()
Methods in org.teiid.query.tempdata with parameters of type Criteria Modifier and Type Method Description TupleSource
TempTable. createTupleSource(List<? extends Expression> projectedCols, Criteria condition, OrderBy orderBy)
TupleSource
TempTable. delete(Criteria crit)
TupleSource
TempTable. update(Criteria crit, SetClauseList update)
Constructors in org.teiid.query.tempdata with parameters of type Criteria Constructor Description BaseIndexInfo(T table, List<? extends Expression> projectedCols, Criteria condition, OrderBy orderBy, boolean primary)
-