Class BaseQueryRunner
java.lang.Object
org.apache.drill.exec.server.rest.BaseQueryRunner
- Direct Known Subclasses:
QueryRunner
,RestQueryRunner
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected UserBitShared.QueryId
protected final WebUserConnection
protected final WorkManager
-
Constructor Summary
ConstructorDescriptionBaseQueryRunner
(WorkManager workManager, WebUserConnection webUserConnection) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyDefaultSchema
(String defaultSchema) protected void
applyOptions
(Map<String, String> options) protected void
applyRowLimit
(int limit) protected void
applyUserName
(String userName) protected void
startQuery
(UserBitShared.QueryType queryType, String query, UserClientConnection clientConn)
-
Field Details
-
workManager
-
webUserConnection
-
maxRows
protected int maxRows -
queryId
-
-
Constructor Details
-
BaseQueryRunner
-
-
Method Details
-
applyUserName
-
applyOptions
-
applyDefaultSchema
protected void applyDefaultSchema(String defaultSchema) throws org.apache.calcite.tools.ValidationException - Throws:
org.apache.calcite.tools.ValidationException
-
applyRowLimit
protected void applyRowLimit(int limit)
-