Class TransparentResultDecorator
- java.lang.Object
-
- org.apache.shardingsphere.infra.merge.engine.decorator.impl.TransparentResultDecorator
-
- All Implemented Interfaces:
ResultDecorator<org.apache.shardingsphere.infra.rule.ShardingSphereRule>
public final class TransparentResultDecorator extends Object implements ResultDecorator<org.apache.shardingsphere.infra.rule.ShardingSphereRule>
Transparent result decorator.
-
-
Constructor Summary
Constructors Constructor Description TransparentResultDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergedResultdecorate(QueryResult queryResult, SQLStatementContext sqlStatementContext, org.apache.shardingsphere.infra.rule.ShardingSphereRule rule)Decorate query result.MergedResultdecorate(MergedResult mergedResult, SQLStatementContext sqlStatementContext, org.apache.shardingsphere.infra.rule.ShardingSphereRule rule)Decorate merged result.
-
-
-
Method Detail
-
decorate
public MergedResult decorate(QueryResult queryResult, SQLStatementContext sqlStatementContext, org.apache.shardingsphere.infra.rule.ShardingSphereRule rule)
Description copied from interface:ResultDecoratorDecorate query result.- Specified by:
decoratein interfaceResultDecorator<org.apache.shardingsphere.infra.rule.ShardingSphereRule>- Parameters:
queryResult- query resultsqlStatementContext- SQL statement contextrule- ShardingSphere rule- Returns:
- merged result
-
decorate
public MergedResult decorate(MergedResult mergedResult, SQLStatementContext sqlStatementContext, org.apache.shardingsphere.infra.rule.ShardingSphereRule rule)
Description copied from interface:ResultDecoratorDecorate merged result.- Specified by:
decoratein interfaceResultDecorator<org.apache.shardingsphere.infra.rule.ShardingSphereRule>- Parameters:
mergedResult- merged resultsqlStatementContext- SQL statement contextrule- ShardingSphere rule- Returns:
- merged result
-
-