anchor.diff:  
   [source,java]
   ----
  -import static org.elasticsearch.spark.rdd.java.api.JavaEsSpark.*;   <1>
  +import static org.elasticsearch.spark.rdd.api.java.JavaEsSpark.*;   <1>
   
   ...
   JavaRDD<Map<String, Object>> esRDD =
  
positive.code: [source,java]
  ----
  import org.apache.spark.api.java.JavaSparkContext;               <1>
  import org.elasticsearch.spark.rdd.java.api.JavaEsSpark;             <2>
  ...
  
  SparkConf conf = ...
  
negative.code: [[spark-sql-write-java]]
  ===== Java
  
  In a similar fashion, for Java usage the dedicated package +org.elasticsearch.spark.sql.api.java+ provides similar functionality through the +JavaEsSpark SQL+ :
  
  [source,java]
  ----
  