A C D E F G I O P R S T V

A

affectedRows() - Method in class SQLRCursor
Returns the number of rows that were updated, inserted or deleted by the query.

C

cacheOff() - Method in class SQLRCursor
Sets query caching off.
cacheToFile(String) - Method in class SQLRCursor
Sets query caching on.
clearBinds() - Method in class SQLRCursor
Clear all bind variables.
colCount() - Method in class SQLRCursor
Returns the number of columns in the current result set.
connection - Variable in class SQLRConnection
connection is used internally, it's just public to make the JNI wrapper work faster.
cursor - Variable in class SQLRCursor
cursor is used internally, it's just public to make the JNI wrapper work faster.

D

debugOff() - Method in class SQLRConnection
Turns debugging off.
debugOn() - Method in class SQLRConnection
Causes verbose debugging information to be sent to standard output.
defineOutputBind(String, int) - Method in class SQLRCursor
Define an output bind variable.
delete() - Method in class SQLRConnection
Disconnects and ends the session if it hasn't been ended already.
delete() - Method in class SQLRCursor
 
dontGetColumnInfo() - Method in class SQLRCursor
Tells the server not to send any column info (names, types, sizes).

E

endOfResultSet() - Method in class SQLRCursor
Returns 0 if part of the result set is still pending on the server and 1 if not.
endSession() - Method in class SQLRConnection
Ends the session.
errorMessage() - Method in class SQLRCursor
If a query failed and generated an error, the error message is available here.
executeQuery() - Method in class SQLRCursor
Execute the query that was previously prepared and bound.

F

firstRowIndex() - Method in class SQLRCursor
Returns the index of the first buffered row.

G

getCacheFileName() - Method in class SQLRCursor
Returns the name of the file containing the cached result set.
getColumnInfo() - Method in class SQLRCursor
Tells the server to send column info.
getColumnLength(int) - Method in class SQLRCursor
Returns the length of the specified column.
getColumnLength(String) - Method in class SQLRCursor
Returns the length of the specified column.
getColumnName(int) - Method in class SQLRCursor
Returns the name of the specified column.
getColumnNames() - Method in class SQLRCursor
Returns a null terminated array of the column names of the current result set.
getColumnType(int) - Method in class SQLRCursor
Returns the type of the specified column.
getColumnType(String) - Method in class SQLRCursor
Returns the type of the specified column.
getConnectionPort() - Method in class SQLRConnection
Returns the inet port that the connection is communicating over.
getConnectionSocket() - Method in class SQLRConnection
Returns the unix socket that the connection is communicating over.
getDebug() - Method in class SQLRConnection
Returns 0 if debugging is off and 1 if debugging is on.
getField(int, int) - Method in class SQLRCursor
Returns a pointer to the value of the specified row and column.
getField(int, String) - Method in class SQLRCursor
Returns a pointer to the value of the specified row and column.
getFieldLength(int, int) - Method in class SQLRCursor
Returns the length of the specified row and column.
getFieldLength(int, String) - Method in class SQLRCursor
Returns the length of the specified row and column.
getLongest(int) - Method in class SQLRCursor
Returns the length of the longest field in the specified column.
getLongest(String) - Method in class SQLRCursor
Returns the length of the longest field in the specified column.
getNullsAsEmptyStrings() - Method in class SQLRCursor
Tells the connection to return NULL fields and output bind variables as empty strings.
getNullsAsNulls() - Method in class SQLRCursor
Tells the connection to return NULL fields and output bind variables as NULL's rather than as empty strings.
getOutputBind(String) - Method in class SQLRCursor
Get the value stored in a previously defined output bind variable.
getResultSetBufferSize() - Method in class SQLRCursor
Returns the number of result set rows that will be buffered at a time or 0 for the entire result set.
getResultSetId() - Method in class SQLRCursor
Returns the internal ID of this result set.
getRow(int) - Method in class SQLRCursor
Returns a null terminated array of the values of the fields in the specified row.
getRowLengths(int) - Method in class SQLRCursor
Returns a null terminated array of the lengths of the fields in the specified row.

I

identify() - Method in class SQLRCursor
Returns the type of database: oracle7, oracle8, postgresql, mysql, etc.
inputBind(String, double, int, int) - Method in class SQLRCursor
Define an input bind variable.
inputBind(String, long) - Method in class SQLRCursor
Define an input bind variable.
inputBind(String, String) - Method in class SQLRCursor
Define an input bind variable.
inputBinds(String[], double[], int[], int[]) - Method in class SQLRCursor
Define an array of input bind variables.
inputBinds(String[], long[]) - Method in class SQLRCursor
Define an array of input bind variables.
inputBinds(String[], String[]) - Method in class SQLRCursor
Define an array of input bind variables.

O

openCachedResultSet(String) - Method in class SQLRCursor
Opens a cached result set.

P

ping() - Method in class SQLRCursor
Returns 1 if the database is up and 0 if it's down.
prepareFileQuery(String, String) - Method in class SQLRCursor
Prepare to execute the contents of "path"/"filename".
prepareQuery(String) - Method in class SQLRCursor
Prepare to execute "query".

R

resumeCachedResultSet(int, String) - Method in class SQLRCursor
Resumes a result set previously left open using suspendSession() and continues caching the result set to "filename".
resumeResultSet(int) - Method in class SQLRCursor
Resumes a result set previously left open using suspendSession().
resumeSession(int, String) - Method in class SQLRConnection
Resumes a session previously left open using suspendSession().
rowCount() - Method in class SQLRCursor
Returns the number of rows in the current result set (if the result set is being stepped through, this returns the number of rows processed so far).

S

sendFileQuery(String, String) - Method in class SQLRCursor
Sends the query in file "path"/"filename" and gets a result set.
sendQuery(String) - Method in class SQLRCursor
Sends "query" and gets a result set.
setCacheTtl(int) - Method in class SQLRCursor
Sets the time-to-live for cached result sets.
setResultSetBufferSize(int) - Method in class SQLRCursor
Sets the number of rows of the result set to buffer at a time.
SQLRConnection - class SQLRConnection.
 
SQLRConnection(String, int, String, String, String, int, int) - Constructor for class SQLRConnection
Initiates a connection to "server" on "port" or to the unix "socket" on the local machine and authenticates with "user" and "password".
SQLRCursor - class SQLRCursor.
 
SQLRCursor(SQLRConnection) - Constructor for class SQLRCursor
 
substitution(String, double, int, int) - Method in class SQLRCursor
Define a substitution variable.
substitution(String, long) - Method in class SQLRCursor
Define a substitution variable.
substitution(String, String) - Method in class SQLRCursor
Define a substitution variable.
substitutions(String[], double[], int[], int[]) - Method in class SQLRCursor
Define an array of substitution variables.
substitutions(String[], long[]) - Method in class SQLRCursor
Define an array of substitution variables.
substitutions(String[], String[]) - Method in class SQLRCursor
Define an array of substitution variables.
suspendResultSet() - Method in class SQLRCursor
Tells the server to leave this result set open when the connection calls suspendSession() so that another connection can connect to it using resumeResultSet() after it calls resumeSession().
suspendSession() - Method in class SQLRConnection
Disconnects this connection from the current session but leaves the session open so that another connection can connect to it using resumeSession().

T

totalRows() - Method in class SQLRCursor
Returns the total number of rows that will be returned in the result set.

V

validateBinds() - Method in class SQLRCursor
If you are binding to any variables that might not actually be in your query, call this to ensure that the database won't try to bind them unless they really are in the query.

A C D E F G I O P R S T V