input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void end document throws saxexception write n super end document try flush catch ioexception e throw new saxexception e | write a newline at the end of the document |
public void nullify sf null cf null inf null df null uf null b xsl null tableman null variables null bsf null | help out gc by nulling out everything we own |
public void end element string uri string local name string q name throws saxexception write write name uri local name q name true write if element level 1 write n super end element uri local name q name ns support pop context element level | write an end tag |
public void characters char ch int start int len throws saxexception write esc ch start len false super characters ch start len | write character data |
public boolean all procedures are callable throws sqlexception return true | retrieves whether the current user can call all the procedures |
public void before first throws sqlexception so when they call next it moves to 0 the first row currentrow 1 | moves the cursor to the front of |
public void ignorable whitespace char ch int start int length throws saxexception write esc ch start length false super ignorable whitespace ch start length | write ignorable whitespace |
public boolean all tables are selectable throws sqlexception return true | retrieves whether the current user can use all the tables returned |
public boolean execute string sql throws sqlexception result set rs execute query sql if rs null return false else result sets add rs return true | executes the given sql statement which may return multiple results |
public void processing instruction string target string data throws saxexception write write target write write data write if element level 1 write n super processing instruction target data | write a processing instruction |
public boolean execute string sql string column names throws sqlexception result set rs execute query sql if rs null return false else result sets add rs return true | executes the given sql statement which may return multiple results |
public boolean execute string sql int column indexes throws sqlexception result set rs execute query sql if rs null return true else result sets add rs return true | executes the given sql statement which may return multiple results |
public boolean data definition causes transaction commit throws sqlexception return false | retrieves whether a data definition statement within a transaction forces |
public boolean execute string sql int auto generated keys throws sqlexception result set rs execute query sql if rs null return false else result sets add rs return true | executes the given sql statement which may return multiple results |
public void start element string uri string local name throws saxexception start element uri local name empty atts | start a new element without a qname or attributes |
public int execute update string sql throws sqlexception result set rs execute query sql return 0 | executes the given sql statement which may be an code insert code |
public boolean data definition ignored in transactions throws sqlexception return true | retrieves whether this database ignores a data definition statement |
public void start element string local name throws saxexception start element local name empty atts | start a new element without a qname attributes or a namespace uri |
public int execute update string sql string column names throws sqlexception result set rs execute query sql return 0 | executes the given sql statement and signals the driver that the |
public void end element string uri string local name throws saxexception end element uri local name | end an element without a qname |
public boolean deletes are detected int type throws sqlexception return false | retrieves whether or not a visible row delete can be detected by |
public int execute update string sql int auto generated keys throws sqlexception result set rs execute query sql return 0 | executes the given sql statement and signals the driver with the |
public int execute update string sql int column indexes throws sqlexception result set rs execute query sql return 0 | executes the given sql statement and signals the driver that the |
public void end element string local name throws saxexception end element local name | end an element without a namespace uri or qname |
public int get fetch direction throws sqlexception return result set fetch forward | retrieves the direction for fetching rows from |
public void empty element string uri string local name throws saxexception empty element uri local name empty atts | add an empty element without a qname or attributes |
public int find column string column name throws sqlexception int rtsize result table size for int x rtsize 1 x 0 x if result column result table get x column name to lower case equals column name to lower case return x 1 throw new sqlexception aresult find column string column or selection past result set or unknown name column name | maps the given code result set code column name to its |
public int get fetch size throws sqlexception return 0 | retrieves the number of result set rows that is the default |
public void empty element string local name throws saxexception empty element local name empty atts | add an empty element without a namespace uri qname or attributes |
public int get max field size throws sqlexception return 0 | retrieves the maximum number of bytes that can be |
public boolean column exists string column name int rtsize result table size for int x rtsize 1 x 0 x if result column result table get x column name to lower case equals column name to lower case return true return false | check to see if the column is in the result set |
public int get max rows throws sqlexception return 0 | retrieves the maximum number of rows that a |
public string get catalog term throws sqlexception return | retrieves the database vendors preferred term for catalog |
public boolean get more results throws sqlexception system err println more results this currentresultset result sets size if currentresultset result sets size 1 system out println we say more currentresultset max result sets size 1 return true else return false | moves to this code statement code objects next result returns |
public boolean first throws sqlexception return absolute 1 | moves the cursor to the first row in |
public boolean get more results int current throws sqlexception they are 1 based we are 0 based currentresultset current 1 if get more results return false else return true currentresultset current 1 system out println current currentresultset asked current return get more results | moves to this code statement code objects next result deals with |
public int get database major version throws sqlexception return 0 | retrieves the major version number of the underlying database |
public int get query timeout throws sqlexception return 0 | retrieves the number of seconds the driver will |
public void characters string data throws saxexception char ch data to char array characters ch 0 ch length | write a string of character data with xml escaping |
public array get array int i throws sqlexception return null | retrieves the value of the designated column in the current row |
public int get result set concurrency throws sqlexception return result set concur read only | retrieves the result set concurrency for code result set code objects |
private void force nsdecls enumeration prefixes forced decl table keys while prefixes has more elements string prefix string prefixes next element do prefix prefix null true | force all namespaces to be declared |
public int get database minor version throws sqlexception return 1 | retrieves the minor version number of the underlying database |
public int get result set holdability throws sqlexception return result set hold cursors over commit | retrieves the result set holdability for code result set code objects |
public int get result set type throws sqlexception return result set type forward only | retrieves the result set type for code result set code objects |
public string get database product name throws sqlexception return ashpool xml | retrieves the name of this database product |
private void write char c throws saxexception try output write c catch ioexception e throw new saxexception e | write a raw character |
public int get update count throws sqlexception return 1 | retrieves the current result as an update count |
public array get array string col name throws sqlexception return null | retrieves the value of the designated column in the current row |
private void write string s throws saxexception try output write s catch ioexception e throw new saxexception e | write a raw string |
public string get database product version throws sqlexception return 1 | retrieves the version number of this database product |
private void write attributes attributes atts throws saxexception int len atts get length for int i 0 i len i char ch atts get value i to char array write write name atts get uri i atts get local name i atts get qname i false write write esc ch 0 ch length true write | write out an attribute list escaping values |
public void set cursor name string name throws sqlexception | sets the sql cursor name to the given code string code which |
public list get list string col name throws sqlexception return get list find column col name | get a column of data in a java list format |
public void set escape processing boolean enable throws sqlexception | sets escape processing on or off |
public int get default transaction isolation throws sqlexception return 0 | retrieves this databases default transaction isolation level |
public big decimal get big decimal string column name throws sqlexception return null | retrieves the value of the designated column in the current row |
public void set fetch direction int direction throws sqlexception | gives the driver a hint as to the direction in which |
private void write nsdecls throws saxexception enumeration prefixes ns support get declared prefixes while prefixes has more elements string prefix string prefixes next element string uri ns support get uri prefix if uri null uri char ch uri to char array write if equals prefix write xmlns else write xmlns write prefix write write esc ch 0 ch length true write | write out the list of namespace declarations |
public big decimal get big decimal int column index throws sqlexception return null | retrieves the value of the designated column in the current row |
public int get driver minor version return 1 | retrieves this jdbc drivers minor version number |
public big decimal get big decimal int column index int scale throws sqlexception return null | retrieves the value of the designated column in the current row |
public void set max rows int max throws sqlexception | sets the limit for the maximum number of rows that any |
public string get driver name throws sqlexception return ashpool jdbc driver | retrieves the name of this jdbc driver |
public void set query timeout int seconds throws sqlexception | sets the number of seconds the driver will wait for a |
public big decimal get big decimal string column name int scale throws sqlexception return null | retrieves the value of the designated column in the current row |
public int get major version return 1 | retrieves the drivers major version number |
public boolean get auto commit throws sqlexception return true | retrieves the current auto commit mode for this code connection code |
public int get minor version return 0 | gets the drivers minor version number |
public string get catalog throws sqlexception return null | retrieves this code connection code objects current catalog name |
public string get driver version throws sqlexception return 1 | retrieves the version number of this jdbc driver as a code string code |
public blob get blob int i throws sqlexception return null | retrieves the value of the designated column in the current row |
public int get holdability throws sqlexception return result set hold cursors over commit return result set close cursors at commit | retrieves the current holdability of code result set code objects |
public database meta data get meta data throws sqlexception return new meta data this | retrieves a code database meta data code object that contains |
public int get transaction isolation throws sqlexception return connection transaction none | retrieves this code connection code objects current |
public blob get blob string col name throws sqlexception return null | retrieves the value of the designated column in the current row |
public sqlwarning get warnings throws sqlexception return new sqlwarning return null | retrieves the first warning reported by calls on this |
public boolean is closed throws sqlexception return false | retrieves whether this code connection code object has been |
public string get identifier quote string throws sqlexception return | retrieves the string used to quote sql identifiers |
public boolean get boolean int column index throws sqlexception try return boolean get boolean 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 boolean is read only throws sqlexception return con man get table manager is read only | retrieves whether this code connection code |
public string native sql string sql throws sqlexception return | converts the given sql statement into the systems native sql grammar |
public int get jdbcmajor version throws sqlexception return 0 | retrieves the major jdbc version number for this |
public callable statement prepare call string sql throws sqlexception return null | creates a code callable statement code object for calling |
public boolean get boolean string column name throws sqlexception return get boolean find column column name | retrieves the value of the designated column in the current row |
public callable statement prepare call string sql int result set type int result set concurrency throws sqlexception return null | creates a code callable statement code object that will generate |
public int get jdbcminor version throws sqlexception return 1 | retrieves the minor jdbc version number for this |
public callable statement prepare call string sql int result set type int result set concurrency int result set holdability throws sqlexception return null | creates a code callable statement code object that will generate |
public byte get byte int column index throws sqlexception try return byte parse byte 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 prepared statement prepare statement string sql throws sqlexception system err println prepare statement don t know how yet sql return null | creates a code prepared statement code object for sending |
public prepared statement prepare statement string sql string column names throws sqlexception return null | creates a default code prepared statement code object capable |
public int get max binary literal length throws sqlexception return 0 | retrieves the maximum number of hex characters this database allows in an |
public byte get byte string column name throws sqlexception return get byte find column column name | retrieves the value of the designated column in the current row |
public prepared statement prepare statement string sql int auto generated keys throws sqlexception return null | creates a default code prepared statement code object that has |
public prepared statement prepare statement string sql int column indexes throws sqlexception return null | creates a default code prepared statement code object capable |
public int get max catalog name length throws sqlexception return 0 | retrieves the maximum number of characters that this database allows in a |
public clob get clob int i throws sqlexception return null | retrieves the value of the designated column in the current row |
public prepared statement prepare statement string sql int result set type int result set concurrency throws sqlexception return null | creates a code prepared statement code object that will generate |
public prepared statement prepare statement string sql int result set type int result set concurrency int result set holdability throws sqlexception return null | creates a code prepared statement code object that will generate |
public clob get clob string col name throws sqlexception return null | retrieves the value of the designated column in the current row |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.