I am trying to create the object of ParquetWriter class which accepts the argument (OutputFile, Mode, WriteSupport, CompressionCodecName, int, boolean, Configuration, int, ParquetProperties). But this constructor has default access modifier in the API which I use. I can't able to access it.
I had included the parquet library from maven
compile group: 'org.apache.parquet', name: 'parquet-hadoop', version: '1.10.1'
I even tried to extend that class but still, I got the error constructor not visible
public class MyParquetWriter extends ParquetWriter{
MyParquetWriter(OutputFile file, Mode mode, WriteSupport writeSupport, CompressionCodecName compressionCodecName,
int rowGroupSize, boolean validating, Configuration conf, int maxPaddingSize,
ParquetProperties encodingProps) throws IOException {
super(file, mode, writeSupport, compressionCodecName, rowGroupSize, validating, conf, maxPaddingSize, encodingProps);
}
}
How can I use this constructor in my project?