--- a/src/Configuration.h Tue Feb 05 12:41:54 2019 +0100
+++ b/src/Configuration.h Tue Feb 05 20:40:32 2019 +0100
@@ -49,24 +49,38 @@
relpipe::writer::string_t guileAfterRecords;
relpipe::writer::string_t guileForEach;
relpipe::writer::string_t guileWhere;
+
/**
* If true, Guile code will be executed, but no output will be generated.
*/
bool drop = false;
+
/**
* Variable definitions for this relation.
* Can be used as a safe way for passing parameters from the outside environment.
* See also Configuration::definitions (can be overridden by relation's definitions)
*/
std::vector<DefinitionRecipe> definitions;
+
/**
* If empty, output relation will have same metadata as the input relation.
*/
std::vector<relpipe::writer::AttributeMetadata> writerMetadata;
+
+ /**
+ * Whether original attributes should be appended to those specified using --output-attribute
+ */
+ bool inputAttributesAppend = false;
+
+ /**
+ * Whether original attributes should be prepended to those specified using --output-attribute
+ */
+ bool inputAttributesPrepend = false;
};
class Configuration {
public:
+
vector<RelationConfiguration> relationConfigurations;
/**
* Global definitions for all relations.