org.apache.hadoop.hbase.hbql.client
Interface HStatement
- All Known Subinterfaces:
- HPreparedStatement
- All Known Implementing Classes:
- HPreparedStatementImpl, HStatementImpl
public interface HStatement
executeQueryAsync
QueryFuture executeQueryAsync(String sql,
QueryListener<HRecord>... listeners)
throws HBqlException
- Throws:
HBqlException
executeQueryAsync
<T> QueryFuture executeQueryAsync(String sql,
Class clazz,
QueryListener<T>... listeners)
throws HBqlException
- Throws:
HBqlException
executeQuery
HResultSet<HRecord> executeQuery(String sql,
QueryListener<HRecord>... listeners)
throws HBqlException
- Throws:
HBqlException
executeQuery
<T> HResultSet<T> executeQuery(String sql,
Class clazz,
QueryListener<T>... listeners)
throws HBqlException
- Throws:
HBqlException
execute
ExecutionResults execute(String sql)
throws HBqlException
- Throws:
HBqlException
executeQueryAndFetch
List<HRecord> executeQueryAndFetch(String sql,
QueryListener<HRecord>... listeners)
throws HBqlException
- Throws:
HBqlException
executeQueryAndFetch
<T> List<T> executeQueryAndFetch(String sql,
Class clazz,
QueryListener<T>... listeners)
throws HBqlException
- Throws:
HBqlException
executeUpdate
ExecutionResults executeUpdate(String sql)
throws HBqlException
- Throws:
HBqlException
getResultSet
<T> HResultSet<T> getResultSet()
close
void close()
throws HBqlException
- Throws:
HBqlException
isClosed
boolean isClosed()
Copyright © 2011. All Rights Reserved.