Package com.illumon.iris.pqimport
Class DownsampleImportPersistentQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<PersistentQueryState>
com.illumon.iris.pqimport.MergeImportPersistentQuery
com.illumon.iris.pqimport.ImportPersistentQuery
com.illumon.iris.pqimport.DownsampleImportPersistentQuery
- All Implemented Interfaces:
RemoteQuery<PersistentQueryState>
,Serializable
Persistent query that takes a source table, downsamples it and saves into a target table (intraday).
We do not base this on BaseImportPersistentQuery for now because we are using the new import "builder" construct,
which provides much of the same functionality (creates the table writer factory for example).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
protected final PersistentQueryDbServerConfig
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.illumon.iris.pqimport.ImportPersistentQuery
APPEND, IMPORT_SOURCE, INTRADAY_PARTITION_COLUMN, OUTPUT_MODE_APPEND, OUTPUT_MODE_REPLACE, OUTPUT_MODE_SAFE, STRICT, TYPE_SPECIFIC_FIELDS_OUTPUT_MODE
Fields inherited from class com.illumon.iris.pqimport.MergeImportPersistentQuery
PARTITION_SUBSTITUTION, SUBSTITUTION_DATE_FORMAT
-
Constructor Summary
ConstructorsConstructorDescriptionDownsampleImportPersistentQuery
(PersistentQueryConfiguration config, String scriptBody, PersistentQueryDbServerConfig dbServerConfig, ControllerConfigurationType configurationType, ScriptPathLoaderState scriptLoaderState) -
Method Summary
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Field Details
-
CONFIGURATION_TYPE
- See Also:
-
PERIOD
- See Also:
-
KEY_COLUMNS
- See Also:
-
TIMESTAMP_COLUMN
- See Also:
-
SOURCE_NAMESPACE
- See Also:
-
SOURCE_TABLE
- See Also:
-
AGGREGATE_COLUMNS
- See Also:
-
AGGREGATE_TYPES
- See Also:
-
MAINTAIN_STATE_COLUMNS
- See Also:
-
CALENDAR
- See Also:
-
ALL_BINS
- See Also:
-
TIME_BIN_MODE
- See Also:
-
NUM_THREADS
- See Also:
-
dbServerConfig
-
-
Constructor Details
-
DownsampleImportPersistentQuery
public DownsampleImportPersistentQuery(PersistentQueryConfiguration config, String scriptBody, PersistentQueryDbServerConfig dbServerConfig, ControllerConfigurationType configurationType, ScriptPathLoaderState scriptLoaderState)
-
-
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.
-
getConfigurationType
-