Class CsvTestImportQuery

All Implemented Interfaces:
RemoteQuery<Inflatable<Table>>, Serializable

public class CsvTestImportQuery extends AbstractTestImportQuery
This is a local in-memory table instantiation from a schema document, tightly coupled to XML representation and the Schema Editor
See Also:
  • Constructor Details

    • CsvTestImportQuery

      public CsvTestImportQuery(org.jdom2.Element schemaElement, Map<String,Object> typeSpecificFields)
      Constructor.
      Parameters:
      schemaElement - The schema element for the import query whose preview table is being generated
      typeSpecificFields - 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 class AbstractTestImportQuery
      Parameters:
      logger - The (logger) of the current process
      Returns:
      The table writer factory used in the preview table import