com.fnklabs.draenei.orm.annotations.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fnklabs-draenei Show documentation
Show all versions of fnklabs-draenei Show documentation
ORM for Cassandra but with distributed cache and analytics utils from package
package com.fnklabs.draenei.orm.annotations;
import com.datastax.driver.core.ConsistencyLevel;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Table {
String name();
boolean compactStorage() default false;
int fetchSize() default 500;
ConsistencyLevel consistencyLevel() default ConsistencyLevel.QUORUM;
}