Interface RQLExecutor<T extends org.apache.shardingsphere.distsql.parser.statement.rql.RQLStatement>
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public interface RQLExecutor<T extends org.apache.shardingsphere.distsql.parser.statement.rql.RQLStatement>
extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
RQL executor.
-
Method Summary
Modifier and TypeMethodDescriptionGet column names.getRows(ShardingSphereDatabase shardingSphereDatabase, T sqlStatement) Get query result rows.Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getType, getTypeAliases, init, isDefault
-
Method Details
-
getColumnNames
Collection<String> getColumnNames()Get column names.- Returns:
- column names
-
getRows
Collection<LocalDataQueryResultRow> getRows(ShardingSphereDatabase shardingSphereDatabase, T sqlStatement) Get query result rows.- Parameters:
shardingSphereDatabase- ShardingSphere databasesqlStatement- SQL statement- Returns:
- query result rows
-