Class TruncateFunction.TruncateSmallInt
- java.lang.Object
-
- org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase<java.lang.Short>
-
- org.apache.iceberg.spark.functions.TruncateFunction.TruncateSmallInt
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.spark.sql.connector.catalog.functions.BoundFunction,org.apache.spark.sql.connector.catalog.functions.Function,org.apache.spark.sql.connector.catalog.functions.ScalarFunction<java.lang.Short>
- Enclosing class:
- TruncateFunction
public static class TruncateFunction.TruncateSmallInt extends TruncateFunction.TruncateBase<java.lang.Short>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TruncateSmallInt()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcanonicalName()org.apache.spark.sql.types.DataType[]inputTypes()static shortinvoke(int width, short value)java.lang.ShortproduceResult(org.apache.spark.sql.catalyst.InternalRow input)org.apache.spark.sql.types.DataTyperesultType()-
Methods inherited from class org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase
name
-
-
-
-
Method Detail
-
invoke
public static short invoke(int width, short value)
-
inputTypes
public org.apache.spark.sql.types.DataType[] inputTypes()
-
resultType
public org.apache.spark.sql.types.DataType resultType()
-
canonicalName
public java.lang.String canonicalName()
-
produceResult
public java.lang.Short produceResult(org.apache.spark.sql.catalyst.InternalRow input)
-
-