Class TruncateFunction.TruncateTinyInt
- java.lang.Object
-
- org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase<java.lang.Byte>
-
- org.apache.iceberg.spark.functions.TruncateFunction.TruncateTinyInt
-
- 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.Byte>
- Enclosing class:
- TruncateFunction
public static class TruncateFunction.TruncateTinyInt extends TruncateFunction.TruncateBase<java.lang.Byte>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TruncateTinyInt()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
canonicalName()
org.apache.spark.sql.types.DataType[]
inputTypes()
static byte
invoke(int width, byte value)
java.lang.Byte
produceResult(org.apache.spark.sql.catalyst.InternalRow input)
org.apache.spark.sql.types.DataType
resultType()
-
Methods inherited from class org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase
name
-
-
-
-
Method Detail
-
invoke
public static byte invoke(int width, byte 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.Byte produceResult(org.apache.spark.sql.catalyst.InternalRow input)
-
-