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

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.mapping.ColumnAttrib
      extended by org.apache.hadoop.hbase.hbql.mapping.SelectFamilyAttrib
All Implemented Interfaces:
Serializable

public class SelectFamilyAttrib
extends ColumnAttrib

See Also:
Serialized Form

Constructor Summary
SelectFamilyAttrib(String familyName)
           
 
Method Summary
protected  Class getComponentType()
           
 Object getCurrentValue(Object obj)
           
 Object getDefaultValue()
           
 String getEnclosingClassName()
           
protected  Method getMethod(String methodName, Class<?>... params)
           
 String getNameToUseInExceptions()
           
 Map<Long,Object> getVersionMap(Object recordObj)
           
 boolean hasDefaultArg()
           
 boolean isASelectFamilyAttrib()
           
 void resetDefaultValue()
           
 void setCurrentValue(Object obj, long timestamp, Object val)
           
 void setUnMappedCurrentValue(Object obj, String name, byte[] value)
           
 void setUnMappedVersionMap(Object obj, String name, NavigableMap<Long,byte[]> timeStampMap)
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.mapping.ColumnAttrib
defineAccessors, equals, getAliasName, getColumnDefinition, getColumnName, getColumnNameAsBytes, getDefaultArg, getFamilyName, getFamilyNameAsBytes, getFamilyQualifiedName, getFamilyQualifiedNameAsBytes, getFieldType, getGetter, getGetterMethod, getSetter, getSetterMethod, getValueAsBytes, getValueFromBytes, getValueFromBytes, hasAlias, hasGetter, hashCode, hasSetter, invokeGetterMethod, invokeSetterMethod, isACurrentValue, isAKeyAttrib, isAnArray, isAVersionValue, setCurrentValue, setVersionMap, validateValueWidth
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectFamilyAttrib

public SelectFamilyAttrib(String familyName)
                   throws HBqlException
Throws:
HBqlException
Method Detail

isASelectFamilyAttrib

public boolean isASelectFamilyAttrib()
Overrides:
isASelectFamilyAttrib in class ColumnAttrib

getNameToUseInExceptions

public String getNameToUseInExceptions()
Specified by:
getNameToUseInExceptions in class ColumnAttrib

getVersionMap

public Map<Long,Object> getVersionMap(Object recordObj)
                               throws HBqlException
Specified by:
getVersionMap in class ColumnAttrib
Throws:
HBqlException

getComponentType

protected Class getComponentType()
                          throws HBqlException
Specified by:
getComponentType in class ColumnAttrib
Throws:
HBqlException

getCurrentValue

public Object getCurrentValue(Object obj)
                       throws HBqlException
Specified by:
getCurrentValue in class ColumnAttrib
Throws:
HBqlException

getMethod

protected Method getMethod(String methodName,
                           Class<?>... params)
                    throws NoSuchMethodException
Specified by:
getMethod in class ColumnAttrib
Throws:
NoSuchMethodException

getEnclosingClassName

public String getEnclosingClassName()
Specified by:
getEnclosingClassName in class ColumnAttrib

setCurrentValue

public void setCurrentValue(Object obj,
                            long timestamp,
                            Object val)
                     throws HBqlException
Specified by:
setCurrentValue in class ColumnAttrib
Throws:
HBqlException

setUnMappedCurrentValue

public void setUnMappedCurrentValue(Object obj,
                                    String name,
                                    byte[] value)
                             throws HBqlException
Specified by:
setUnMappedCurrentValue in class ColumnAttrib
Throws:
HBqlException

setUnMappedVersionMap

public void setUnMappedVersionMap(Object obj,
                                  String name,
                                  NavigableMap<Long,byte[]> timeStampMap)
                           throws HBqlException
Specified by:
setUnMappedVersionMap in class ColumnAttrib
Throws:
HBqlException

resetDefaultValue

public void resetDefaultValue()
Overrides:
resetDefaultValue in class ColumnAttrib

getDefaultValue

public Object getDefaultValue()
Overrides:
getDefaultValue in class ColumnAttrib

hasDefaultArg

public boolean hasDefaultArg()
Overrides:
hasDefaultArg in class ColumnAttrib


Copyright © 2011. All Rights Reserved.