
org.elasticsearch.spark.sql.DefaultSource15.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-spark-13_2.11 Show documentation
Show all versions of elasticsearch-spark-13_2.11 Show documentation
Elasticsearch Spark (for Spark 1.3-1.6)
package org.elasticsearch.spark.sql
import org.apache.spark.sql.sources.DataSourceRegister
// extension of DefaultSource (which is Spark 1.3 and 1.4 compatible)
// for Spark 1.5 compatibility
// since the class is loaded through META-INF/services we can decouple the two
// to have Spark 1.5 byte-code loaded lazily
class DefaultSource15 extends DefaultSource with DataSourceRegister {
override def shortName(): String = "es"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy