All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mongodb.spark.PySparkMongoOutputFormat Maven / Gradle / Ivy

package com.mongodb.spark;

import com.mongodb.hadoop.MongoOutputFormat;
import com.mongodb.spark.pickle.RegisterConstructors;
import com.mongodb.spark.pickle.RegisterPickles;

public class PySparkMongoOutputFormat
  extends MongoOutputFormat {
    private static final RegisterPickles PICKLES = new RegisterPickles();
    private static final RegisterConstructors CONSTRUCTORS =
      new RegisterConstructors();

    static {
        PICKLES.register();
        CONSTRUCTORS.register();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy