Class FileDataLoader

class FileDataLoader : public morpheus::Loader

Very simple raw data loader that takes a list of files containing data that can be converted into a cuDF DataFrame. Loads the files into a cuDF DataFrame and returns a ControlMessage containing the DataFrame.

Public Functions

~FileDataLoader() = default

FileDataLoader() = default

FileDataLoader(nlohmann::json config)

virtual std::shared_ptr<ControlMessage> load(std::shared_ptr<ControlMessage> message, nlohmann::json task) final

Virtual method for loading a control message.

Parameters
  • message – A shared pointer to the control message to be loaded.

  • task – A json object describing the loading task.

Returns

A shared pointer to the loaded control message.

Previous Class FiberQueue
Next Class FileSourceStage
© Copyright 2024, NVIDIA. Last updated on Apr 11, 2024.