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