Package org.infinispan.query
Annotation Type Transformable
-
@Target(TYPE) @Retention(RUNTIME) public @interface Transformable
If you annotate your object with this, it can be used as a valid key for Infinispan to index (unless your key type is a boxed primitive, a String or a byte array in which case it can be used without a transformer).- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends Transformer>
transformer
TheTransformer
to use.
-
-
-
Element Detail
-
transformer
Class<? extends Transformer> transformer
TheTransformer
to use. Please specify your custom transformer instead of relying on the default one which is slow.- Default:
- org.infinispan.query.impl.DefaultTransformer.class
-
-