ravendb
Version:
RavenDB client for Node.js
24 lines • 832 B
JavaScript
import { EtlConfiguration } from "../EtlConfiguration.js";
export class OlapEtlConfiguration extends EtlConfiguration {
runFrequency;
format;
customPartitionValue;
olapTables;
etlType = "Olap";
serialize(conventions) {
const result = super.serialize(conventions);
result.RunFrequency = this.runFrequency;
result.Format = this.format;
result.CustomPartitionValue = this.customPartitionValue;
result.OlapTables = this.olapTables ? this.olapTables.map(this.serializeOlapTable) : null;
result.EtlType = this.etlType;
return result;
}
serializeOlapTable(etlTable) {
return {
TableName: etlTable.tableName,
DocumentIdColumn: etlTable.documentIdColumn
};
}
}
//# sourceMappingURL=OlapEtlConfiguration.js.map