public final class InsertStatementContext extends CommonSQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.dml.InsertStatement> implements TableAvailable
| Constructor and Description |
|---|
InsertStatementContext(ShardingSphereSchema schema,
List<Object> parameters,
org.apache.shardingsphere.sql.parser.sql.common.statement.dml.InsertStatement sqlStatement) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> |
getAllTables()
Get all table segments.
|
Iterator<String> |
getDescendingColumnNames()
Get column names for descending order.
|
Optional<GeneratedKeyContext> |
getGeneratedKeyContext()
Get generated key context.
|
List<List<Object>> |
getGroupedParameters()
Get grouped parameters.
|
List<String> |
getInsertColumnNames()
Get insert column names.
|
List<Object> |
getOnDuplicateKeyUpdateParameters()
Get on duplicate key update parameters.
|
int |
getValueListCount()
Get value list count.
|
boolean |
useDefaultColumns()
Judge whether use default columns or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTablesContextgetSqlStatement, getTablesContextpublic InsertStatementContext(ShardingSphereSchema schema, List<Object> parameters, org.apache.shardingsphere.sql.parser.sql.common.statement.dml.InsertStatement sqlStatement)
public Iterator<String> getDescendingColumnNames()
public List<List<Object>> getGroupedParameters()
public List<Object> getOnDuplicateKeyUpdateParameters()
public Optional<GeneratedKeyContext> getGeneratedKeyContext()
public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> getAllTables()
TableAvailablegetAllTables in interface TableAvailablepublic boolean useDefaultColumns()
public int getValueListCount()
Copyright © 2021 The Apache Software Foundation. All rights reserved.