All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 "";
		
	int ttl() default 0;
	/**
	 * 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