datapilot-cli
Version:
Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform
29 lines (27 loc) • 546 B
JavaScript
;
const BaseXform = require('../base-xform');
class DimensionXform extends BaseXform {
get tag() {
return 'dimension';
}
render(xmlStream, model) {
if (model) {
xmlStream.leafNode('dimension', {
ref: model
});
}
}
parseOpen(node) {
if (node.name === 'dimension') {
this.model = node.attributes.ref;
return true;
}
return false;
}
parseText() {}
parseClose() {
return false;
}
}
module.exports = DimensionXform;
//# sourceMappingURL=dimension-xform.js.map