Class BaseQueryRunner
java.lang.Object
org.apache.drill.exec.server.rest.BaseQueryRunner
- Direct Known Subclasses:
QueryRunner,RestQueryRunner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected UserBitShared.QueryIdprotected final WebUserConnectionprotected final WorkManager -
Constructor Summary
ConstructorsConstructorDescriptionBaseQueryRunner(WorkManager workManager, WebUserConnection webUserConnection) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDefaultSchema(String defaultSchema) protected voidapplyOptions(Map<String, String> options) protected voidapplyRowLimit(int limit) protected voidapplyUserName(String userName) protected voidstartQuery(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)
-