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

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.args.InsertValueSource
Direct Known Subclasses:
SelectValuesInsertSource, SingleRowInsertSource

public abstract class InsertValueSource
extends Object


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

Constructor Detail

InsertValueSource

public InsertValueSource()
Method Detail

setInsertStatement

public void setInsertStatement(InsertStatement insertStatement)

getInsertStatement

protected InsertStatement getInsertStatement()

getParameterList

public abstract List<NamedParameter> getParameterList()

setInsertSourceParameter

public abstract int setInsertSourceParameter(String name,
                                             Object val)
                                      throws HBqlException
Throws:
HBqlException

validate

public abstract void validate()
                       throws HBqlException
Throws:
HBqlException

reset

public abstract void reset()

asString

public abstract String asString()

getValue

public abstract Object getValue(HConnectionImpl conn,
                                int i)
                         throws HBqlException
Throws:
HBqlException

isDefaultValue

public abstract boolean isDefaultValue(int i)
                                throws HBqlException
Throws:
HBqlException

hasValues

public abstract boolean hasValues()

execute

public abstract void execute()
                      throws HBqlException
Throws:
HBqlException

getValuesTypeList

public abstract List<Class<? extends GenericValue>> getValuesTypeList()
                                                               throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.