Class CsvTestImportQuery
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Inflatable<Table>>
com.illumon.iris.pqimport.gui.AbstractTestImportQuery
com.illumon.iris.pqimport.gui.csv.CsvTestImportQuery
- 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
ConstructorsConstructorDescriptionCsvTestImportQuery
(org.jdom2.Element schemaElement, Map<String, Object> typeSpecificFields) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected PreviewTableImportTableWriterFactory
doImportAndGetWriterFactory
(com.fishlib.io.logger.Logger logger) Builds an in memory preview table using a temp location and returns the TableWriterFactory to extract the generated table.Methods inherited from class com.illumon.iris.pqimport.gui.AbstractTestImportQuery
execute, getNoDataError, getPreviewTable
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Constructor Details
-
CsvTestImportQuery
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
-
doImportAndGetWriterFactory
@NotNull protected PreviewTableImportTableWriterFactory doImportAndGetWriterFactory(@NotNull com.fishlib.io.logger.Logger logger) Description copied from class:AbstractTestImportQuery
Builds an in memory preview table using a temp location and returns the TableWriterFactory to extract the generated table. Holds the implementation specific logic on building a preview table- Specified by:
doImportAndGetWriterFactory
in classAbstractTestImportQuery
- Parameters:
logger
- The (logger) of the current process- Returns:
- The table writer factory used in the preview table import
-