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