org.apache.hive.service.cli.operation
Class SQLOperation
java.lang.Object
org.apache.hive.service.cli.operation.Operation
org.apache.hive.service.cli.operation.ExecuteStatementOperation
org.apache.hive.service.cli.operation.SQLOperation
public class SQLOperation
- extends ExecuteStatementOperation
SQLOperation.
Methods inherited from class org.apache.hive.service.cli.operation.Operation |
assertState, getConfiguration, getHandle, getNextRowSet, getParentSession, getState, getType, hasResultSet, isCanceled, isFailed, isFinished, isRunning, setConfiguration, setHasResultSet, setState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLOperation
public SQLOperation(Session parentSession,
String statement,
Map<String,String> confOverlay)
prepare
public void prepare()
throws HiveSQLException
- Throws:
HiveSQLException
run
public void run()
throws HiveSQLException
- Specified by:
run
in class Operation
- Throws:
HiveSQLException
cancel
public void cancel()
throws HiveSQLException
- Overrides:
cancel
in class Operation
- Throws:
HiveSQLException
close
public void close()
throws HiveSQLException
- Specified by:
close
in class Operation
- Throws:
HiveSQLException
getResultSetSchema
public TableSchema getResultSetSchema()
throws HiveSQLException
- Specified by:
getResultSetSchema
in class Operation
- Throws:
HiveSQLException
getNextRowSet
public RowSet getNextRowSet(FetchOrientation orientation,
long maxRows)
throws HiveSQLException
- Specified by:
getNextRowSet
in class Operation
- Throws:
HiveSQLException
Copyright © 2013 The Apache Software Foundation