com.flipkart.hbaseobjectmapper.exceptions.MissingHBRowKeyFieldsException 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
package com.flipkart.hbaseobjectmapper.exceptions;
import com.flipkart.hbaseobjectmapper.HBRowKey;
public class MissingHBRowKeyFieldsException extends IllegalArgumentException {
public MissingHBRowKeyFieldsException(Class clazz) {
super(String.format("Class %s doesn't even have a single field annotated with %s (how else would you construct the row key for HBase record?)", clazz.getName(), HBRowKey.class.getName()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy