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 StringCONFIGURATION_TYPEstatic StringCONSTANTstatic StringDELIMITERstatic StringELEMENT_TYPEstatic StringMAX_DEPTH_ELEMENTstatic StringSOURCE_DIRECTORYstatic StringSOURCE_FILEstatic StringSOURCE_GLOBstatic StringSTART_DEPTH_ELEMENTstatic StringSTART_INDEX_ELEMENTstatic StringSUBSTITUTION_DATE_FORMATstatic StringUSE_ATTRIBUTE_VALUESstatic StringUSE_ELEMENT_VALUESstatic StringUSE_NAMED_VALUESFields 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_MODEFields 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 voiddoImport(PersistentQueryConfiguration config, org.jdom2.Element importSource, ImportOutputMode outputMode, ImportTableWriterFactory importTableWriterFactory, String intradayPartitionColumn, Boolean strict, RemoteCommandProgress progress, String columnPartitionValue, Database database, TableDefinitionSchema schema)protected StringgetConfigurationType()protected StringgetImportSourceType()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:
doImportin classBaseImportPersistentQuery
-
getConfigurationType
- Specified by:
getConfigurationTypein classBaseImportPersistentQuery
-
getImportSourceType
- Specified by:
getImportSourceTypein classBaseImportPersistentQuery
-