org.apache.hadoop.hbase.hbql.mapping
Class HRecordResultAccessor

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.mapping.ResultAccessor
      extended by org.apache.hadoop.hbase.hbql.mapping.HRecordResultAccessor
All Implemented Interfaces:
Serializable

public class HRecordResultAccessor
extends ResultAccessor

See Also:
Serialized Form

Constructor Summary
HRecordResultAccessor(MappingContext mappingContext)
           
 
Method Summary
 ColumnAttrib getColumnAttribByName(String name)
           
 ColumnAttrib getColumnAttribByQualifiedName(String familyName, String columnName)
           
 ColumnAttrib getVersionAttrib(String name)
           
 Object newObject(HConnectionImpl conn, MappingContext mappingContext, List<SelectElement> selectElementList, int maxVersions, org.apache.hadoop.hbase.client.Result result)
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.mapping.ResultAccessor
getKeyAttrib, getMapping, getMappingContext, getTableMapping, getVersionAttrib
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HRecordResultAccessor

public HRecordResultAccessor(MappingContext mappingContext)
Method Detail

newObject

public Object newObject(HConnectionImpl conn,
                        MappingContext mappingContext,
                        List<SelectElement> selectElementList,
                        int maxVersions,
                        org.apache.hadoop.hbase.client.Result result)
                 throws HBqlException
Specified by:
newObject in class ResultAccessor
Throws:
HBqlException

getColumnAttribByName

public ColumnAttrib getColumnAttribByName(String name)
                                   throws HBqlException
Specified by:
getColumnAttribByName in class ResultAccessor
Throws:
HBqlException

getColumnAttribByQualifiedName

public ColumnAttrib getColumnAttribByQualifiedName(String familyName,
                                                   String columnName)
                                            throws HBqlException
Specified by:
getColumnAttribByQualifiedName in class ResultAccessor
Throws:
HBqlException

getVersionAttrib

public ColumnAttrib getVersionAttrib(String name)
                              throws HBqlException
Specified by:
getVersionAttrib in class ResultAccessor
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.