Package it.unibo.alchemist.loader.export.exporters
Types
Link copied to clipboard
class CSVExporter<T, P : Position<P>> @JvmOverloads constructor( fileNameRoot: String = "", val interval: Double = DEFAULT_INTERVAL, val exportPath: String = createTempDirectory("alchemist-export").absolutePathString()
.also { logger.warn("No output folder specified but export required. Alchemist will export data in $it") }, val fileExtension: String = "csv", appendTime: Boolean = false) : AbstractExporter<T, P>
Content copied to clipboard
Writes on file data provided by a number of {@link Extractor}s. Produces a CSV with '#' as comment character.e
Link copied to clipboard
class GlobalExporter<T, P : Position<P>>(exporters: List<Exporter<T, P>>) : OutputMonitor<T, P>
Content copied to clipboard
Contains all exporters selected in the configuration file. Implements the OutputMonitor interface and delegate the export phase to each one of his internal exporters.
Link copied to clipboard
class MongoDBExporter<T, P : Position<P>> @JvmOverloads constructor( val uri: String, val dbName: String = DEFAULT_DATABASE, val interval: Double = DEFAULT_INTERVAL, appendTime: Boolean = false) : AbstractExporter<T, P>
Content copied to clipboard
Exports data provided by a list of it.unibo.alchemist.loader.export.Extractors on a MongoDB instance.
Link copied to clipboard
Contains all the functions in order to use MongoDB Database.