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 SummaryFields Modifier and Type Field Description static JdbcTypeHasherINSTANCESingleton instance to use.
 - 
Constructor SummaryConstructors Constructor Description JdbcTypeDefaultHasher()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode(Collection<?> values)Calculate hash code for specified object and fields.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final JdbcTypeHasher INSTANCE Singleton instance to use.
 
- 
 - 
Method Detail- 
hashCodepublic int hashCode(Collection<?> values) Calculate hash code for specified object and fields.- Specified by:
- hashCodein interface- JdbcTypeHasher
- Parameters:
- values- Collection of values that should participate in hash code calculation.
- Returns:
- Hash code.
 
 
- 
 
-