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

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.mapping.ResultAccessor
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnnotationResultAccessor, HRecordResultAccessor, ReflectionResultAccessor

public abstract class ResultAccessor
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

ResultAccessor

public ResultAccessor()

ResultAccessor

public ResultAccessor(MappingContext mappingContext)
Method Detail

getMappingContext

public MappingContext getMappingContext()

getMapping

public Mapping getMapping()

getTableMapping

public TableMapping getTableMapping()
                             throws HBqlException
Throws:
HBqlException

newObject

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

getKeyAttrib

public ColumnAttrib getKeyAttrib()
                          throws HBqlException
Throws:
HBqlException

getColumnAttribByQualifiedName

public abstract ColumnAttrib getColumnAttribByQualifiedName(String familyName,
                                                            String columnName)
                                                     throws HBqlException
Throws:
HBqlException

getColumnAttribByName

public abstract ColumnAttrib getColumnAttribByName(String name)
                                            throws HBqlException
Throws:
HBqlException

getVersionAttrib

public ColumnAttrib getVersionAttrib(String familyName,
                                     String columnName)
                              throws HBqlException
Throws:
HBqlException

getVersionAttrib

public abstract ColumnAttrib getVersionAttrib(String name)
                                       throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.