com.flipkart.hbaseobjectmapper.Records Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbase-object-mapper Show documentation
Show all versions of hbase-object-mapper Show documentation
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.
This can also be used as an ORM for Bigtable.
The newest version!
package com.flipkart.hbaseobjectmapper;
import java.io.Closeable;
import java.io.Serializable;
/**
* This class is the return type of all 'records' methods of {@link AbstractHBDAO} & {@link ReactiveHBDAO} classes, which enable you to iterate over large number of records
* (e.g. {@link AbstractHBDAO#records(Serializable, Serializable) AbstractHBDAO.records(R, R)}).
*
* Users of this library are not expected to instantiate this class on their own.
*
* Note: This class is not thread-safe. If you intend to scan records across multiple threads, keep different filter criteria for each thread.
*
* @param record type
*/
@SuppressWarnings("rawtypes")
public interface Records extends Closeable, Iterable {
}