1 5 package org.h2.command; 6 7 import java.sql.SQLException ; 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 ; 16 int executeUpdate() throws SQLException ; 17 void close(); 18 void cancel(); 19 } 20 | Popular Tags |