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