Package com.illumon.iris.db.util
Class PythonEvalQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Boolean>
com.illumon.iris.db.util.PythonEvalQuery
- All Implemented Interfaces:
RemoteQuery<Boolean>
,Serializable
public class PythonEvalQuery extends ContextAwareRemoteQuery<Boolean>
Evaluates a string in the worker python environment (as a script, i.e. it may contain more than one Python statement).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PythonEvalQuery(String string)
-
Method Summary
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Constructor Details
-
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.
-