public static class TruncateFunction.TruncateString extends TruncateFunction.TruncateBase<org.apache.spark.unsafe.types.UTF8String>
Constructor and Description |
---|
TruncateString() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canonicalName() |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static org.apache.spark.unsafe.types.UTF8String |
invoke(int width,
org.apache.spark.unsafe.types.UTF8String value) |
org.apache.spark.unsafe.types.UTF8String |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
org.apache.spark.sql.types.DataType |
resultType() |
name
public static org.apache.spark.unsafe.types.UTF8String invoke(int width, org.apache.spark.unsafe.types.UTF8String value)
public org.apache.spark.sql.types.DataType[] inputTypes()
public org.apache.spark.sql.types.DataType resultType()
public java.lang.String canonicalName()
public org.apache.spark.unsafe.types.UTF8String produceResult(org.apache.spark.sql.catalyst.InternalRow input)