Add the connector's data to the consolidator.
Add the connector's data to the consolidator. For a directory with the following structure:
base_path |-- dir_1 | |-- file1 |-- dir_2 |-- file2
After calling addConnector(connector, Some("new_name"))
, the structure in the compressed zip file will be:
outputPath.zip // outputPath.zip is given during the instantiation of FileConsolidator
|--new_name
|-- dir_1
| |-- file1
|-- dir_2
|-- file2
FileConnector that will be used to load data
name of the directory in the zip output. default is the name of the base directory of the connector
Add the connector's data to the consolidator.
Add the connector's data to the consolidator. For a directory with the following structure:
base_path |-- dir_1 | |-- file1 |-- dir_2 |-- file2
After calling addConnector(connector, Some("new_name"))
, the structure in the compressed zip file will be:
outputPath.zip // outputPath.zip is given during the instantiation of FileConsolidator
|--new_name
|-- dir_1
| |-- file1
|-- dir_2
|-- file2
Repository that will be used to load data
name of the directory in the zip output. default is the name of the base directory of the connector
Zip all the input entries to the given path
Zip all the input entries to the given path
path of the output
Compress an input string into a byte array
Compress an input string into a byte array
Decompress a byte array into an input string
Decompress a byte array into an input string