org.apache.hadoop.hbase.hbql.mapping
Class HRecordAttrib
java.lang.Object
org.apache.hadoop.hbase.hbql.mapping.ColumnAttrib
org.apache.hadoop.hbase.hbql.mapping.HRecordAttrib
- All Implemented Interfaces:
- Serializable
public class HRecordAttrib
- extends ColumnAttrib
- See Also:
- Serialized Form
Methods inherited from class org.apache.hadoop.hbase.hbql.mapping.ColumnAttrib |
equals, getAliasName, getColumnDefinition, getColumnName, getColumnNameAsBytes, getDefaultValue, getFamilyName, getFamilyNameAsBytes, getFamilyQualifiedName, getFamilyQualifiedNameAsBytes, getFieldType, getGetter, getGetterMethod, getSetter, getSetterMethod, getValueAsBytes, getValueFromBytes, getValueFromBytes, hasAlias, hasDefaultArg, hasGetter, hashCode, hasSetter, invokeGetterMethod, invokeSetterMethod, isACurrentValue, isAnArray, isASelectFamilyAttrib, resetDefaultValue, setCurrentValue, setVersionMap, validateValueWidth |
HRecordAttrib
public HRecordAttrib(ColumnDefinition columnDefinition)
throws HBqlException
- Throws:
HBqlException
getDefaultArg
protected DefaultArg getDefaultArg()
- Overrides:
getDefaultArg
in class ColumnAttrib
asString
public String asString()
throws HBqlException
- Throws:
HBqlException
toString
public String toString()
- Overrides:
toString
in class Object
isAKeyAttrib
public boolean isAKeyAttrib()
- Overrides:
isAKeyAttrib
in class ColumnAttrib
defineAccessors
protected void defineAccessors()
- Overrides:
defineAccessors
in class ColumnAttrib
getCurrentValue
public Object getCurrentValue(Object record)
throws HBqlException,
ResultMissingColumnException,
NullColumnValueException
- Specified by:
getCurrentValue
in class ColumnAttrib
- Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException
setCurrentValue
public void setCurrentValue(Object record,
long timestamp,
Object val)
throws HBqlException
- Specified by:
setCurrentValue
in class ColumnAttrib
- Throws:
HBqlException
getVersionMap
public Map<Long,Object> getVersionMap(Object record)
throws HBqlException
- Specified by:
getVersionMap
in class ColumnAttrib
- Throws:
HBqlException
setUnMappedCurrentValue
public void setUnMappedCurrentValue(Object record,
String name,
byte[] value)
throws HBqlException
- Specified by:
setUnMappedCurrentValue
in class ColumnAttrib
- Throws:
HBqlException
setUnMappedVersionMap
public void setUnMappedVersionMap(Object record,
String name,
NavigableMap<Long,byte[]> timeStampMap)
throws HBqlException
- Specified by:
setUnMappedVersionMap
in class ColumnAttrib
- Throws:
HBqlException
getMethod
protected Method getMethod(String methodName,
Class<?>... params)
throws NoSuchMethodException,
HBqlException
- Specified by:
getMethod
in class ColumnAttrib
- Throws:
NoSuchMethodException
HBqlException
getComponentType
protected Class getComponentType()
- Specified by:
getComponentType
in class ColumnAttrib
getNameToUseInExceptions
public String getNameToUseInExceptions()
- Specified by:
getNameToUseInExceptions
in class ColumnAttrib
getEnclosingClassName
public String getEnclosingClassName()
- Specified by:
getEnclosingClassName
in class ColumnAttrib
isAVersionValue
public boolean isAVersionValue()
- Overrides:
isAVersionValue
in class ColumnAttrib
getNamesForColumn
public String[] getNamesForColumn()
Copyright © 2011. All Rights Reserved.