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

com.flipkart.hbaseobjectmapper.exceptions.ColumnFamilyNotInHBTableException 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. This can also be used as an ORM for Bigtable.

The newest version!
package com.flipkart.hbaseobjectmapper.exceptions;

import com.flipkart.hbaseobjectmapper.HBTable;

public class ColumnFamilyNotInHBTableException extends IllegalArgumentException {
    public ColumnFamilyNotInHBTableException(String clazzName, String fieldName, String family, String column) {
        super(String.format("Field '%s' of class '%s' is mapped to HBase column '%s:%s' - but column family '%s' isn't specified in class's @%s annotation",
                fieldName, clazzName, family, column, family, HBTable.class.getSimpleName()
        ));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy