Class TruncateFunction.TruncateBigInt
java.lang.Object
org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase<Long>
org.apache.iceberg.spark.functions.TruncateFunction.TruncateBigInt
- All Implemented Interfaces:
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<Long>
- Enclosing class:
- TruncateFunction
- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction
MAGIC_METHOD_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
org.apache.spark.sql.types.DataType[]
static long
invoke
(int width, long value) produceResult
(org.apache.spark.sql.catalyst.InternalRow input) org.apache.spark.sql.types.DataType
Methods inherited from class org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase
name
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
isDeterministic, isResultNullable
-
Constructor Details
-
TruncateBigInt
public TruncateBigInt()
-
-
Method Details
-
invoke
public static long invoke(int width, long value) -
inputTypes
public org.apache.spark.sql.types.DataType[] inputTypes() -
resultType
public org.apache.spark.sql.types.DataType resultType() -
canonicalName
-
produceResult
-
hashCode
public int hashCode() -
equals
-