org.apache.yaoql.impl
Class ReflectionResultAccessor

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

public class ReflectionResultAccessor
extends ResultAccessor

See Also:
Serialized Form

Constructor Summary
ReflectionResultAccessor(Object object)
           
 
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

ReflectionResultAccessor

public ReflectionResultAccessor(Object object)
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.