Constructor and Description |
---|
ColumnName(String name) |
Modifier and Type | Method and Description |
---|---|
StructField |
array(DataType dataType)
Creates a new
StructField of type array. |
StructField |
binary()
Creates a new
StructField of type binary. |
StructField |
date()
Creates a new
StructField of type date. |
StructField |
decimal()
Creates a new
StructField of type decimal. |
StructField |
decimal(int precision,
int scale)
Creates a new
StructField of type decimal. |
StructField |
map(DataType keyType,
DataType valueType)
Creates a new
StructField of type map. |
StructField |
map(MapType mapType) |
StructField |
string()
Creates a new
StructField of type string. |
StructField |
struct(scala.collection.Seq<StructField> fields)
Creates a new
StructField of type struct. |
StructField |
struct(StructType structType)
Creates a new
StructField of type struct. |
StructField |
timestamp()
Creates a new
StructField of type timestamp. |
alias, and, apply, as, as, as, as, as, as, asc_nulls_first, asc_nulls_last, asc, between, bitwiseAND, bitwiseOR, bitwiseXOR, cast, cast, contains, desc_nulls_first, desc_nulls_last, desc, divide, endsWith, endsWith, eqNullSafe, equals, equalTo, explain, expr, geq, getField, getItem, gt, hashCode, isin, isin, isInCollection, isInCollection, isNaN, isNotNull, isNull, leq, like, lt, minus, mod, multiply, name, notEqual, or, otherwise, over, over, plus, rlike, startsWith, startsWith, substr, substr, toString, unapply, when
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public StructField array(DataType dataType)
StructField
of type array.dataType
- (undocumented)public StructField binary()
StructField
of type binary.public StructField date()
StructField
of type date.public StructField decimal()
StructField
of type decimal.public StructField decimal(int precision, int scale)
StructField
of type decimal.precision
- (undocumented)scale
- (undocumented)public StructField map(DataType keyType, DataType valueType)
StructField
of type map.keyType
- (undocumented)valueType
- (undocumented)public StructField map(MapType mapType)
public StructField string()
StructField
of type string.public StructField struct(scala.collection.Seq<StructField> fields)
StructField
of type struct.fields
- (undocumented)public StructField struct(StructType structType)
StructField
of type struct.structType
- (undocumented)public StructField timestamp()
StructField
of type timestamp.