anchor.diff:  
   .Java
   
  -In a similar fashion, for Java usage the dedicated package +org.elasticsearch.spark.sql.java.api+ provides similar functionality through the +JavaEsSparkSQL+ :
  +In a similar fashion, for Java usage the dedicated package +org.elasticsearch.spark.sql.java.api+ provides similar functionality through the +JavaEsSpark SQL+ :
   
   [source,java]
   ----
   import org.apache.spark.sql.api.java.*;                      <1>
  -import org.elasticsearch.spark.sql.java.api.JavaEsSparkSQL;  <2>
  +import org.elasticsearch.spark.sql.java.api.JavaEsSpark SQL;  <2>
   ...
   
   DataFrame people = ...
  -JavaEsSparkSQL.saveToEs("spark/people");                     <3>
  +JavaEsSpark SQL.saveToEs("spark/people");                     <3>
   ----
   
   <1> Spark SQL Java imports
  
positive.code: 
  [source,java]
  ----
  JavaSchemaRDD people = JavaEsSparkSQL.esRDD(jsql, "spark/people", "?q=Smith" <1>); 
  ----
  
  <1> {es} query backing the {eh} +SchemaRDD+
  
negative.code: 
  [source,java]
  ----
  DataFrame people = JavaEsSpark SQL.esDF(sql, "spark/people", "?q=Smith"  <1>); 
  ----
  
  <1> {es} query backing the {eh} +DataFrame+
  