// 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 Statement;
      class Connection;
      class SQLWarning;
      class ResultSet;
    }
  }
};

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 jint getFetchDirection () = 0;
  virtual void setFetchDirection (jint) = 0;
  virtual jint getFetchSize () = 0;
  virtual void setFetchSize (jint) = 0;
  virtual jint getResultSetConcurrency () = 0;
  virtual jint getResultSetType () = 0;
  virtual void addBatch (::java::lang::String *) = 0;
  virtual void clearBatch () = 0;
  virtual jintArray executeBatch () = 0;
  virtual ::java::sql::Connection *getConnection () = 0;

  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif /* __java_sql_Statement__ */
