input
stringlengths
10
828
output
stringlengths
5
107
public int get max char literal length throws sqlexception return 0
retrieves the maximum number of characters this database allows
public void release savepoint savepoint savepoint throws sqlexception
removes the given code savepoint code object from the current
public void rollback throws sqlexception
undoes all changes made in the current transaction
public int get concurrency throws sqlexception return result set concur read only
retrieves the concurrency mode of this code result set code object
public int get max column name length throws sqlexception return 0
retrieves the maximum number of characters this database allows
public void rollback savepoint savepoint throws sqlexception
undoes all changes made after the given code savepoint code object
public void set auto commit boolean auto commit throws sqlexception
sets this connections auto commit mode to the given state
public int get max columns in group by throws sqlexception return 0
retrieves the maximum number of columns this database allows in a
public void set catalog string catalog throws sqlexception
sets the given catalog name in order to select
public double get double int column index throws sqlexception try return double parse double result column result table get column index 1 column data get currentrow to string catch exception e throw new sqlexception aresult get double int column or selection past result set column index
retrieves the value of the designated column in the current row
public void set holdability int holdability throws sqlexception
changes the holdability of code result set code objects
public int get max columns in index throws sqlexception return 0
retrieves the maximum number of columns this database allows in an index
public double get double string column name throws sqlexception return get double find column column name
retrieves the value of the designated column in the current row
public savepoint set savepoint throws sqlexception return null
creates an unnamed savepoint in the current transaction and
public int get max columns in order by throws sqlexception return 0
retrieves the maximum number of columns this database allows in an
public savepoint set savepoint string name throws sqlexception return null
creates a savepoint with the given name in the current transaction
public int get fetch direction throws sqlexception return 0
retrieves the fetch direction for this
public int get max columns in select throws sqlexception return 0
retrieves the maximum number of columns this database allows in a
public void set transaction isolation int level throws sqlexception
attempts to change the transaction isolation level for this
public void set type map java util map map throws sqlexception
installs the given code type map code object as the type map for
public int get max columns in table throws sqlexception return 0
retrieves the maximum number of columns this database allows in a table
public float get float int column index throws sqlexception try return float parse float result column result table get column index 1 column data get currentrow to string catch exception e throw new sqlexception aresult get float int column or selection past result set column index
retrieves the value of the designated column in the current row
public float get float string column name throws sqlexception return get float find column column name
retrieves the value of the designated column in the current row
public int get max cursor name length throws sqlexception return 0
retrieves the maximum number of characters that this database allows in a
public int get int string column name throws sqlexception return get int find column column name
retrieves the value of the designated column in the current row
public int get max index length throws sqlexception return 0
retrieves the maximum number of bytes this database allows for an
public int get int int column index throws sqlexception try return integer parse int result column result table get column index 1 column data get currentrow to string catch exception e throw new sqlexception aresult get int int column or selection past result set column index
retrieves the value of the designated column in the current row
public long get long int column index throws sqlexception return long parse long result column result table get column index 1 column data get currentrow to string
retrieves the value of the designated column in the current row
public int get max row size throws sqlexception return 0
retrieves the maximum number of bytes this database allows in
public long get long string column name throws sqlexception return get long find column column name
retrieves the value of the designated column in the current row
public result set meta data get meta data throws sqlexception return new aresult set meta data this
retrieves the number types and properties of
public int get max statement length throws sqlexception return 0
retrieves the maximum number of characters this database allows in
public object get object int column index throws sqlexception try return result column result table get column index 1 column data get currentrow catch exception e throw new sqlexception aresult get object int column or selection past result set column index
p gets the value of the designated column in the current row
public int get max statements throws sqlexception return 0
retrieves the maximum number of active statements to this database
public object get object string column name throws sqlexception return get object find column column name
p gets the value of the designated column in the current row
public int get max table name length throws sqlexception return 0
retrieves the maximum number of characters this database allows in
public object get object int i java util map map throws sqlexception return null
retrieves the value of the designated column in the current row
public int get max tables in select throws sqlexception return 0
retrieves the maximum number of tables this database allows in a
public object get object string col name java util map map throws sqlexception return null
retrieves the value of the designated column in the current row
public int get max user name length throws sqlexception return 0
retrieves the maximum number of characters this database allows in
public ref get ref int i throws sqlexception return null
retrieves the value of the designated column in the current row
public string get numeric functions throws sqlexception return conn get connection manager get numeric functions
retrieves a comma separated list of math functions available with
public ref get ref string col name throws sqlexception return null
retrieves the value of the designated column in the current row
public string get procedure term throws sqlexception return
retrieves the database vendors preferred term for procedure
public int get row throws sqlexception return currentrow
retrieves the current row number
public int get result set holdability throws sqlexception return 0
retrieves the default holdability of this code result set code
public short get short string column name throws sqlexception return get short find column column name
retrieves the value of the designated column in the current row
public string get sqlkeywords throws sqlexception return functions get ashpool keywords
retrieves a comma separated list of all of this databases sql keywords
public short get short int column index throws sqlexception try return short parse short result column result table get column index 1 column data get currentrow to string catch exception e throw new sqlexception aresult get short int column or selection past result set column index
retrieves the value of the designated column in the current row
public int get sqlstate type throws sqlexception return 0
indicates whether the sqlstates returned by code sqlexception
public string get schema term throws sqlexception return xsd
retrieves the database vendors preferred term for schema
public string get string int column index throws sqlexception try return result column result table get column index 1 column data get currentrow to string catch exception e throw new sqlexception aresult get string int column or selection past result set column index
retrieves the value of the designated column in the current row
public string get search string escape throws sqlexception return
retrieves the string that can be used to escape wildcard characters
public int get type throws sqlexception return result set type forward only
retrieves the type of this code result set code object
public string get string functions throws sqlexception return conn get connection manager get string functions
retrieves a comma separated list of string functions available with
public string get system functions throws sqlexception return
retrieves a comma separated list of system functions available with
public void insert row throws sqlexception
inserts the contents of the insert row into this
public string get time date functions throws sqlexception return conn get connection manager get date time functions
retrieves a comma separated list of the time and date functions available
public boolean is after last throws sqlexception if currentrow get size return true return false
retrieves whether the cursor is after the last row in
public string get url throws sqlexception return conn get connection manager get table manager get datastore uri
retrieves the url for this dbms
public boolean is before first throws sqlexception if currentrow 1 return true return false
retrieves whether the cursor is before the first row in
public string get user name throws sqlexception return default
retrieves the user name as known to this database
public boolean is first throws sqlexception current row is internal if currentrow 0 return true return false
retrieves whether the cursor is on the first row of
public boolean inserts are detected int type throws sqlexception return false
retrieves whether or not a visible row insert can be detected
public boolean is last throws sqlexception if currentrow get size 1 return true return false
retrieves whether the cursor is on the last row of
public boolean is catalog at start throws sqlexception return false
retrieves whether a catalog appears at the start of a fully qualified
public boolean last throws sqlexception absolute subtracts one already return absolute get size
moves the cursor to the last row in
public boolean is read only throws sqlexception return this conn get connection manager get table manager is read only
retrieves whether this database is in read only mode
public void move to current row throws sqlexception
moves the cursor to the remembered cursor position usually the
public void move to insert row throws sqlexception
moves the cursor to the insert row
public boolean null plus non null is null throws sqlexception return false
retrieves whether this database supports concatenations between
public boolean next throws sqlexception if the current row is less than the size of one of the columns they are all the same length move to the next one try if result table null result table is empty result column result table get 0 column data size 0 if currentrow result column result table get 0 column data size 1 currentrow return true else return false else return false catch exception e system err println aresult set next failed e to string e print stack trace system err return false
moves the cursor down one row from its current position
public boolean previous throws sqlexception if the current row is less than the size of one of the columns they are all the same length move to the next one try if result table null result table is empty result column result table get 0 column data size 0 if currentrow 0 currentrow return true else return false else return false catch exception e system err println aresult set previous failed e to string return false
moves the cursor to the previous row in this
public boolean nulls are sorted at start throws sqlexception return false
retrieves whether code null code values are sorted at the start regardless
public void refresh row throws sqlexception
refreshes the current row with its most recent value in
public boolean nulls are sorted low throws sqlexception return false
retrieves whether code null code values are sorted low
public boolean relative int rows throws sqlexception return false
moves the cursor a relative number of rows either positive or negative
public boolean others deletes are visible int type throws sqlexception return false
retrieves whether deletes made by others are visible
public boolean row deleted throws sqlexception return false
retrieves whether a row has been deleted
public boolean others inserts are visible int type throws sqlexception return false
retrieves whether inserts made by others are visible
public boolean row inserted throws sqlexception return false
retrieves whether the current row has had an insertion
public boolean others updates are visible int type throws sqlexception return false
retrieves whether updates made by others are visible
public boolean row updated throws sqlexception return false
retrieves whether the current row has been updated
public boolean own deletes are visible int type throws sqlexception return false
retrieves whether a result sets own deletes are visible
public boolean own inserts are visible int type throws sqlexception return false
retrieves whether a result sets own inserts are visible
public boolean own updates are visible int type throws sqlexception return false
retrieves whether for the given type of code result set code object
public void update array string column name java sql array x throws sqlexception
updates the designated column with a code java
public boolean stores lower case identifiers throws sqlexception return false
retrieves whether this database treats mixed case unquoted sql identifiers as
public void update array int column index java sql array x throws sqlexception
updates the designated column with a code java
public boolean stores lower case quoted identifiers throws sqlexception return false
retrieves whether this database treats mixed case quoted sql identifiers as
public void update ascii stream string column name java io input stream x int length throws sqlexception
updates the designated column with an ascii stream value
public boolean stores mixed case identifiers throws sqlexception return false
retrieves whether this database treats mixed case unquoted sql identifiers as
public void update ascii stream int column index java io input stream x int length throws sqlexception
updates the designated column with an ascii stream value
public boolean stores mixed case quoted identifiers throws sqlexception return false
retrieves whether this database treats mixed case quoted sql identifiers as
public void update big decimal string column name big decimal x throws sqlexception
updates the designated column with a code java
public void update big decimal int column index big decimal x throws sqlexception
updates the designated column with a code java
public boolean stores upper case quoted identifiers throws sqlexception return false
retrieves whether this database treats mixed case quoted sql identifiers as
public void update binary stream int column index java io input stream x int length throws sqlexception
updates the designated column with a binary stream value
public boolean supports ansi92 entry level sql throws sqlexception return false
retrieves whether this database supports the ansi92 entry level sql
public void update binary stream string column name java io input stream x int length throws sqlexception
updates the designated column with a binary stream value