Modifier and Type | Method and Description |
---|---|
List<? extends Expression> |
TupleBuffer.getSchema() |
Modifier and Type | Method and Description |
---|---|
STree |
BufferManager.createSTree(List<? extends Expression> elements,
String groupName,
int keyLength) |
static int[] |
LobManager.getLobIndexes(List<? extends Expression> expressions) |
int |
BufferManager.getProcessorBatchSize(List<? extends Expression> schema)
Get the batch size to use during query processing.
|
int |
BufferManager.getSchemaSize(List<? extends Expression> elements)
Get the size estimate for the given schema.
|
static String[] |
TupleBuffer.getTypeNames(List<? extends Expression> expressions)
Gets the data type names for each of the input expressions, in order.
|
Constructor and Description |
---|
TupleBuffer(BatchManager manager,
String id,
List<? extends Expression> schema,
LobManager lobManager,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
STree |
BufferManagerImpl.createSTree(List<? extends Expression> elements,
String groupName,
int keyLength) |
int |
BufferManagerImpl.getProcessorBatchSize(List<? extends Expression> schema) |
int |
BufferManagerImpl.getSchemaSize(List<? extends Expression> elements) |
Modifier and Type | Method and Description |
---|---|
Expression |
LanguageBridgeFactory.translate(Expression expr) |
Modifier and Type | Method and Description |
---|---|
static void |
MetaDataProcessor.setColumnMetadata(Column column,
Expression symbol,
QueryMetadataInterface metadata)
Set the easily determined metadata from symbol on the given Column
|
Modifier and Type | Method and Description |
---|---|
ResultsMessage |
RequestWorkItem.createResultsMessage(List<? extends List<?>> batch,
List<? extends Expression> columnSymbols) |
Modifier and Type | Method and Description |
---|---|
Expression |
MultiSourceElementReplacementVisitor.replaceExpression(Expression expr) |
Modifier and Type | Method and Description |
---|---|
Expression |
MultiSourceElementReplacementVisitor.replaceExpression(Expression expr) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
AnalysisRecord.getOutputColumnProperties(List<? extends Expression> projectedSymbols)
Helper method to turn a list of projected symbols into a suitable list of
output column strings with name and type.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Evaluator.evaluate(Expression expression) |
Object |
Evaluator.evaluate(Expression expression,
List<?> tuple) |
protected Object |
Evaluator.internalEvaluate(Expression expression,
List<?> tuple) |
Modifier and Type | Method and Description |
---|---|
FunctionLibrary.ConversionResult |
FunctionLibrary.determineNecessaryConversions(String name,
Class<?> returnType,
Expression[] args,
Class<?>[] types,
boolean hasUnknownType)
Get the conversions that are needed to call the named function with arguments
of the given type.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<Expression,Integer> |
TempMetadataID.TableData.getFunctionBasedExpressions() |
Map<Expression,Integer> |
TempMetadataAdapter.getFunctionBasedExpressions(Object metadataID) |
Map<Expression,Integer> |
QueryMetadataInterface.getFunctionBasedExpressions(Object metadataID) |
Map<Expression,Integer> |
BasicQueryMetadataWrapper.getFunctionBasedExpressions(Object metadataID) |
Map<Expression,Integer> |
BasicQueryMetadata.getFunctionBasedExpressions(Object metadataID) |
Modifier and Type | Method and Description |
---|---|
TempMetadataID |
TempMetadataStore.addElementSymbolToTempGroup(String tempGroup,
Expression symbol)
Add a element symbol to the already created temp group.
|
Modifier and Type | Method and Description |
---|---|
TempMetadataID |
TempMetadataStore.addTempGroup(String tempGroup,
List<? extends Expression> tempSymbols,
boolean isVirtual,
boolean isTempTable)
Add a temp group and all it's elements
|
void |
TempMetadataID.TableData.setFunctionBasedExpressions(LinkedHashMap<Expression,Integer> newExprs) |
Modifier and Type | Method and Description |
---|---|
List<Expression> |
SourceTriggerActionPlanner.SourceEventCommand.getProjectedSymbols() |
Modifier and Type | Method and Description |
---|---|
static List<? extends Expression> |
ColumnMaskingHelper.maskColumns(List<ElementSymbol> cols,
GroupSymbol group,
QueryMetadataInterface metadata,
CommandContext cc) |
Modifier and Type | Method and Description |
---|---|
static SymbolMap |
RelationalPlanner.buildGroupingNode(Collection<AggregateSymbol> aggs,
List<? extends Expression> groupingCols,
PlanNode groupNode,
CommandContext cc,
IDGenerator idGenerator)
Build a grouping node that introduces a anon group (without a inline view source node)
|
Query |
RelationalPlanner.createMatViewQuery(Object viewMatadataId,
Object matMetadataId,
String matTableName,
List<? extends Expression> select,
boolean isGlobal) |
static Query |
RelationalPlanner.createMatViewQuery(Object matMetadataId,
String matTableName,
List<? extends Expression> select,
boolean isGlobal) |
static PlanNode |
RelationalPlanner.createProjectNode(List<? extends Expression> select) |
Modifier and Type | Method and Description |
---|---|
Expression |
RulePlanSubqueries.ReferenceReplacementVisitor.replaceExpression(Expression element) |
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<ElementSymbol,Expression> |
FrameUtil.buildSymbolMap(GroupSymbol oldGroup,
GroupSymbol newGroup,
QueryMetadataInterface metadata)
creates a symbol map of elements in oldGroup mapped to corresponding elements in newGroup
if newGroup is null, then a mapping of oldGroup elements to null constants will be returned
|
static List<Expression> |
RuleChooseJoinStrategy.createExpressionSymbols(List<? extends Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
void |
CriteriaCapabilityValidatorVisitor.checkCompareCriteria(AbstractCompareCriteria obj,
Expression rightExpression) |
RulePlanSubqueries.PlannedResult |
RulePlanSubqueries.findSubquery(Expression expr,
boolean unnest,
RulePlanSubqueries.PlannedResult result,
boolean requireSingleRow) |
static boolean |
JoinUtil.isNullDependent(QueryMetadataInterface metadata,
Collection<GroupSymbol> innerGroups,
Expression expr) |
Expression |
RulePlanSubqueries.ReferenceReplacementVisitor.replaceExpression(Expression element) |
Modifier and Type | Method and Description |
---|---|
static List<Expression> |
RuleChooseJoinStrategy.createExpressionSymbols(List<? extends Expression> expressions) |
static PlanNode |
RuleChooseDependent.getDependentCriteriaNode(String id,
List<Expression> independentExpressions,
List<Expression> dependentExpressions,
PlanNode indNode,
QueryMetadataInterface metadata,
NewCalculateCostUtil.DependentCostAnalysis dca,
Boolean bound,
Option.MakeDep makeDep) |
static PlanNode |
RuleChooseDependent.getDependentCriteriaNode(String id,
List<Expression> independentExpressions,
List<Expression> dependentExpressions,
PlanNode indNode,
QueryMetadataInterface metadata,
NewCalculateCostUtil.DependentCostAnalysis dca,
Boolean bound,
Option.MakeDep makeDep) |
static Object |
NewCalculateCostUtil.getKeyUsed(Collection<? extends Expression> allElements,
Set<GroupSymbol> groups,
QueryMetadataInterface metadata,
Boolean unique) |
static Set<WindowFunction> |
RuleAssignOutputElements.getWindowFunctions(List<Expression> projectCols) |
static boolean |
RulePlanSubqueries.isDistinct(Query query,
List<Expression> expressions,
QueryMetadataInterface metadata) |
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) |
static boolean |
NewCalculateCostUtil.usesKey(Collection<? extends Expression> allElements,
QueryMetadataInterface metadata)
TODO: this uses key check is not really accurate, it doesn't take into consideration where
we are in the plan.
|
static boolean |
NewCalculateCostUtil.usesKey(Collection<? extends Expression> allElements,
Set<GroupSymbol> groups,
QueryMetadataInterface metadata,
boolean unique) |
Modifier and Type | Method and Description |
---|---|
ArrayList<Expression> |
SQLParser.expressionList(ParseInfo info) |
Modifier and Type | Method and Description |
---|---|
BetweenCriteria |
SQLParser.betweenCrit(ParseInfo info,
Expression expression) |
CompareCriteria |
SQLParser.compareCrit(ParseInfo info,
Expression expression) |
IsDistinctCriteria |
SQLParser.isDistinct(ParseInfo info,
Expression expression) |
IsNullCriteria |
SQLParser.isNullCrit(ParseInfo info,
Expression expression) |
MatchCriteria |
SQLParser.matchCrit(ParseInfo info,
Expression expression) |
MatchCriteria |
SQLParser.regexMatchCrit(ParseInfo info,
Expression expression) |
AbstractSetCriteria |
SQLParser.setCrit(ParseInfo info,
Expression expression) |
static void |
SQLParserUtil.setDefault(BaseColumn column,
Expression value) |
SubqueryCompareCriteria |
SQLParser.subqueryCompareCriteria(ParseInfo info,
Expression expression) |
Expression |
SQLParser.windowSpecification(Expression agg,
ParseInfo info) |
Modifier and Type | Method and Description |
---|---|
Expression |
AssignmentInstruction.getExpression() |
Modifier and Type | Method and Description |
---|---|
List<Expression> |
ForEachRowPlan.getOutputElements() |
Modifier and Type | Method and Description |
---|---|
void |
ErrorInstruction.setExpression(Expression expression) |
void |
AssignmentInstruction.setExpression(Expression expression) |
Modifier and Type | Method and Description |
---|---|
void |
ForEachRowPlan.setLookupMap(Map<Expression,Integer> symbolMap) |
void |
ProcedurePlan.setParams(LinkedHashMap<ElementSymbol,Expression> params) |
void |
ForEachRowPlan.setParams(Map<ElementSymbol,Expression> params) |
Modifier and Type | Method and Description |
---|---|
Expression |
AccessNode.getConnectorBindingExpression() |
Expression |
LimitNode.getLimitExpr() |
Expression |
LimitNode.getOffsetExpr() |
Modifier and Type | Method and Description |
---|---|
static Map<Expression,Integer> |
RelationalNode.createLookupMap(List<? extends Expression> elements)
Useful function to build an element lookup map from an element list.
|
List<? extends Expression> |
RelationalNode.getElements() |
List<Expression> |
AccessNode.getOriginalSelect() |
List<? extends Expression> |
RelationalNode.getOutputElements() |
List<? extends Expression> |
RelationalPlan.getOutputElements()
Get list of resolved elements describing output columns for this plan.
|
List<? extends Expression> |
DependentValueSource.getSchema() |
List<? extends Expression> |
ProjectNode.getSelectSymbols()
return List of select symbols
|
Modifier and Type | Method and Description |
---|---|
Set<Object> |
DependentValueSource.getCachedSet(Expression valueExpression) |
org.teiid.query.processor.relational.TupleSourceValueIterator |
DependentValueSource.getValueIterator(Expression valueExpression) |
void |
AccessNode.setConnectorBindingExpression(Expression connectorBindingExpression) |
Modifier and Type | Method and Description |
---|---|
static Map<Expression,Integer> |
RelationalNode.createLookupMap(List<? extends Expression> elements)
Useful function to build an element lookup map from an element list.
|
static int[] |
RelationalNode.getProjectionIndexes(Map<? extends Expression,Integer> tupleElements,
List<? extends Expression> projectElements)
Helper method for all the node that will filter the elements needed for the next node.
|
static int[] |
RelationalNode.getProjectionIndexes(Map<? extends Expression,Integer> tupleElements,
List<? extends Expression> projectElements)
Helper method for all the node that will filter the elements needed for the next node.
|
void |
RelationalNode.setElements(List<? extends Expression> elements) |
void |
RelationalPlan.setOutputElements(List<? extends Expression> outputCols) |
void |
SelectNode.setProjectedExpressions(List<Expression> projectedExpressions) |
void |
ProjectNode.setSelectSymbols(List<? extends Expression> symbols) |
Constructor and Description |
---|
LimitNode(int nodeID,
Expression limitExpr,
Expression offsetExpr) |
Constructor and Description |
---|
DependentValueSource(TupleBuffer tb,
List<? extends Expression> schema) |
SortUtility(TupleSource ts,
List<? extends Expression> expressions,
List<Boolean> types,
SortUtility.Mode mode,
BufferManager bufferManager,
String connectionID,
List schema) |
SortUtility(TupleSource sourceID,
List<OrderByItem> items,
SortUtility.Mode mode,
BufferManager bufferMgr,
String groupName,
List<? extends Expression> schema) |
SortUtility(TupleSource sourceID,
SortUtility.Mode mode,
BufferManager bufferMgr,
String groupName,
List<? extends Expression> schema,
List<Boolean> sortTypes,
List<SortSpecification.NullOrdering> nullOrderings,
int[] cols) |
Modifier and Type | Method and Description |
---|---|
Map<ElementSymbol,Expression> |
VariableResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
static Map<ElementSymbol,Expression> |
QueryResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
static GroupSymbol |
ProcedureContainerResolver.addScalarGroup(String name,
TempMetadataStore metadata,
GroupContext externalGroups,
List<? extends Expression> symbols) |
static GroupSymbol |
ProcedureContainerResolver.addScalarGroup(String name,
TempMetadataStore metadata,
GroupContext externalGroups,
List<? extends Expression> symbols,
boolean updatable) |
static GroupSymbol |
ProcedureContainerResolver.addScalarGroup(String name,
TempMetadataStore metadata,
GroupContext externalGroups,
List<? extends Expression> symbols,
boolean[] updatable) |
static void |
QueryResolver.validateProjectedSymbols(GroupSymbol virtualGroup,
List<? extends Expression> symbols,
List<? extends Expression> projectedSymbols) |
static void |
QueryResolver.validateProjectedSymbols(GroupSymbol virtualGroup,
List<? extends Expression> symbols,
List<? extends Expression> projectedSymbols) |
Modifier and Type | Method and Description |
---|---|
Map<ElementSymbol,Expression> |
UpdateResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
Map<ElementSymbol,Expression> |
InsertResolver.getVariableValues(Command command,
boolean changingOnly,
QueryMetadataInterface metadata) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SetQueryResolver.orderByContainsVariable(OrderBy orderBy,
Expression ses,
int position)
Checks if a variable is in the ORDER BY
|
Modifier and Type | Method and Description |
---|---|
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String targetTypeName,
QueryMetadataInterface metadata)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String sourceTypeName,
String targetTypeName,
QueryMetadataInterface metadata,
boolean forComparison)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Expression |
ResolverUtil.getDefault(ElementSymbol symbol,
QueryMetadataInterface metadata)
Get the default value for the parameter, which could be null
if the parameter is set to NULLABLE.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResolverVisitor.checkException(Expression obj) |
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String targetTypeName,
QueryMetadataInterface metadata)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
String sourceTypeName,
String targetTypeName,
QueryMetadataInterface metadata,
boolean forComparison)
Replaces a sourceExpression with a conversion of the source expression
to the target type.
|
static Function |
ResolverUtil.getConversion(Expression sourceExpression,
String sourceTypeName,
String targetTypeName,
boolean implicit,
FunctionLibrary library)
IMPORTANT: source and target must be basic runtime types
|
static void |
ResolverUtil.setDesiredType(Expression expression,
Class<?> targetType,
LanguageObject surroundingExpression)
Utility to set the type of an expression if it is a Reference and has a null type.
|
static void |
ResolverUtil.setTypeIfNull(Expression symbol,
Class<?> replacement) |
Modifier and Type | Method and Description |
---|---|
static TempMetadataID |
ResolverUtil.addTempGroup(TempMetadataAdapter metadata,
GroupSymbol symbol,
List<? extends Expression> symbols,
boolean tempTable) |
static TempMetadataID |
ResolverUtil.addTempTable(TempMetadataAdapter metadata,
GroupSymbol symbol,
List<? extends Expression> symbols) |
Modifier and Type | Method and Description |
---|---|
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CommandContext context,
QueryMetadataInterface metadata) |
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CommandContext context,
QueryMetadataInterface metadata,
boolean rewriteSubcommands) |
Modifier and Type | Method and Description |
---|---|
static boolean |
QueryRewriter.isNull(Expression expr) |
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CommandContext context,
QueryMetadataInterface metadata) |
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CommandContext context,
QueryMetadataInterface metadata,
boolean rewriteSubcommands) |
Modifier and Type | Method and Description |
---|---|
static Query |
QueryRewriter.createInlineViewQuery(GroupSymbol inlineGroup,
Command nested,
QueryMetadataInterface metadata,
List<? extends Expression> actualSymbols) |
static Command |
QueryRewriter.rewrite(Command command,
QueryMetadataInterface metadata,
CommandContext context,
Map<ElementSymbol,Expression> variableValues) |
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 |
Criteria
This class represents the criteria clause for a query, which defines
constraints on the data values to be retrieved for each parameter in the
select clause.
|
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 | Field and Description |
---|---|
Expression |
DependentSetCriteria.AttributeComparison.dep |
Expression |
DependentSetCriteria.AttributeComparison.ind |
Modifier and Type | Method and Description |
---|---|
Expression |
SubqueryCompareCriteria.getArrayExpression() |
Expression |
ArrayTable.getArrayValue() |
Expression |
XMLTable.XMLColumn.getDefaultExpression() |
Expression |
ObjectTable.ObjectColumn.getDefaultExpression() |
Expression |
ExpressionCriteria.getExpression() |
Expression |
BetweenCriteria.getExpression()
Get expression.
|
Expression |
AbstractSetCriteria.getExpression()
Gets the membership expression to be compared.
|
Expression |
SPParameter.getExpression()
Return the expression defining the value of this parameter
|
Expression |
IsNullCriteria.getExpression()
Get expression.
|
Expression |
TextTable.getFile() |
Expression |
JsonTable.getJson() |
Expression |
AbstractCompareCriteria.getLeftExpression()
Get left expression.
|
Expression |
MatchCriteria.getLeftExpression()
Get left expression.
|
Expression |
BinaryComparison.getLeftExpression() |
Expression |
BetweenCriteria.getLowerExpression()
Get the lower expression.
|
Expression |
Limit.getOffset() |
Expression |
CompareCriteria.getRightExpression()
Get right expression.
|
Expression |
MatchCriteria.getRightExpression()
Get right expression.
|
Expression |
BinaryComparison.getRightExpression() |
Expression |
Limit.getRowLimit() |
Expression |
DynamicCommand.getSql() |
Expression |
OrderByItem.getSymbol() |
Expression |
Select.getSymbol(int index)
Returns the select symbol at the specified index.
|
Expression |
BetweenCriteria.getUpperExpression()
Get the upper expression.
|
Expression |
SetClause.getValue() |
Expression |
DependentSetCriteria.getValueExpression()
Get the independent value expression
|
Expression |
OrderBy.getVariable(int index)
Returns the ORDER BY element at the specified index.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<ElementSymbol,Expression> |
SetClauseList.getClauseMap() |
LinkedHashMap<ElementSymbol,Expression> |
StoredProcedure.getProcedureParameters() |
List<Expression> |
ExplainCommand.getProjectedSymbols() |
abstract List<Expression> |
Command.getProjectedSymbols()
Get the ordered list of all elements returned by this query.
|
List<Expression> |
Alter.getProjectedSymbols() |
List<Expression> |
Select.getProjectedSymbols()
Get the ordered list of all elements returned by this select.
|
List<Expression> |
Query.getProjectedSymbols()
Get the ordered list of all elements returned by this query.
|
List<Expression> |
Insert.getProjectedSymbols()
Get the ordered list of all elements returned by this query.
|
List<? extends Expression> |
DynamicCommand.getResultSetColumns() |
List<? extends Expression> |
Command.getResultSetColumns() |
List<Expression> |
OrderBy.getSortKeys()
Get the list or sort key symbols.
|
List<Expression> |
Select.getSymbols()
Returns an ordered list of the symbols in the select.
|
List<Expression> |
GroupBy.getSymbols()
Returns an ordered list of the symbols in the GROUP BY
|
static List<Expression> |
SetQuery.getTypedProjectedSymbols(List<? extends Expression> acutal,
List<Class<?>> projectedTypes,
QueryMetadataInterface metadata) |
static List<Expression> |
Command.getUpdateCommandSymbol() |
Modifier and Type | Method and Description |
---|---|
void |
Update.addChange(ElementSymbol id,
Expression value)
Add change to change list - a change is represented by a CompareCriteria
internally but can be added here as an element and an expression
|
void |
SetClauseList.addClause(ElementSymbol symbol,
Expression expression) |
void |
Select.addSymbol(Expression symbol) |
void |
GroupBy.addSymbol(Expression symbol)
Adds a new symbol to the list of symbols.
|
void |
Insert.addValue(Expression value)
Adds a value to the list of values
|
OrderByItem |
OrderBy.addVariable(Expression element)
Adds a new variable to the list of order by elements.
|
OrderByItem |
OrderBy.addVariable(Expression element,
boolean type)
Adds a new variable to the list of order by elements with the
specified sort order
|
boolean |
Select.containsSymbol(Expression symbol)
Checks if a symbol is in the Select.
|
void |
SetCriteria.set(Expression expression,
Collection values)
Sets the membership expression and the set of value expressions
|
void |
CompareCriteria.set(Expression leftExpression,
int operator,
Expression rightExpression)
Sets the operands and operator.
|
void |
SubqueryCompareCriteria.setArrayExpression(Expression expression) |
void |
ArrayTable.setArrayValue(Expression arrayValue) |
void |
XMLTable.XMLColumn.setDefaultExpression(Expression defaultExpression) |
void |
ObjectTable.ObjectColumn.setDefaultExpression(Expression defaultExpression) |
void |
ExpressionCriteria.setExpression(Expression expression) |
void |
BetweenCriteria.setExpression(Expression expression)
Set expression.
|
void |
AbstractSetCriteria.setExpression(Expression expression)
Sets the membership expression
|
void |
SPParameter.setExpression(Expression expression)
Set the expression defining this parameter
|
void |
IsNullCriteria.setExpression(Expression expression)
Set expression.
|
void |
TextTable.setFile(Expression file) |
void |
JsonTable.setJson(Expression json) |
void |
AbstractCompareCriteria.setLeftExpression(Expression expression)
Set left expression.
|
void |
MatchCriteria.setLeftExpression(Expression expression)
Set left expression.
|
void |
ImmutableCompareCriteria.setLeftExpression(Expression expression) |
void |
BinaryComparison.setLeftExpression(Expression ex) |
void |
BetweenCriteria.setLowerExpression(Expression lowerExpression)
Set the lower expression.
|
void |
Limit.setOffset(Expression offset) |
void |
CompareCriteria.setRightExpression(Expression expression)
Set right expression.
|
void |
MatchCriteria.setRightExpression(Expression expression)
Set right expression.
|
void |
ImmutableCompareCriteria.setRightExpression(Expression expression) |
void |
BinaryComparison.setRightExpression(Expression ex) |
void |
Limit.setRowLimit(Expression rowLimit) |
void |
DynamicCommand.setSql(Expression sql) |
void |
OrderByItem.setSymbol(Expression symbol) |
void |
BetweenCriteria.setUpperExpression(Expression upperExpression)
Set the upper expression.
|
void |
SetClause.setValue(Expression value) |
void |
DependentSetCriteria.setValueExpression(Expression valueExpression)
Set the independent value expression
|
Modifier and Type | Method and Description |
---|---|
void |
Select.addSymbols(Collection<? extends Expression> toAdd) |
static boolean |
Query.areColumnsCachable(Collection<? extends Expression> projectedSymbols) |
static List<Expression> |
SetQuery.getTypedProjectedSymbols(List<? extends Expression> acutal,
List<Class<?>> projectedTypes,
QueryMetadataInterface metadata) |
static Query |
Query.rowConstructor(List<Expression> select) |
void |
Select.setSymbols(Collection<? extends Expression> symbols)
Sets an ordered list of the symbols in the select.
|
Constructor and Description |
---|
BetweenCriteria(Expression expression,
Expression lowerExpression,
Expression upperExpression)
Constructs an instance of this class with an expression
|
CompareCriteria(Expression leftExpression,
int operator,
Expression rightExpression)
Constructs an instance of this class for a specific "operand operator
operand" clause.
|
DependentSetCriteria(Expression expr,
String id)
Construct with the left expression
|
DynamicCommand(Expression sql,
List columns,
GroupSymbol intoGroup,
SetClauseList using) |
ExpressionCriteria(Expression expression) |
ImmutableCompareCriteria(Expression leftExpression,
int operator,
Expression rightExpression) |
IsNullCriteria(Expression expression)
Constructs an instance of this class with an expression
|
Limit(Expression offset,
Expression rowLimit) |
MatchCriteria(Expression leftExpression,
Expression rightExpression)
Constructs an instance of this class from a left and right expression
|
MatchCriteria(Expression leftExpression,
Expression rightExpression,
char escapeChar)
Constructs an instance of this class from a left and right expression
and an escape character
|
ObjectColumn(String name,
String type,
String path,
Expression defaultExpression) |
OrderByItem(Expression symbol,
boolean ascending) |
SetClause(ElementSymbol symbol,
Expression value) |
SetCriteria(Expression expression,
Collection values)
Constructs an instance of this class with the membership expression and value expressions
|
SPParameter(int index,
Expression expression)
Constructor used when constructing a parameter during execution.
|
SubqueryCompareCriteria(Expression leftExpression,
QueryCommand subCommand,
int operator,
int predicateQuantifier) |
SubquerySetCriteria(Expression expression,
QueryCommand subCommand) |
XMLColumn(String name,
String type,
String path,
Expression defaultExpression) |
Constructor and Description |
---|
GroupBy(List<? extends Expression> symbols)
Constructs an instance of this class from an ordered set of symbols.
|
OrderBy(List<? extends Expression> parameters)
Constructs an instance of this class from an ordered list of elements.
|
OrderBy(List<? extends Expression> parameters,
List<Boolean> types)
Constructs an instance of this class from an ordered set of elements.
|
Select(List<? extends Expression> symbols)
Constructs an instance of this class from an ordered set of symbols.
|
Modifier and Type | Class and Description |
---|---|
class |
ExceptionExpression |
Modifier and Type | Method and Description |
---|---|
Expression |
ExceptionExpression.getErrorCode() |
Expression |
RaiseStatement.getExpression() |
Expression |
ExpressionStatement.getExpression() |
Expression |
AssignmentStatement.getExpression() |
Expression |
ExceptionExpression.getMessage() |
Expression |
ExceptionExpression.getParent() |
Expression |
ExceptionExpression.getSqlState() |
Modifier and Type | Method and Description |
---|---|
List<Expression> |
TriggerAction.getProjectedSymbols() |
List<? extends Expression> |
CreateProcedureCommand.getResultSetColumns() |
Modifier and Type | Method and Description |
---|---|
void |
ExceptionExpression.setErrorCode(Expression errCode) |
void |
RaiseStatement.setExpression(Expression expression) |
void |
ExpressionStatement.setExpression(Expression expr) |
void |
AssignmentStatement.setExpression(Expression expression) |
void |
ExceptionExpression.setMessage(Expression message) |
void |
ExceptionExpression.setParent(Expression parent) |
void |
ExceptionExpression.setSqlState(Expression sqlState) |
Modifier and Type | Method and Description |
---|---|
void |
CreateProcedureCommand.setResultSetColumns(List<? extends Expression> resultSetColumns) |
Constructor and Description |
---|
AssignmentStatement(ElementSymbol variable,
Expression value) |
DeclareStatement(ElementSymbol variable,
String varType,
Expression value)
Constructor for DeclareStatement.
|
RaiseStatement(Expression message)
Constructor for RaiseErrorStatement.
|
RaiseStatement(Expression message,
boolean warning) |
ReturnStatement(Expression value) |
Modifier and Type | Interface and Description |
---|---|
interface |
DerivedExpression |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCaseExpression |
class |
AggregateSymbol
An aggregate symbol represents an aggregate function.
|
class |
AliasSymbol
An AliasSymbol wraps a SingleElementSymbol and changes it's name.
|
class |
Array |
class |
CaseExpression |
class |
Constant
This class represents a literal value in a SQL string.
|
class |
ElementSymbol
This is a subclass of Symbol representing a single element.
|
class |
ExpressionSymbol |
class |
Function
Represents a function in a sql statement.
|
class |
JSONObject |
class |
MultipleElementSymbol
This is a subclass of Symbol representing multiple output columns.
|
class |
QueryString
Represents query string name value pairs
|
class |
Reference
This class represents a reference (positional from the user query, or
to an element from another scope).
|
class |
ScalarSubquery
This is an Expression implementation that can be used in a SELECT clause.
|
class |
SearchedCaseExpression |
class |
TextLine
Represents the only allowable expression for the textagg aggregate.
|
class |
WindowFunction |
class |
XMLCast |
class |
XMLElement
Represents XMLElement
|
class |
XMLExists |
class |
XMLForest |
class |
XMLParse |
class |
XMLQuery |
class |
XMLSerialize |
Modifier and Type | Method and Description |
---|---|
Expression |
Function.getArg(int index)
Get argument at specified index
|
Expression[] |
Function.getArgs()
Get function arguments
|
Expression |
AggregateSymbol.getCondition() |
Expression |
AbstractCaseExpression.getElseExpression()
Gets the expression in the ELSE part of this expression.
|
Expression |
XMLSerialize.getExpression() |
Expression |
XMLParse.getExpression() |
Expression |
XMLCast.getExpression() |
Expression |
ExpressionSymbol.getExpression()
Get the expression for this symbol
|
Expression |
DerivedColumn.getExpression() |
Expression |
CaseExpression.getExpression()
Gets the expression whose evaluation is being tested in this case expression.
|
Expression |
QueryString.getPath() |
Expression |
AliasSymbol.getSymbol()
Get the underlying symbol
|
Expression |
AbstractCaseExpression.getThenExpression(int index)
Gets the expression of the THEN part at the given index.
|
Expression |
CaseExpression.getWhenExpression(int index)
Gets the WHEN expression at the given 0-based index.
|
Modifier and Type | Method and Description |
---|---|
List<Expression> |
XMLElement.getContent() |
List<Expression> |
Array.getExpressions() |
List<Expression> |
WindowSpecification.getPartition() |
Modifier and Type | Method and Description |
---|---|
static String |
Symbol.getName(Expression ex) |
static String |
Symbol.getOutputName(Expression ex) |
static String |
Symbol.getShortName(Expression ex) |
void |
Function.setArgs(Expression[] args)
Set the function arguments - it is assumed that the args
are not null.
|
void |
AggregateSymbol.setCondition(Expression condition) |
void |
AbstractCaseExpression.setElseExpression(Expression elseExpression)
Sets the expression in the ELSE part of this expression.
|
void |
XMLSerialize.setExpression(Expression expression) |
void |
XMLParse.setExpression(Expression expression) |
void |
XMLCast.setExpression(Expression expression) |
void |
ExpressionSymbol.setExpression(Expression expression)
Set the expression represented by this symbol.
|
void |
DerivedColumn.setExpression(Expression expression) |
void |
CaseExpression.setExpression(Expression expr)
Sets the expression for this case expression
|
void |
QueryString.setPath(Expression path) |
void |
AliasSymbol.setSymbol(Expression symbol)
Set the underlying symbol
|
Modifier and Type | Method and Description |
---|---|
void |
XMLElement.setContent(List<Expression> args) |
void |
WindowSpecification.setPartition(List<Expression> grouping) |
Constructor and Description |
---|
AggregateSymbol(String name,
AggregateSymbol.Type aggregateFunction,
boolean isDistinct,
Expression[] args)
Constructor used for cloning
|
AggregateSymbol(String aggregateFunction,
boolean isDistinct,
Expression expression)
Construct an aggregate symbol with all given data.
|
AggregateSymbol(String aggregateFunction,
boolean isDistinct,
Expression[] args,
OrderBy orderBy) |
AliasSymbol(String name,
Expression symbol)
Construct an AliasSymbol given the alias name and the underlying symbol.
|
CaseExpression(Expression expression,
List when,
List then)
Constructor for CaseExpression objects
|
DerivedColumn(String name,
Expression expression) |
ExpressionSymbol(String name,
Expression expression)
Construct an ExpressionSymbol with name and expression.
|
Function(String name,
Expression[] args)
Construct a function with function name and array of arguments.
|
QueryString(Expression path,
List<DerivedColumn> args) |
XMLCast(Expression expression,
String typeName) |
Constructor and Description |
---|
Array(Class<?> baseType,
List<Expression> expresssions) |
Array(List<Expression> expressions) |
XMLElement(String name,
List<Expression> content) |
Modifier and Type | Method and Description |
---|---|
static Expression |
SymbolMap.getExpression(Expression symbol) |
Expression |
SymbolMap.getMappedExpression(ElementSymbol symbol) |
Modifier and Type | Method and Description |
---|---|
Map<ElementSymbol,Expression> |
SymbolMap.asMap() |
Map<ElementSymbol,Expression> |
SymbolMap.asUpdatableMap() |
List<Expression> |
SymbolMap.getValues() |
Map<Expression,ElementSymbol> |
SymbolMap.inserseMapping() |
Modifier and Type | Method and Description |
---|---|
boolean |
SymbolMap.addMapping(ElementSymbol symbol,
Expression expression) |
Set<Object> |
ValueIteratorSource.getCachedSet(Expression valueExpression) |
static Expression |
SymbolMap.getExpression(Expression symbol) |
ValueIterator |
ValueIteratorSource.getValueIterator(Expression valueExpression)
Attempt to obtain a ValueIterator from this source.
|
Modifier and Type | Method and Description |
---|---|
static SymbolMap |
SymbolMap.createSymbolMap(GroupSymbol virtualGroup,
List<? extends Expression> projectCols,
QueryMetadataInterface metadata) |
static SymbolMap |
SymbolMap.createSymbolMap(List<ElementSymbol> virtualElements,
List<? extends Expression> mappedCols) |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionMappingVisitor.replaceExpression(Expression element) |
Expression |
AbstractSymbolMappingVisitor.replaceExpression(Expression element) |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionMappingVisitor.replaceExpression(Expression element) |
Expression |
AbstractSymbolMappingVisitor.replaceExpression(Expression element) |
Modifier and Type | Method and Description |
---|---|
static void |
AggregateSymbolCollectorVisitor.getAggregates(LanguageObject obj,
Collection<? super AggregateSymbol> aggregates,
Collection<? super ElementSymbol> otherElements,
Collection<? super Expression> groupingColsUsed,
Collection<? super WindowFunction> windowFunctions,
Collection<? extends Expression> groupingCols) |
static void |
AggregateSymbolCollectorVisitor.getAggregates(LanguageObject obj,
Collection<? super AggregateSymbol> aggregates,
Collection<? super ElementSymbol> otherElements,
Collection<? super Expression> groupingColsUsed,
Collection<? super WindowFunction> windowFunctions,
Collection<? extends Expression> groupingCols) |
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap)
The object is modified in place, so is not returned.
|
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap)
The object is modified in place, so is not returned.
|
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap,
boolean deep)
The object is modified in place, so is not returned.
|
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap,
boolean deep)
The object is modified in place, so is not returned.
|
Constructor and Description |
---|
AggregateStopNavigator(LanguageVisitor visitor,
Collection<? extends Expression> groupingCols) |
AggregateStopNavigator(LanguageVisitor visitor,
Collection<? super Expression> groupingColsUsed,
Collection<? extends Expression> groupingCols) |
AggregateStopNavigator(LanguageVisitor visitor,
Collection<? super Expression> groupingColsUsed,
Collection<? extends Expression> groupingCols) |
Modifier and Type | Method and Description |
---|---|
Map<Expression,Integer> |
TempTable.getColumnMap() |
Map<Expression,Integer> |
SearchableTable.getColumnMap() |
Modifier and Type | Method and Description |
---|---|
Object |
TempTable.matchesPkColumn(int pkIndex,
Expression ex) |
Object |
SearchableTable.matchesPkColumn(int pkIndex,
Expression ex) |
boolean |
TempTable.supportsOrdering(int pkIndex,
Expression ex) |
boolean |
SearchableTable.supportsOrdering(int pkIndex,
Expression ex) |
Modifier and Type | Method and Description |
---|---|
TupleSource |
TempTable.createTupleSource(List<? extends Expression> projectedCols,
Criteria condition,
OrderBy orderBy) |
Constructor and Description |
---|
BaseIndexInfo(T table,
List<? extends Expression> projectedCols,
Criteria condition,
OrderBy orderBy,
boolean primary) |
Modifier and Type | Method and Description |
---|---|
Object |
CommandContext.getFromContext(Expression expression) |
Modifier and Type | Method and Description |
---|---|
int |
CommandContext.getProcessorBatchSize(List<Expression> schema) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ValidationVisitor.isNonComparable(Expression symbol) |
void |
ValidationVisitor.validateXMLContentTypes(Expression expression,
LanguageObject parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationVisitor.validateSortable(List<? extends Expression> symbols)
Validate that no elements of type OBJECT are in a SELECT DISTINCT or
and ORDER BY.
|
Copyright © 2020. All rights reserved.