Skip to main content

Extractor

A wrapper for an extractor, used by the extractor service

Properties​

NameDescriptionType
categoryThe category of this script, e.g. ETLString
descriptionA description of what this script doesString
filenameThe filename of this scriptString
outputFormatAn optional output format, e.g. application/xml, text/html, text/csvString
scriptThe script textString
scriptTypeThe type of this script, e.g. one of [odsl, mustache, py, css, html, js, mjs, cjs]String

Methods​

NameDescriptionReturn Type
loadFrom(file)Load the script from a local fileVoid
run()Runs this scriptVoid
run(globalContext)Runs this scriptVoid