
com.aerospike.mapper.annotations.AerospikeRecord Maven / Gradle / Ivy
package com.aerospike.mapper.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface AerospikeRecord {
String namespace() default "";
String set() default "";
String shortName() default "";
/**
* The TTL for the record. As this must be a primitive value Integer.MIN_VALUE
is used to indicate that the
* value has not been explicitly set.
*/
int ttl() default Integer.MIN_VALUE;
/**
* Determine whether to add all the bins or not. If true, all bins will be added without having to map them via @AerospikeBin
*/
boolean mapAll() default true;
int version() default 1;
boolean sendKey() default false;
boolean durableDelete() default false;
String factoryClass() default "";
String factoryMethod() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy