org.apache.hadoop.hbase.hbql.statement
Class ImportStatement

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.GenericStatement
      extended by org.apache.hadoop.hbase.hbql.statement.ImportStatement
All Implemented Interfaces:
ConnectionStatement, HBqlStatement

public class ImportStatement
extends GenericStatement
implements ConnectionStatement


Constructor Summary
ImportStatement(String filename)
           
 
Method Summary
 ExecutionResults execute(HConnectionImpl conn)
           
static boolean processInput(PrintWriter out, HConnectionImpl conn, String str)
           
static String readFile(String filename)
           
static String usage()
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.GenericStatement
evaluatePredicateAndExecute, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.hbql.statement.ConnectionStatement
evaluatePredicateAndExecute
 
Methods inherited from interface org.apache.hadoop.hbase.hbql.statement.HBqlStatement
validate
 

Constructor Detail

ImportStatement

public ImportStatement(String filename)
Method Detail

execute

public ExecutionResults execute(HConnectionImpl conn)
Overrides:
execute in class GenericStatement

readFile

public static String readFile(String filename)
                       throws IOException
Throws:
IOException

processInput

public static boolean processInput(PrintWriter out,
                                   HConnectionImpl conn,
                                   String str)

usage

public static String usage()


Copyright © 2011. All Rights Reserved.