1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_sql_PreparedStatement__
|
5 |
|
|
#define __java_sql_PreparedStatement__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace math
|
17 |
|
|
{
|
18 |
|
|
class BigDecimal;
|
19 |
|
|
}
|
20 |
|
|
namespace net
|
21 |
|
|
{
|
22 |
|
|
class URL;
|
23 |
|
|
}
|
24 |
|
|
namespace sql
|
25 |
|
|
{
|
26 |
|
|
class Array;
|
27 |
|
|
class Blob;
|
28 |
|
|
class Clob;
|
29 |
|
|
class Connection;
|
30 |
|
|
class Date;
|
31 |
|
|
class ParameterMetaData;
|
32 |
|
|
class PreparedStatement;
|
33 |
|
|
class Ref;
|
34 |
|
|
class ResultSet;
|
35 |
|
|
class ResultSetMetaData;
|
36 |
|
|
class SQLWarning;
|
37 |
|
|
class Time;
|
38 |
|
|
class Timestamp;
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
class java::sql::PreparedStatement : public ::java::lang::Object
|
44 |
|
|
{
|
45 |
|
|
|
46 |
|
|
public:
|
47 |
|
|
virtual ::java::sql::ResultSet * executeQuery() = 0;
|
48 |
|
|
virtual jint executeUpdate() = 0;
|
49 |
|
|
virtual void setNull(jint, jint) = 0;
|
50 |
|
|
virtual void setBoolean(jint, jboolean) = 0;
|
51 |
|
|
virtual void setByte(jint, jbyte) = 0;
|
52 |
|
|
virtual void setShort(jint, jshort) = 0;
|
53 |
|
|
virtual void setInt(jint, jint) = 0;
|
54 |
|
|
virtual void setLong(jint, jlong) = 0;
|
55 |
|
|
virtual void setFloat(jint, jfloat) = 0;
|
56 |
|
|
virtual void setDouble(jint, jdouble) = 0;
|
57 |
|
|
virtual void setBigDecimal(jint, ::java::math::BigDecimal *) = 0;
|
58 |
|
|
virtual void setString(jint, ::java::lang::String *) = 0;
|
59 |
|
|
virtual void setBytes(jint, JArray< jbyte > *) = 0;
|
60 |
|
|
virtual void setDate(jint, ::java::sql::Date *) = 0;
|
61 |
|
|
virtual void setTime(jint, ::java::sql::Time *) = 0;
|
62 |
|
|
virtual void setTimestamp(jint, ::java::sql::Timestamp *) = 0;
|
63 |
|
|
virtual void setAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
|
64 |
|
|
virtual void setUnicodeStream(jint, ::java::io::InputStream *, jint) = 0;
|
65 |
|
|
virtual void setBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
|
66 |
|
|
virtual void clearParameters() = 0;
|
67 |
|
|
virtual void setObject(jint, ::java::lang::Object *, jint, jint) = 0;
|
68 |
|
|
virtual void setObject(jint, ::java::lang::Object *, jint) = 0;
|
69 |
|
|
virtual void setObject(jint, ::java::lang::Object *) = 0;
|
70 |
|
|
virtual jboolean execute() = 0;
|
71 |
|
|
virtual void addBatch() = 0;
|
72 |
|
|
virtual void setCharacterStream(jint, ::java::io::Reader *, jint) = 0;
|
73 |
|
|
virtual void setRef(jint, ::java::sql::Ref *) = 0;
|
74 |
|
|
virtual void setBlob(jint, ::java::sql::Blob *) = 0;
|
75 |
|
|
virtual void setClob(jint, ::java::sql::Clob *) = 0;
|
76 |
|
|
virtual void setArray(jint, ::java::sql::Array *) = 0;
|
77 |
|
|
virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
|
78 |
|
|
virtual void setDate(jint, ::java::sql::Date *, ::java::util::Calendar *) = 0;
|
79 |
|
|
virtual void setTime(jint, ::java::sql::Time *, ::java::util::Calendar *) = 0;
|
80 |
|
|
virtual void setTimestamp(jint, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
|
81 |
|
|
virtual void setNull(jint, jint, ::java::lang::String *) = 0;
|
82 |
|
|
virtual void setURL(jint, ::java::net::URL *) = 0;
|
83 |
|
|
virtual ::java::sql::ParameterMetaData * getParameterMetaData() = 0;
|
84 |
|
|
virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
|
85 |
|
|
virtual jint executeUpdate(::java::lang::String *) = 0;
|
86 |
|
|
virtual void close() = 0;
|
87 |
|
|
virtual jint getMaxFieldSize() = 0;
|
88 |
|
|
virtual void setMaxFieldSize(jint) = 0;
|
89 |
|
|
virtual jint getMaxRows() = 0;
|
90 |
|
|
virtual void setMaxRows(jint) = 0;
|
91 |
|
|
virtual void setEscapeProcessing(jboolean) = 0;
|
92 |
|
|
virtual jint getQueryTimeout() = 0;
|
93 |
|
|
virtual void setQueryTimeout(jint) = 0;
|
94 |
|
|
virtual void cancel() = 0;
|
95 |
|
|
virtual ::java::sql::SQLWarning * getWarnings() = 0;
|
96 |
|
|
virtual void clearWarnings() = 0;
|
97 |
|
|
virtual void setCursorName(::java::lang::String *) = 0;
|
98 |
|
|
virtual jboolean execute(::java::lang::String *) = 0;
|
99 |
|
|
virtual ::java::sql::ResultSet * getResultSet() = 0;
|
100 |
|
|
virtual jint getUpdateCount() = 0;
|
101 |
|
|
virtual jboolean getMoreResults() = 0;
|
102 |
|
|
virtual void setFetchDirection(jint) = 0;
|
103 |
|
|
virtual jint getFetchDirection() = 0;
|
104 |
|
|
virtual void setFetchSize(jint) = 0;
|
105 |
|
|
virtual jint getFetchSize() = 0;
|
106 |
|
|
virtual jint getResultSetConcurrency() = 0;
|
107 |
|
|
virtual jint getResultSetType() = 0;
|
108 |
|
|
virtual void addBatch(::java::lang::String *) = 0;
|
109 |
|
|
virtual void clearBatch() = 0;
|
110 |
|
|
virtual JArray< jint > * executeBatch() = 0;
|
111 |
|
|
virtual ::java::sql::Connection * getConnection() = 0;
|
112 |
|
|
virtual jboolean getMoreResults(jint) = 0;
|
113 |
|
|
virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
|
114 |
|
|
virtual jint executeUpdate(::java::lang::String *, jint) = 0;
|
115 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
|
116 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
117 |
|
|
virtual jboolean execute(::java::lang::String *, jint) = 0;
|
118 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
|
119 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
120 |
|
|
virtual jint getResultSetHoldability() = 0;
|
121 |
|
|
static ::java::lang::Class class$;
|
122 |
|
|
} __attribute__ ((java_interface));
|
123 |
|
|
|
124 |
|
|
#endif // __java_sql_PreparedStatement__
|