Package org.keycloak.models.map.common
Class StringKeyConverter.ULongKey
java.lang.Object
org.keycloak.models.map.common.StringKeyConverter.ULongKey
- All Implemented Interfaces:
 StringKeyConverter<Long>
- Enclosing interface:
 - StringKeyConverter<K>
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.StringKeyConverter
StringKeyConverter.StringKey, StringKeyConverter.ULongKey, StringKeyConverter.UUIDKey - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfromString(String key) Returns native representation of the key from String representationkeyToString(Long key) Returns String representation of the key from native representationReturns a new unique primary key for the storage that thisStringKeyConverterbelongs to.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.StringKeyConverter
fromStringSafe 
- 
Field Details
- 
INSTANCE
 
 - 
 - 
Constructor Details
- 
ULongKey
public ULongKey() 
 - 
 - 
Method Details
- 
keyToString
Description copied from interface:StringKeyConverterReturns String representation of the key from native representation- Specified by:
 keyToStringin interfaceStringKeyConverter<Long>- Returns:
 - See above
 
 - 
fromString
Description copied from interface:StringKeyConverterReturns native representation of the key from String representation- Specified by:
 fromStringin interfaceStringKeyConverter<Long>- Returns:
 - See above
 
 - 
yieldNewUniqueKey
Description copied from interface:StringKeyConverterReturns a new unique primary key for the storage that thisStringKeyConverterbelongs to. The uniqueness needs to be guaranteed by e.g. using database sequences or using a random value that is proved sufficiently improbable to be repeated.- Specified by:
 yieldNewUniqueKeyin interfaceStringKeyConverter<Long>- Returns:
 
 
 -