org.apache.hadoop.hbase.hbql.statement.select
Class FamilySelectElement
java.lang.Object
org.apache.hadoop.hbase.hbql.statement.select.FamilySelectElement
- All Implemented Interfaces:
- Serializable, SelectElement
public class FamilySelectElement
- extends Object
- implements SelectElement
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FamilySelectElement
public FamilySelectElement(String familyName)
addAFamily
public void addAFamily(String familyName)
newAllFamilies
public static List<SelectElement> newAllFamilies()
newFamilyElement
public static FamilySelectElement newFamilyElement(String family)
getFamilyNameList
public List<String> getFamilyNameList()
getFamilyNameBytesList
public List<byte[]> getFamilyNameBytesList()
getTableMapping
protected TableMapping getTableMapping()
throws HBqlException
- Throws:
HBqlException
getAsName
public String getAsName()
- Specified by:
getAsName
in interface SelectElement
getElementName
public String getElementName()
- Specified by:
getElementName
in interface SelectElement
hasAsName
public boolean hasAsName()
- Specified by:
hasAsName
in interface SelectElement
isAFamilySelect
public boolean isAFamilySelect()
- Specified by:
isAFamilySelect
in interface SelectElement
asString
public String asString()
- Specified by:
asString
in interface SelectElement
isAnAggregateElement
public boolean isAnAggregateElement()
- Specified by:
isAnAggregateElement
in interface SelectElement
getParameterList
public List<NamedParameter> getParameterList()
- Specified by:
getParameterList
in interface SelectElement
reset
public void reset()
- Specified by:
reset
in interface SelectElement
setParameter
public int setParameter(String name,
Object val)
- Specified by:
setParameter
in interface SelectElement
validate
public void validate(MappingContext mappingContext,
HConnection connection)
throws HBqlException
- Specified by:
validate
in interface SelectElement
- Throws:
HBqlException
getAttribsUsedInExpr
public List<ColumnAttrib> getAttribsUsedInExpr()
- Specified by:
getAttribsUsedInExpr
in interface SelectElement
assignAsNamesForExpressions
public void assignAsNamesForExpressions(SelectStatement selectStatement)
- Specified by:
assignAsNamesForExpressions
in interface SelectElement
newAggregateValue
public AggregateValue newAggregateValue()
throws HBqlException
- Specified by:
newAggregateValue
in interface SelectElement
- Throws:
HBqlException
validateTypes
public void validateTypes(boolean allowColumns,
boolean allowCollections)
throws HBqlException
- Specified by:
validateTypes
in interface SelectElement
- Throws:
HBqlException
assignSelectValue
public void assignSelectValue(HConnectionImpl conn,
Object obj,
int maxVersions,
org.apache.hadoop.hbase.client.Result result)
throws HBqlException
- Specified by:
assignSelectValue
in interface SelectElement
- Throws:
HBqlException
Copyright © 2011. All Rights Reserved.