public static class TruncateFunction.TruncateSmallInt extends TruncateFunction.TruncateBase<java.lang.Short>
| Constructor and Description |
|---|
TruncateSmallInt() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
canonicalName() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static short |
invoke(int width,
short value) |
java.lang.Short |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
org.apache.spark.sql.types.DataType |
resultType() |
namepublic static short invoke(int width,
short 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.Short produceResult(org.apache.spark.sql.catalyst.InternalRow input)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object