Closed mareksimunek closed 6 years ago
I think we squeeze this into 0.8 release, although it is a breaking change.
I marked constructors as deprecated so it can be in 0.8 release and we can make them private it in next version.
I redesigned builder API as we discussed to be same as in another classes and to force user to set mandatory fields
SequenceFileSink
.of(KeyClass, ValueClass)
.outputPath(outputDir)
(.withCompression( CompressionClass, CompressionType) )
(.withConfiguration(conf) )
.build();
In brackets are optional setters.
good job! 👍
Breaking change because constructor of
SequenceFileSink
is now private. Consider to which version of euphoria to put it.