com.flipkart.hbaseobjectmapper.exceptions.DuplicateCodecFlagForColumnException 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.exceptions;
import java.lang.annotation.Annotation;
public class DuplicateCodecFlagForColumnException extends IllegalArgumentException {
public DuplicateCodecFlagForColumnException(Class> recordClass, String fieldName, Class extends Annotation> annotationClass, String flagName) {
super(String.format("The @%s annotation on field %s on class %s has duplicate codec flags (See flag %s)", annotationClass, fieldName, recordClass, flagName));
}
}