public class SchemaUtils$ extends Object
| Modifier and Type | Field and Description |
|---|---|
static SchemaUtils$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
SchemaUtils$() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.types.StructType |
convertToStruct(org.elasticsearch.hadoop.serialization.dto.mapping.Mapping mapping,
Map<String,org.elasticsearch.hadoop.serialization.dto.mapping.GeoField> geoInfo,
Settings cfg) |
scala.Tuple2<Properties,Properties> |
detectRowInfo(Settings settings,
org.apache.spark.sql.types.StructType struct) |
SchemaUtils.Schema |
discoverMapping(Settings cfg) |
scala.Tuple2<org.elasticsearch.hadoop.serialization.dto.mapping.Mapping,Map<String,org.elasticsearch.hadoop.serialization.dto.mapping.GeoField>> |
discoverMappingAndGeoFields(Settings cfg) |
scala.Tuple2<scala.collection.mutable.LinkedHashMap<String,scala.collection.immutable.Seq<String>>,LinkedHashSet<String>> |
getRowInfo(Settings settings) |
void |
setRowInfo(Settings settings,
org.apache.spark.sql.types.StructType struct) |
public static final SchemaUtils$ MODULE$
public SchemaUtils.Schema discoverMapping(Settings cfg)
public scala.Tuple2<org.elasticsearch.hadoop.serialization.dto.mapping.Mapping,Map<String,org.elasticsearch.hadoop.serialization.dto.mapping.GeoField>> discoverMappingAndGeoFields(Settings cfg)
public org.apache.spark.sql.types.StructType convertToStruct(org.elasticsearch.hadoop.serialization.dto.mapping.Mapping mapping,
Map<String,org.elasticsearch.hadoop.serialization.dto.mapping.GeoField> geoInfo,
Settings cfg)
public void setRowInfo(Settings settings, org.apache.spark.sql.types.StructType struct)
public scala.Tuple2<scala.collection.mutable.LinkedHashMap<String,scala.collection.immutable.Seq<String>>,LinkedHashSet<String>> getRowInfo(Settings settings)
public scala.Tuple2<Properties,Properties> detectRowInfo(Settings settings, org.apache.spark.sql.types.StructType struct)