hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6411) Support more generic way of using composite key for HBaseHandler
Date Wed, 12 Feb 2014 05:29:19 GMT
Navis created HIVE-6411:
---------------------------

             Summary: Support more generic way of using composite key for HBaseHandler
                 Key: HIVE-6411
                 URL: https://issues.apache.org/jira/browse/HIVE-6411
             Project: Hive
          Issue Type: Improvement
          Components: HBase Handler
            Reporter: Navis
            Assignee: Navis
            Priority: Minor


HIVE-2599 introduced using custom object for the row key. But it forces key objects to extend
HBaseCompositeKey, which is again extension of LazyStruct. If user provides proper Object
and OI, we can replace internal key and keyOI with those. 

Initial implementation is based on factory interface.
{code}
public interface HBaseKeyFactory {
  void init(SerDeParameters parameters, Properties properties) throws SerDeException;
  ObjectInspector createObjectInspector(TypeInfo type) throws SerDeException;
  LazyObjectBase createObject(ObjectInspector inspector) throws SerDeException;
}
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message