public final class LuceneKey2StringMapper extends Object implements TwoWayKey2StringMapper
JdbcStringBasedStoreConfigurationBuilder.key2StringMapper(String)| Constructor and Description |
|---|
LuceneKey2StringMapper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getKeyMapping(String key)
This method has to perform the inverse transformation of the keys used in the Lucene
Directory from String to object.
|
String |
getStringMapping(Object key)
Must return an unique String for the supplied key.
|
boolean |
isSupportedType(Class<?> keyType)
Do we support this key type?
|
public boolean isSupportedType(Class<?> keyType)
Key2StringMapperisSupportedType in interface Key2StringMapperkeyType - type to testpublic String getStringMapping(Object key)
Key2StringMappergetStringMapping in interface Key2StringMapperkey - key to map to a Stringpublic Object getKeyMapping(String key)
getKeyMapping in interface TwoWayKey2StringMapperkey - string representation of a keyChunkCacheKey.toString(),
FileCacheKey.toString(),
FileListCacheKey.toString(),
FileReadLockKey.toString()Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.