Interface QueryableRALExecutor<T extends org.apache.shardingsphere.distsql.parser.statement.ral.QueryableRALStatement>
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
- All Known Subinterfaces:
DatabaseRequiredQueryableRALExecutor<T>,InstanceContextRequiredQueryableRALExecutor<T>,MetaDataRequiredQueryableRALExecutor<T>
public interface QueryableRALExecutor<T extends org.apache.shardingsphere.distsql.parser.statement.ral.QueryableRALStatement>
extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
Queryable RAL executor.
-
Method Summary
Modifier and TypeMethodDescriptionGet column names.default Collection<LocalDataQueryResultRow>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
Get query result rows.- Parameters:
sqlStatement- SQL statement- Returns:
- query result rows
-