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

com.flipkart.hbaseobjectmapper.Family Maven / Gradle / Ivy

Go to download

HBase ORM is a light-weight, thread-safe and performant library that enables: [1] object-oriented access of HBase rows (Data Access Object) with minimal code and good testability [2] reading from and/or writing to HBase tables in Hadoop MapReduce jobs

There is a newer version: 1.19
Show newest version
package com.flipkart.hbaseobjectmapper;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Represents a column family in HBase
 */
@Target(TYPE)
@Retention(RUNTIME)
public @interface Family {
    /**
     * Column family name
     *
     * @return Column family name
     */
    String name();

    /**
     * Maximum number of versions configured for a given column family of the HBase table
     *
     * @return Max number of versions
     */
    int versions() default 1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy