KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > command > CommandInterface


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.command;
6
7 import java.sql.SQLException JavaDoc;
8
9 import org.h2.result.ResultInterface;
10 import org.h2.util.ObjectArray;
11
12 public interface CommandInterface {
13     boolean isQuery();
14     ObjectArray getParameters();
15     ResultInterface executeQuery(int maxRows, boolean scrollable) throws SQLException JavaDoc;
16     int executeUpdate() throws SQLException JavaDoc;
17     void close();
18     void cancel();
19 }
20
Popular Tags