com.flipkart.hbaseobjectmapper.exceptions.MappedColumnCantBeTransientException 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 java.lang.reflect.Field;
public class MappedColumnCantBeTransientException extends IllegalArgumentException {
public MappedColumnCantBeTransientException(Field field, String hbColumnName) {
super(String.format("In class \"%s\", the field \"%s\" is annotated with \"%s\", but is declared as transient (Transient fields cannot be persisted)", field.getDeclaringClass().getName(), field.getName(), hbColumnName));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy