hbase support

This commit is contained in:
温少
2012-05-19 15:08:09 +08:00
parent 35f1e3483c
commit cd94ed6634
7 changed files with 68 additions and 12 deletions
@@ -1,6 +1,8 @@
package com.alibaba.druid.hbase.exec;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.apache.hadoop.hbase.client.HTableInterface;
import org.apache.hadoop.hbase.client.ResultScanner;
@@ -12,6 +14,16 @@ import com.alibaba.druid.hbase.HBaseResultSet;
public class SingleTableQueryExecutePlan extends SingleTableExecutePlan {
private List<String> columeNames = new ArrayList<String>();
public SingleTableQueryExecutePlan(){
}
public List<String> getColumeNames() {
return columeNames;
}
@Override
public HBaseResultSet executeQuery(HBasePreparedStatement statement) throws SQLException {
try {