public final class MergeEngine extends Object
| 构造器和说明 |
|---|
MergeEngine(Collection<org.apache.shardingsphere.underlying.common.rule.BaseRule> rules,
org.apache.shardingsphere.underlying.common.config.properties.ConfigurationProperties properties,
org.apache.shardingsphere.spi.database.type.DatabaseType databaseType,
SchemaMetaData metaData) |
public MergeEngine(Collection<org.apache.shardingsphere.underlying.common.rule.BaseRule> rules, org.apache.shardingsphere.underlying.common.config.properties.ConfigurationProperties properties, org.apache.shardingsphere.spi.database.type.DatabaseType databaseType, SchemaMetaData metaData)
public MergedResult merge(List<QueryResult> queryResults, SQLStatementContext sqlStatementContext) throws SQLException
queryResults - query resultssqlStatementContext - SQL statement contextSQLException - SQL exceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.