Package org.apache.ignite.cache
Class CacheKeyConfiguration
- java.lang.Object
- 
- org.apache.ignite.cache.CacheKeyConfiguration
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class CacheKeyConfiguration extends Object implements Serializable Configuration defining various aspects of cache keys without explicit usage of annotations on user classes.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CacheKeyConfiguration()Creates an empty cache key configuration that should be populated via setters.CacheKeyConfiguration(Class keyCls)CacheKeyConfiguration(String typeName, String affKeyFieldName)Creates cache key configuration with given type name and affinity field name.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAffinityKeyFieldName()Gets affinity key field name.StringgetTypeName()Sets type name for which affinity field name is being defined.inthashCode()CacheKeyConfigurationsetAffinityKeyFieldName(String affKeyFieldName)Sets affinity key field name.CacheKeyConfigurationsetTypeName(String typeName)StringtoString()
 
- 
- 
- 
Constructor Detail- 
CacheKeyConfigurationpublic CacheKeyConfiguration() Creates an empty cache key configuration that should be populated via setters.
 - 
CacheKeyConfigurationpublic CacheKeyConfiguration(Class keyCls) - Parameters:
- keyCls- Key class.
 
 
- 
 - 
Method Detail- 
getTypeNamepublic String getTypeName() Sets type name for which affinity field name is being defined.- Returns:
- Type name.
 
 - 
setTypeNamepublic CacheKeyConfiguration setTypeName(String typeName) - Parameters:
- typeName- Type name for which affinity field name is being defined.
- Returns:
- thisfor chaining.
 
 - 
getAffinityKeyFieldNamepublic String getAffinityKeyFieldName() Gets affinity key field name.- Returns:
- Affinity key field name.
 
 - 
setAffinityKeyFieldNamepublic CacheKeyConfiguration setAffinityKeyFieldName(String affKeyFieldName) Sets affinity key field name.- Parameters:
- affKeyFieldName- Affinity key field name.
- Returns:
- thisfor chaining.
 
 
- 
 
-