KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > result > ResultInterface


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.result;
6
7 import java.sql.SQLException JavaDoc;
8
9 import org.h2.value.Value;
10
11 public interface ResultInterface {
12     void reset() throws SQLException JavaDoc;
13     Value[] currentRow();
14     boolean next() throws SQLException JavaDoc;
15     int getRowId();
16     int getVisibleColumnCount();
17     int getRowCount();
18     void close();
19     String JavaDoc getAlias(int i);
20     String JavaDoc getSchemaName(int i);
21     String JavaDoc getTableName(int i);
22     String JavaDoc getColumnName(int i);
23     int getColumnType(int i);
24     long getColumnPrecision(int i);
25     int getColumnScale(int i);
26     int getDisplaySize(int i);
27     boolean isAutoIncrement(int i);
28     int getNullable(int i);
29     boolean isUpdateCount();
30     int getUpdateCount();
31 }
32
Popular Tags