public class SqlInsertStatement extends QueryClause implements SqlStatement
AbstractSyntaxTree.LogCounter| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getChildren()
Get the list of child objects owned by this substitution API object.
|
java.util.List |
getColumnList()
Gets the target insert columns for this insert statement.
|
java.util.List |
getExpressions()
Get a list of expressions owned by this substitution API object.
|
boolean |
getIsMTICandidate()
Indicate whether this insert statement is a multiple targets insert candidate.
|
SqlQuery |
getQuery()
Get the source QUERY (SqlQuery) object for this insert statement.
|
SqlQuery |
getSelectQuery()
Gets the select query of this insert statement.
|
ILocation |
getSourceLocation()
Get source location information for this AST, if any is defined, else return null.
|
Table |
getTable()
Gets the target table for this insert statement.
|
java.util.List |
getTargetColumns()
Gets the target insert columns of this insert statement.
|
Table |
getTargetTable()
Gets the target table of this insert statement.
|
java.util.Map |
getTemplateSubstitutionMap()
Get a hash map containing built-in template substitution variable names as the hash key,
and the substitution variable value as values.
|
java.lang.String |
getType()
Get a class type string for this substitution API object.
|
boolean |
hasAggregation(ITechnology techno)
Indicates whether this insert statement references an aggregation function.
|
boolean |
hasSourceAndTargetText()
Return true if this object has both source and target text available, else false.
|
getParentQuerygetCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, getText, hasCustomTemplate, isLeafLevelNode, isPushFromSourcepublic Table getTargetTable()
public java.util.List getTargetColumns()
public SqlQuery getSelectQuery()
public java.util.Map getTemplateSubstitutionMap()
AbstractSyntaxTreegetTemplateSubstitutionMap in class AbstractSyntaxTreepublic Table getTable()
public java.util.List getColumnList()
public SqlQuery getQuery()
public java.util.List getChildren()
AbstractSyntaxTreegetChildren in class AbstractSyntaxTreepublic java.lang.String getType()
AbstractSyntaxTreegetType in class AbstractSyntaxTreepublic java.util.List getExpressions()
AbstractSyntaxTreegetExpressions in class QueryClausepublic boolean getIsMTICandidate()
public boolean hasAggregation(ITechnology techno)
techno - technology to use for finding the list of aggregation functions.public boolean hasSourceAndTargetText()
AbstractSyntaxTreehasSourceAndTargetText in class AbstractSyntaxTreepublic ILocation getSourceLocation()
throws GenerationException
AbstractSyntaxTreegetSourceLocation in class AbstractSyntaxTreeGenerationException