public final class MergeEngine extends Object
| 构造器和说明 |
|---|
MergeEngine(String schemaName,
org.apache.shardingsphere.infra.database.type.DatabaseType databaseType,
org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema,
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props,
Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules) |
public MergeEngine(String schemaName, org.apache.shardingsphere.infra.database.type.DatabaseType databaseType, org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema, org.apache.shardingsphere.infra.config.properties.ConfigurationProperties props, Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> rules)
public MergedResult merge(List<QueryResult> queryResults, SQLStatementContext<?> sqlStatementContext) throws SQLException
queryResults - query resultssqlStatementContext - SQL statement contextSQLException - SQL exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.