org.apache.hadoop.hbase.hbql.mapping
Class ResultAccessor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultAccessor
public ResultAccessor()
ResultAccessor
public ResultAccessor(MappingContext mappingContext)
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.