summaryrefslogtreecommitdiff
path: root/libjava/java/sql/Statement.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/sql/Statement.h
downloadcbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.bz2
cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/sql/Statement.h')
-rw-r--r--libjava/java/sql/Statement.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/libjava/java/sql/Statement.h b/libjava/java/sql/Statement.h
new file mode 100644
index 000000000..b4cba4489
--- /dev/null
+++ b/libjava/java/sql/Statement.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Statement__
+#define __java_sql_Statement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Connection;
+ class ResultSet;
+ class SQLWarning;
+ class Statement;
+ }
+ }
+}
+
+class java::sql::Statement : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
+ virtual jint executeUpdate(::java::lang::String *) = 0;
+ virtual void close() = 0;
+ virtual jint getMaxFieldSize() = 0;
+ virtual void setMaxFieldSize(jint) = 0;
+ virtual jint getMaxRows() = 0;
+ virtual void setMaxRows(jint) = 0;
+ virtual void setEscapeProcessing(jboolean) = 0;
+ virtual jint getQueryTimeout() = 0;
+ virtual void setQueryTimeout(jint) = 0;
+ virtual void cancel() = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual void setCursorName(::java::lang::String *) = 0;
+ virtual jboolean execute(::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet() = 0;
+ virtual jint getUpdateCount() = 0;
+ virtual jboolean getMoreResults() = 0;
+ virtual void setFetchDirection(jint) = 0;
+ virtual jint getFetchDirection() = 0;
+ virtual void setFetchSize(jint) = 0;
+ virtual jint getFetchSize() = 0;
+ virtual jint getResultSetConcurrency() = 0;
+ virtual jint getResultSetType() = 0;
+ virtual void addBatch(::java::lang::String *) = 0;
+ virtual void clearBatch() = 0;
+ virtual JArray< jint > * executeBatch() = 0;
+ virtual ::java::sql::Connection * getConnection() = 0;
+ virtual jboolean getMoreResults(jint) = 0;
+ virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
+ virtual jint executeUpdate(::java::lang::String *, jint) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jboolean execute(::java::lang::String *, jint) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jint getResultSetHoldability() = 0;
+ static const jint CLOSE_CURRENT_RESULT = 1;
+ static const jint KEEP_CURRENT_RESULT = 2;
+ static const jint CLOSE_ALL_RESULTS = 3;
+ static const jint SUCCESS_NO_INFO = -2;
+ static const jint EXECUTE_FAILED = -3;
+ static const jint RETURN_GENERATED_KEYS = 1;
+ static const jint NO_GENERATED_KEYS = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Statement__