Package com.illumon.iris.controller
Class ConsoleAttachmentQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<QueryAttachmentResults>
com.illumon.iris.controller.ConsoleAttachmentQuery
- All Implemented Interfaces:
RemoteQuery<QueryAttachmentResults>
,Serializable
Creates a new script session.
The two use cases are creating a new script session for an interactive console; and for attaching a session to a
persistent query.
When attaching to an existing persistent query, the user executing the query must be an owner or admin of the query.
The variables in the persistent query's primary script session are copied into the new script session's binding
unless the session is "dynamic", at which point the single script session is shared across instances.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute a query on a remote host.Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Field Details
-
ALLOW_ADMIN_CONSOLE_ATTACHMENT
public static final boolean ALLOW_ADMIN_CONSOLE_ATTACHMENT
-
-
Constructor Details
-
ConsoleAttachmentQuery
-
-
Method Details
-
execute
Description copied from interface:RemoteQuery
Execute a query on a remote host.- Parameters:
database
- database to use for execution.- Returns:
- result of the query.
-