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

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

public class ImproperHBTableAnnotationExceptions {

    private ImproperHBTableAnnotationExceptions() {
        throw new UnsupportedOperationException("This is a wrapper class for exceptions; not to be instantiated");
    }

    public static class MissingHBTableAnnotationException extends IllegalArgumentException {
        public MissingHBTableAnnotationException(String message) {
            super(message);
        }
    }

    public static class EmptyTableNameOnHBTableAnnotationException extends IllegalArgumentException {
        public EmptyTableNameOnHBTableAnnotationException(String message) {
            super(message);
        }
    }

    public static class EmptyColumnFamilyOnHBTableAnnotationException extends IllegalArgumentException {
        public EmptyColumnFamilyOnHBTableAnnotationException(String message) {
            super(message);
        }
    }

    public static class InvalidValueForVersionsOnHBTableAnnotationException extends IllegalArgumentException {
        public InvalidValueForVersionsOnHBTableAnnotationException(String message) {
            super(message);
        }

    }

    public static class DuplicateColumnFamilyNamesOnHBTableAnnotationException extends IllegalArgumentException {
        public DuplicateColumnFamilyNamesOnHBTableAnnotationException(String message) {
            super(message);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy