Class XmlTestImportQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Inflatable<Table>>
com.illumon.iris.pqimport.gui.AbstractTestImportQuery
com.illumon.iris.pqimport.gui.xml.XmlTestImportQuery
- All Implemented Interfaces:
RemoteQuery<Inflatable<Table>>
,Serializable
This is a local in-memory table instantiation from a schema document, tightly coupled to XML representation and the Schema Editor
- See Also:
-
Field Summary
Fields inherited from class com.illumon.iris.pqimport.gui.AbstractTestImportQuery
nextSerial, schemaElement, typeSpecificFields
-
Constructor Summary
ConstructorsConstructorDescriptionXmlTestImportQuery
(org.jdom2.Element schemaElement, Map<String, Object> typeSpecificFields) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected PreviewTableImportTableWriterFactory
doImportAndGetWriterFactory
(com.fishlib.io.logger.Logger logger) Generates an in memory preview table or table stored at a temp location using the provided properties.protected String
Returns an implementation specific informative error message when no partitions were generated.Methods inherited from class com.illumon.iris.pqimport.gui.AbstractTestImportQuery
execute, getPreviewTable
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Constructor Details
-
XmlTestImportQuery
Constructor.- Parameters:
schemaElement
- The schema element for the import query whose preview table is being generatedtypeSpecificFields
- The type specific fields map object that has all the extracted values from the current import query
-
-
Method Details
-
getNoDataError
Description copied from class:AbstractTestImportQuery
Returns an implementation specific informative error message when no partitions were generated.- Overrides:
getNoDataError
in classAbstractTestImportQuery
- Returns:
- error message that no data was found.
-
doImportAndGetWriterFactory
@NotNull protected PreviewTableImportTableWriterFactory doImportAndGetWriterFactory(@NotNull com.fishlib.io.logger.Logger logger) Generates an in memory preview table or table stored at a temp location using the provided properties.- Specified by:
doImportAndGetWriterFactory
in classAbstractTestImportQuery
- Parameters:
logger
- The (logger) of the current process- Returns:
- The generated preview table instance
-