public interface BinaryIdMapper
BinaryIdMapper
allows to override the automatically
generated hash code IDs for the type and field names.
Binary ID mapper can be configured for all binary objects via
BinaryConfiguration.getIdMapper()
method,
or for a specific binary type via BinaryTypeConfiguration.getIdMapper()
method.
BinaryNameMapper
int typeId(String typeName)
If 0
is returned, hash code of class simple name will be used.
typeName
- Type name. Type name is a result of BinaryNameMapper.typeName(String)
call for an
initial class or type name.BinaryNameMapper.typeName(String)
int fieldId(int typeId, String fieldName)
If 0
is returned, hash code of field name will be used.
typeId
- Type ID.fieldName
- Field name. Filed anme is a result of BinaryNameMapper.fieldName(String)
call for an
initial filed name.BinaryNameMapper.fieldName(String)
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017