public boolean isCategory(PrimitiveCategory category) {
      return columnType.getCategory() == ObjectInspector.Category.PRIMITIVE &&
          ((PrimitiveTypeInfo)columnType).getPrimitiveCategory() == category;
    }
Represents a mapping from a single Hive column to an HBase column qualifier, column family or row key.
hbase-handler/src/java/org/apache/hadoop/hive/hbase/ColumnMappings.java