Package com.illumon.iris.pqimport
Class XmlImportPersistentQuery
- All Implemented Interfaces:
RemoteQuery<PersistentQueryState>
,Serializable
public class XmlImportPersistentQuery extends BaseImportPersistentQuery
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGURATION_TYPE
static String
CONSTANT
static String
DELIMITER
static String
ELEMENT_TYPE
static String
MAX_DEPTH_ELEMENT
static String
SOURCE_DIRECTORY
static String
SOURCE_FILE
static String
SOURCE_GLOB
static String
START_DEPTH_ELEMENT
static String
START_INDEX_ELEMENT
static String
SUBSTITUTION_DATE_FORMAT
static String
USE_ATTRIBUTE_VALUES
static String
USE_ELEMENT_VALUES
static String
USE_NAMED_VALUES
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
-
Constructor Summary
Constructors Constructor Description XmlImportPersistentQuery(PersistentQueryConfiguration config, String scriptBody, PersistentQueryDbServerConfig dbServerConfig, ControllerConfigurationType configurationType, ScriptPathLoaderState scriptLoaderState)
-
Method Summary
Modifier and Type Method Description protected void
doImport(PersistentQueryConfiguration config, org.jdom2.Element importSource, ImportOutputMode outputMode, ImportTableWriterFactory importTableWriterFactory, String intradayPartitionColumn, Boolean strict, RemoteCommandProgress progress, String columnPartitionValue, Database database, TableDefinitionSchema schema)
protected String
getConfigurationType()
protected String
getImportSourceType()
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Field Details
-
CONFIGURATION_TYPE
- See Also:
- Constant Field Values
-
SOURCE_FILE
- See Also:
- Constant Field Values
-
SOURCE_GLOB
- See Also:
- Constant Field Values
-
SOURCE_DIRECTORY
- See Also:
- Constant Field Values
-
DELIMITER
- See Also:
- Constant Field Values
-
CONSTANT
- See Also:
- Constant Field Values
-
SUBSTITUTION_DATE_FORMAT
- See Also:
- Constant Field Values
-
START_INDEX_ELEMENT
- See Also:
- Constant Field Values
-
START_DEPTH_ELEMENT
- See Also:
- Constant Field Values
-
MAX_DEPTH_ELEMENT
- See Also:
- Constant Field Values
-
ELEMENT_TYPE
- See Also:
- Constant Field Values
-
USE_ELEMENT_VALUES
- See Also:
- Constant Field Values
-
USE_ATTRIBUTE_VALUES
- See Also:
- Constant Field Values
-
USE_NAMED_VALUES
- See Also:
- Constant Field Values
-
-
Constructor Details
-
XmlImportPersistentQuery
public XmlImportPersistentQuery(PersistentQueryConfiguration config, String scriptBody, PersistentQueryDbServerConfig dbServerConfig, ControllerConfigurationType configurationType, ScriptPathLoaderState scriptLoaderState)
-
-
Method Details
-
doImport
protected void doImport(PersistentQueryConfiguration config, org.jdom2.Element importSource, ImportOutputMode outputMode, ImportTableWriterFactory importTableWriterFactory, String intradayPartitionColumn, Boolean strict, RemoteCommandProgress progress, String columnPartitionValue, Database database, TableDefinitionSchema schema)- Specified by:
doImport
in classBaseImportPersistentQuery
-
getConfigurationType
- Specified by:
getConfigurationType
in classBaseImportPersistentQuery
-
getImportSourceType
- Specified by:
getImportSourceType
in classBaseImportPersistentQuery
-