|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infinispan.lucene.LuceneKey2StringMapper
public class LuceneKey2StringMapper
To configure a JdbcStringBasedCacheStoreConfig for the Lucene Directory, use this Key2StringMapper implementation.
JdbcStringBasedCacheStoreConfig.setKey2StringMapperClass(String)| Constructor Summary | |
|---|---|
LuceneKey2StringMapper()
|
|
| Method Summary | |
|---|---|
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? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneKey2StringMapper()
| Method Detail |
|---|
public boolean isSupportedType(Class<?> keyType)
Key2StringMapper
isSupportedType in interface Key2StringMapperkeyType - type to test
public String getStringMapping(Object key)
Key2StringMapper
getStringMapping in interface Key2StringMapperkey - key to map to a String
public Object getKeyMapping(String key)
getKeyMapping in interface TwoWayKey2StringMapperkey - string representation of a key
ChunkCacheKey.toString(),
FileCacheKey.toString(),
FileListCacheKey.toString(),
FileReadLockKey.toString()
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||