Class EqualityAndHashcodeProvider
java.lang.Object
org.apache.flink.table.runtime.util.EqualityAndHashcodeProvider
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable
@Internal
public class EqualityAndHashcodeProvider
extends Object
implements Closeable, Serializable
This class is used for scalar function, in that it is used for sharing the initialization context
between scalar functions that need code generated hashcode and equals method.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEqualityAndHashcodeProvider(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.DataType dataType) -
Method Summary
-
Constructor Details
-
EqualityAndHashcodeProvider
public EqualityAndHashcodeProvider(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.DataType dataType)
-
-
Method Details
-
open
- Throws:
Exception
-
equals
-
hashCode
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-