Package org.infinispan.query
Interface Transformer
-
public interface TransformerConverts objects (cache keys only) to and from their Java types to String representations so that Infinispan can index them. You need to convert custom types only. Infinispan transforms boxed primitives, java.lang.String, java.util.UUID, and byte arrays internally.Implementations must be thread-safe! It is recommended they are also stateless.
- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectfromString(String str)Transforms a String into an Object.StringtoString(Object obj)Transforms an Object into a String.
-