public class DefaultColumnFamilyNameConverter extends Object implements ColumnFamilyNameConverter
ColumnFamilyNameConverter
implementation that works as follows: If the type names
length does not exceed a 48 characters length, the dots in the type name will be replaced by
underscores. Otherwise, the type simple name (without the packages prefix) will be used with the
first 6 chars of the string representation of the given type name MD5 hash to avoid name
collisions. If the above also exceeds a 48 characters length, the simple name will be truncated
to its first 42 characters and concatenated with the MD5 suffix mentioned above.Constructor and Description |
---|
DefaultColumnFamilyNameConverter() |
public String toColumnFamilyName(String typeName)
toColumnFamilyName
in interface ColumnFamilyNameConverter
typeName
- The type name matching the column family name.Copyright © GigaSpaces.