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

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

public class SelectValuesInsertSource
extends InsertValueSource


Constructor Summary
SelectValuesInsertSource(SelectStatement selectStatement)
           
 
Method Summary
 String asString()
           
 void execute()
           
 List<NamedParameter> getParameterList()
           
 SelectStatement getSelectStatement()
           
 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

SelectValuesInsertSource

public SelectValuesInsertSource(SelectStatement selectStatement)
Method Detail

getSelectStatement

public SelectStatement getSelectStatement()

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()
             throws HBqlException
Specified by:
execute in class InsertValueSource
Throws:
HBqlException

getValuesTypeList

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

reset

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

asString

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

getValue

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

isDefaultValue

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

hasValues

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


Copyright © 2011. All Rights Reserved.