Package org.apache.spark.sql.avro
Class AvroUtils
Object
org.apache.spark.sql.avro.AvroUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Helper class to perform field lookup/matching on Avro schemas.static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic scala.Option<StructType>
inferSchema
(SparkSession spark, scala.collection.immutable.Map<String, String> options, scala.collection.Seq<org.apache.hadoop.fs.FileStatus> files) static org.slf4j.Logger
static void
org$apache$spark$internal$Logging$$log__$eq
(org.slf4j.Logger x$1) static org.apache.spark.sql.execution.datasources.OutputWriterFactory
prepareWrite
(org.apache.spark.sql.internal.SQLConf sqlConf, org.apache.hadoop.mapreduce.Job job, scala.collection.immutable.Map<String, String> options, StructType dataSchema) static boolean
supportsDataType
(DataType dataType)
-
Constructor Details
-
AvroUtils
public AvroUtils()
-
-
Method Details
-
inferSchema
public static scala.Option<StructType> inferSchema(SparkSession spark, scala.collection.immutable.Map<String, String> options, scala.collection.Seq<org.apache.hadoop.fs.FileStatus> files) -
supportsDataType
-
prepareWrite
public static org.apache.spark.sql.execution.datasources.OutputWriterFactory prepareWrite(org.apache.spark.sql.internal.SQLConf sqlConf, org.apache.hadoop.mapreduce.Job job, scala.collection.immutable.Map<String, String> options, StructType dataSchema) -
org$apache$spark$internal$Logging$$log_
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_() -
org$apache$spark$internal$Logging$$log__$eq
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1)
-