org.apache.hadoop.hbase.hbql.statement.args
Class SingleRowInsertSource

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.args.InsertValueSource
      extended by org.apache.hadoop.hbase.hbql.statement.args.SingleRowInsertSource

public class SingleRowInsertSource
extends InsertValueSource


Constructor Summary
SingleRowInsertSource(List<GenericValue> valueList)
           
 
Method Summary
 String asString()
           
 void execute()
           
 List<NamedParameter> getParameterList()
           
 Object getValue(HConnectionImpl conn, int i)
           
 List<Class<? extends GenericValue>> getValuesTypeList()
           
 boolean hasValues()
           
 boolean isDefaultValue(int i)
           
 void reset()
           
 int setInsertSourceParameter(String name, Object val)
           
 void validate()
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.args.InsertValueSource
getInsertStatement, setInsertStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleRowInsertSource

public SingleRowInsertSource(List<GenericValue> valueList)
Method Detail

getParameterList

public List<NamedParameter> getParameterList()
Specified by:
getParameterList in class InsertValueSource

setInsertSourceParameter

public int setInsertSourceParameter(String name,
                                    Object val)
                             throws HBqlException
Specified by:
setInsertSourceParameter in class InsertValueSource
Throws:
HBqlException

validate

public void validate()
              throws HBqlException
Specified by:
validate in class InsertValueSource
Throws:
HBqlException

execute

public void execute()
Specified by:
execute in class InsertValueSource

reset

public void reset()
Specified by:
reset in class InsertValueSource

asString

public String asString()
Specified by:
asString in class InsertValueSource

isDefaultValue

public boolean isDefaultValue(int i)
                       throws HBqlException
Specified by:
isDefaultValue in class InsertValueSource
Throws:
HBqlException

getValue

public Object getValue(HConnectionImpl conn,
                       int i)
                throws HBqlException
Specified by:
getValue in class InsertValueSource
Throws:
HBqlException

getValuesTypeList

public List<Class<? extends GenericValue>> getValuesTypeList()
                                                      throws HBqlException
Specified by:
getValuesTypeList in class InsertValueSource
Throws:
HBqlException

hasValues

public boolean hasValues()
Specified by:
hasValues in class InsertValueSource


Copyright © 2011. All Rights Reserved.