public final class InsertStatementContext extends CommonSQLStatementContext<org.apache.shardingsphere.sql.parser.sql.common.statement.dml.InsertStatement> implements TableAvailable, SchemaAvailable
| 构造器和说明 |
|---|
InsertStatementContext(Map<String,ShardingSphereMetaData> metaDataMap,
List<Object> parameters,
org.apache.shardingsphere.sql.parser.sql.common.statement.dml.InsertStatement sqlStatement,
String defaultSchemaName) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, waitgetTablesContextgetSchemaNamegetSqlStatement, getTablesContextpublic 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 在接口中 TableAvailablepublic boolean useDefaultColumns()
public int getValueListCount()
Copyright © 2021 The Apache Software Foundation. All rights reserved.