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

com.flipkart.hbaseobjectmapper.exceptions.FieldNotMappedToHBaseColumnException 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

There is a newer version: 1.19
Show newest version
package com.flipkart.hbaseobjectmapper.exceptions;

import com.flipkart.hbaseobjectmapper.HBColumn;
import com.flipkart.hbaseobjectmapper.HBColumnMultiVersion;

public class FieldNotMappedToHBaseColumnException extends IllegalArgumentException {
    public FieldNotMappedToHBaseColumnException(Class hbRecordClass, String fieldName) {
        super(String.format("Field %s.%s is not mapped to an HBase column (consider adding %s or %s annotation)", hbRecordClass.getSimpleName(), fieldName, HBColumn.class.getSimpleName(), HBColumnMultiVersion.class.getSimpleName()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy