public class HiveScriptIOSchema extends Object implements org.apache.spark.sql.catalyst.plans.logical.ScriptInputOutputSchema, HiveInspectors, scala.Product, scala.Serializable
HiveInspectors.typeInfoConversions
Constructor and Description |
---|
HiveScriptIOSchema(scala.collection.Seq<scala.Tuple2<String,String>> inputRowFormat,
scala.collection.Seq<scala.Tuple2<String,String>> outputRowFormat,
String inputSerdeClass,
String outputSerdeClass,
scala.collection.Seq<scala.Tuple2<String,String>> inputSerdeProps,
scala.collection.Seq<scala.Tuple2<String,String>> outputSerdeProps,
boolean schemaLess) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.Map<String,String> |
defaultFormat() |
scala.Tuple2<org.apache.hadoop.hive.serde2.AbstractSerDe,org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> |
initInputSerDe(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> input) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
initInputSoi(org.apache.hadoop.hive.serde2.AbstractSerDe inputSerde,
scala.collection.Seq<String> columns,
scala.collection.Seq<DataType> columnTypes) |
org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector |
initOutputputSoi(org.apache.hadoop.hive.serde2.AbstractSerDe outputSerde) |
scala.Tuple2<org.apache.hadoop.hive.serde2.AbstractSerDe,org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector> |
initOutputSerDe(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> output) |
org.apache.hadoop.hive.serde2.AbstractSerDe |
initSerDe(String serdeClassName,
scala.collection.Seq<String> columns,
scala.collection.Seq<DataType> columnTypes,
scala.collection.Seq<scala.Tuple2<String,String>> serdeProps) |
scala.collection.Seq<scala.Tuple2<String,String>> |
inputRowFormat() |
scala.collection.immutable.Map<String,String> |
inputRowFormatMap() |
String |
inputSerdeClass() |
scala.collection.Seq<scala.Tuple2<String,String>> |
inputSerdeProps() |
scala.collection.Seq<scala.Tuple2<String,String>> |
outputRowFormat() |
scala.collection.immutable.Map<String,String> |
outputRowFormatMap() |
String |
outputSerdeClass() |
scala.collection.Seq<scala.Tuple2<String,String>> |
outputSerdeProps() |
scala.Tuple2<scala.collection.Seq<String>,scala.collection.Seq<DataType>> |
parseAttrs(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> attrs) |
boolean |
schemaLess() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inspectorToDataType, javaClassToDataType, toInspector, toInspector, unwrap, wrap, wrap, wrap, wrapperFor
public HiveScriptIOSchema(scala.collection.Seq<scala.Tuple2<String,String>> inputRowFormat, scala.collection.Seq<scala.Tuple2<String,String>> outputRowFormat, String inputSerdeClass, String outputSerdeClass, scala.collection.Seq<scala.Tuple2<String,String>> inputSerdeProps, scala.collection.Seq<scala.Tuple2<String,String>> outputSerdeProps, boolean schemaLess)
public scala.collection.Seq<scala.Tuple2<String,String>> inputRowFormat()
public scala.collection.Seq<scala.Tuple2<String,String>> outputRowFormat()
public String inputSerdeClass()
public String outputSerdeClass()
public scala.collection.Seq<scala.Tuple2<String,String>> inputSerdeProps()
public scala.collection.Seq<scala.Tuple2<String,String>> outputSerdeProps()
public boolean schemaLess()
public scala.collection.immutable.Map<String,String> defaultFormat()
public scala.collection.immutable.Map<String,String> inputRowFormatMap()
public scala.collection.immutable.Map<String,String> outputRowFormatMap()
public scala.Tuple2<org.apache.hadoop.hive.serde2.AbstractSerDe,org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector> initInputSerDe(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> input)
public scala.Tuple2<org.apache.hadoop.hive.serde2.AbstractSerDe,org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector> initOutputSerDe(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Attribute> output)
public scala.Tuple2<scala.collection.Seq<String>,scala.collection.Seq<DataType>> parseAttrs(scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> attrs)
public org.apache.hadoop.hive.serde2.AbstractSerDe initSerDe(String serdeClassName, scala.collection.Seq<String> columns, scala.collection.Seq<DataType> columnTypes, scala.collection.Seq<scala.Tuple2<String,String>> serdeProps)
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector initInputSoi(org.apache.hadoop.hive.serde2.AbstractSerDe inputSerde, scala.collection.Seq<String> columns, scala.collection.Seq<DataType> columnTypes)
public org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector initOutputputSoi(org.apache.hadoop.hive.serde2.AbstractSerDe outputSerde)