public class PGInsertStatement extends SQLInsertStatement implements PGSQLStatement
SQLInsertStatement.ValuesClause
Constructor and Description |
---|
PGInsertStatement() |
Modifier and Type | Method and Description |
---|---|
void |
accept0(PGASTVisitor visitor) |
void |
addConflicUpdateItem(SQLUpdateSetItem item) |
void |
addValueCause(SQLInsertStatement.ValuesClause valueClause) |
PGInsertStatement |
clone() |
void |
cloneTo(PGInsertStatement x) |
SQLName |
getOnConflictConstraint() |
List<SQLExpr> |
getOnConflictTarget() |
List<SQLUpdateSetItem> |
getOnConflictUpdateSetItems() |
SQLExpr |
getOnConflictWhere() |
SQLExpr |
getReturning() |
SQLInsertStatement.ValuesClause |
getValues() |
List<SQLInsertStatement.ValuesClause> |
getValuesList() |
boolean |
isDefaultValues() |
boolean |
isOnConflictDoNothing() |
void |
setDefaultValues(boolean defaultValues) |
void |
setOnConflictConstraint(SQLName x) |
void |
setOnConflictDoNothing(boolean onConflictDoNothing) |
void |
setOnConflictTarget(List<SQLExpr> onConflictTarget) |
void |
setOnConflictWhere(SQLExpr x) |
void |
setReturning(SQLExpr returning) |
void |
setValues(SQLInsertStatement.ValuesClause values) |
cloneTo, getChildren, getDbType, getWith, isAfterSemi, isUpsert, setAfterSemi, setDbType, setUpsert, setWith, toString
addColumn, cloneTo, getAlias, getColumns, getColumnsString, getQuery, getTableName, getTableSource, setAlias, setColumnsString, setQuery, setQuery, setTableName, setTableSource, setTableSource
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getDbType, isAfterSemi, setAfterSemi
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public void cloneTo(PGInsertStatement x)
public SQLExpr getReturning()
public void setReturning(SQLExpr returning)
public SQLInsertStatement.ValuesClause getValues()
getValues
in class SQLInsertInto
public void setValues(SQLInsertStatement.ValuesClause values)
setValues
in class SQLInsertInto
public List<SQLInsertStatement.ValuesClause> getValuesList()
getValuesList
in class SQLInsertInto
public void addValueCause(SQLInsertStatement.ValuesClause valueClause)
addValueCause
in class SQLInsertInto
public boolean isDefaultValues()
public void setDefaultValues(boolean defaultValues)
public void accept0(PGASTVisitor visitor)
accept0
in interface PGSQLObject
public PGInsertStatement clone()
clone
in interface SQLObject
clone
in interface SQLStatement
clone
in class SQLInsertStatement
public boolean isOnConflictDoNothing()
public void setOnConflictDoNothing(boolean onConflictDoNothing)
public List<SQLUpdateSetItem> getOnConflictUpdateSetItems()
public void addConflicUpdateItem(SQLUpdateSetItem item)
public SQLName getOnConflictConstraint()
public void setOnConflictConstraint(SQLName x)
public SQLExpr getOnConflictWhere()
public void setOnConflictWhere(SQLExpr x)
Copyright © 2013–2017 Alibaba Group. All rights reserved.