public abstract class BaseQueryRunner extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxRows |
protected UserBitShared.QueryId |
queryId |
protected WebUserConnection |
webUserConnection |
protected WorkManager |
workManager |
| Constructor and Description |
|---|
BaseQueryRunner(WorkManager workManager,
WebUserConnection webUserConnection) |
| Modifier and Type | Method and Description |
|---|---|
protected 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) |
protected final WorkManager workManager
protected final WebUserConnection webUserConnection
protected int maxRows
protected UserBitShared.QueryId queryId
public BaseQueryRunner(WorkManager workManager, WebUserConnection webUserConnection)
protected void applyUserName(String userName)
protected void applyDefaultSchema(String defaultSchema) throws org.apache.calcite.tools.ValidationException
org.apache.calcite.tools.ValidationExceptionprotected void applyRowLimit(int limit)
protected void startQuery(UserBitShared.QueryType queryType, String query, UserClientConnection clientConn)
Copyright © 2021 The Apache Software Foundation. All rights reserved.