org.apache.hadoop.hbase.hbql.mapping
Class AnnotationResultAccessor
java.lang.Object
org.apache.hadoop.hbase.hbql.mapping.ResultAccessor
org.apache.hadoop.hbase.hbql.mapping.AnnotationResultAccessor
- All Implemented Interfaces:
- Serializable
public class AnnotationResultAccessor
- extends ResultAccessor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isAnnotatedObject
public static boolean isAnnotatedObject(Class<?> clazz)
newAnnotationMapping
public static AnnotationResultAccessor newAnnotationMapping(HConnectionImpl conn,
Class<?> clazz)
throws HBqlException
- Throws:
HBqlException
getKeyAttrib
public ColumnAttrib getKeyAttrib()
throws HBqlException
- Overrides:
getKeyAttrib
in class ResultAccessor
- Throws:
HBqlException
getColumnAttribByQualifiedName
public ColumnAttrib getColumnAttribByQualifiedName(String familyName,
String columnName)
throws HBqlException
- Specified by:
getColumnAttribByQualifiedName
in class ResultAccessor
- Throws:
HBqlException
getColumnAttribByName
public ColumnAttrib getColumnAttribByName(String name)
throws HBqlException
- Specified by:
getColumnAttribByName
in class ResultAccessor
- Throws:
HBqlException
getAttrib
public CurrentValueAnnotationAttrib getAttrib(String name)
getVersionAttrib
public VersionAnnotationAttrib getVersionAttrib(String name)
- Specified by:
getVersionAttrib
in class ResultAccessor
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
Copyright © 2011. All Rights Reserved.