Package com.illumon.iris.db.util
Class PythonRemoteQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Object>
com.illumon.iris.db.util.PythonRemoteQuery
- All Implemented Interfaces:
RemoteQuery<Object>,Serializable
public class PythonRemoteQuery extends ContextAwareRemoteQuery<Object>
Wraps up a python object for execution on the remote side.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPythonRemoteQuery.PickledResult -
Constructor Summary
Constructors Constructor Description PythonRemoteQuery(byte[] dilledObject, String pythonVersion) -
Method Summary
Modifier and Type Method Description Objectexecute(Database database)Execute a query on a remote host.booleangetAutoDeflate()StringgetPythonVersion()PythonRemoteQuerysetAutoDeflate(boolean autoDeflate)Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Constructor Details
-
Method Details
-
getPythonVersion
-
setAutoDeflate
-
getAutoDeflate
public boolean getAutoDeflate() -
execute
Description copied from interface:RemoteQueryExecute a query on a remote host.- Parameters:
database- database to use for execution.- Returns:
- result of the query.
-