com.mongodb.spark.PySparkBSONFileOutputFormat Maven / Gradle / Ivy
package com.mongodb.spark;
import com.mongodb.hadoop.BSONFileOutputFormat;
import com.mongodb.spark.pickle.RegisterConstructors;
import com.mongodb.spark.pickle.RegisterPickles;
public class PySparkBSONFileOutputFormat
extends BSONFileOutputFormat {
private static final RegisterPickles PICKLES = new RegisterPickles();
private static final RegisterConstructors CONSTRUCTORS =
new RegisterConstructors();
static {
PICKLES.register();
CONSTRUCTORS.register();
}
}