Class JdbcTypeDefaultHasher
- java.lang.Object
-
- org.apache.ignite.cache.store.jdbc.JdbcTypeDefaultHasher
-
- All Implemented Interfaces:
Serializable
,JdbcTypeHasher
public class JdbcTypeDefaultHasher extends Object implements JdbcTypeHasher
Default implementation ofJdbcTypeHasher
. This implementation ignores type and field names.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JdbcTypeHasher
INSTANCE
Singleton instance to use.
-
Constructor Summary
Constructors Constructor Description JdbcTypeDefaultHasher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode(Collection<?> values)
Calculate hash code for specified object and fields.
-
-
-
Field Detail
-
INSTANCE
public static final JdbcTypeHasher INSTANCE
Singleton instance to use.
-
-
Method Detail
-
hashCode
public int hashCode(Collection<?> values)
Calculate hash code for specified object and fields.- Specified by:
hashCode
in interfaceJdbcTypeHasher
- Parameters:
values
- Collection of values that should participate in hash code calculation.- Returns:
- Hash code.
-
-