1:
37:
38:
39: package ;
40:
41: import ;
42: import ;
43: import ;
44: import ;
45: import ;
46: import ;
47: import ;
48: import ;
49: import ;
50: import ;
51: import ;
52: import ;
53: import ;
54: import ;
55:
56:
59: public interface RowSet extends ResultSet
60: {
61: String getUrl() throws SQLException;
62:
63: void setUrl(String url) throws SQLException;
64:
65: String getDataSourceName();
66:
67: void setDataSourceName(String name) throws SQLException;
68:
69: String getUsername();
70:
71: void setUsername(String name) throws SQLException;
72:
73: String getPassword();
74:
75: void setPassword(String password) throws SQLException;
76:
77: int getTransactionIsolation();
78:
79: void setTransactionIsolation(int level) throws SQLException;
80:
81: Map<String, Class<?>> getTypeMap() throws SQLException;
82:
83: void setTypeMap(Map<String, Class<?>> map) throws SQLException;
84:
85: String getCommand();
86:
87: void setCommand(String cmd) throws SQLException;
88:
89: boolean isReadOnly();
90:
91: void setReadOnly(boolean value) throws SQLException;
92:
93: int getMaxFieldSize() throws SQLException;
94:
95: void setMaxFieldSize(int max) throws SQLException;
96:
97: int getMaxRows() throws SQLException;
98:
99: void setMaxRows(int max) throws SQLException;
100:
101: boolean getEscapeProcessing() throws SQLException;
102:
103: void setEscapeProcessing(boolean enable) throws SQLException;
104:
105: int getQueryTimeout() throws SQLException;
106:
107: void setQueryTimeout(int seconds) throws SQLException;
108:
109: void setType(int type) throws SQLException;
110:
111: void setConcurrency(int concurrency) throws SQLException;
112:
113: void setNull(int parameterIndex, int sqlType) throws SQLException;
114:
115: void setNull(int paramIndex, int sqlType, String typeName) throws
116: SQLException;
117:
118: void setBoolean(int parameterIndex, boolean x) throws SQLException;
119:
120: void setByte(int parameterIndex, byte x) throws SQLException;
121:
122: void setShort(int parameterIndex, short x) throws SQLException;
123:
124: void setInt(int parameterIndex, int x) throws SQLException;
125:
126: void setLong(int parameterIndex, long x) throws SQLException;
127:
128: void setFloat(int parameterIndex, float x) throws SQLException;
129:
130: void setDouble(int parameterIndex, double x) throws SQLException;
131:
132: void setBigDecimal(int parameterIndex, BigDecimal x) throws
133: SQLException;
134:
135: void setString(int parameterIndex, String x) throws SQLException;
136:
137: void setBytes(int parameterIndex, byte[] x) throws SQLException;
138:
139: void setDate(int parameterIndex, Date x) throws SQLException;
140:
141: void setTime(int parameterIndex, Time x) throws SQLException;
142:
143: void setTimestamp(int parameterIndex, Timestamp x) throws
144: SQLException;
145:
146: void setAsciiStream(int parameterIndex, InputStream x, int length)
147: throws SQLException;
148:
149: void setBinaryStream(int parameterIndex, InputStream x, int length)
150: throws SQLException;
151:
152: void setCharacterStream(int parameterIndex, Reader reader, int
153: length) throws SQLException;
154:
155: void setObject(int parameterIndex, Object x, int targetSqlType, int
156: scale) throws SQLException;
157:
158: void setObject(int parameterIndex, Object x, int targetSqlType)
159: throws SQLException;
160:
161: void setObject(int parameterIndex, Object x) throws SQLException;
162:
163: void setRef(int i, Ref x) throws SQLException;
164:
165: void setBlob(int i, Blob x) throws SQLException;
166:
167: void setClob(int i, Clob x) throws SQLException;
168:
169: void setArray(int i, Array x) throws SQLException;
170:
171: void setDate(int parameterIndex, Date x, Calendar cal) throws
172: SQLException;
173:
174: void setTime(int parameterIndex, Time x, Calendar cal) throws
175: SQLException;
176:
177: void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
178: throws SQLException;
179:
180: void clearParameters() throws SQLException;
181:
182: void execute() throws SQLException;
183:
184: void addRowSetListener(RowSetListener listener);
185:
186: void removeRowSetListener(RowSetListener listener);
187: }