--- a/include/relpipe/writer/RelationalWriter.h Sat Apr 23 21:09:24 2022 +0200
+++ b/include/relpipe/writer/RelationalWriter.h Sat Apr 23 23:23:29 2022 +0200
@@ -25,6 +25,7 @@
#include "typedefs.h"
#include "TypeId.h"
#include "AttributeMetadata.h"
+#include "BufferingMode.h"
namespace relpipe {
namespace writer {
@@ -71,6 +72,13 @@
*/
virtual void writeAttribute(const void* value, const std::type_info& type) = 0;
+
+ /**
+ * @param mode buffering mode to be set
+ * @param envDefault if mode is ENVIRONMENT but given environmental variable is not set, this defaul is used
+ */
+ virtual void setBufferingMode(BufferingMode mode, BufferingMode envDefault = BufferingMode::AUTO) = 0;
+
};
}