B C D E F G I M N P Q R S T U

B

backward(String) - Method in interface de.bezier.data.sql.mapper.NameMapper
Reverse of forward, maps object names to database names like: fieldName -> field_name.
backward(String) - Method in class de.bezier.data.sql.mapper.UnderScoreToCamelCaseMapper
 

C

close() - Method in class de.bezier.data.sql.SQL
Close the database connection
connect() - Method in class de.bezier.data.sql.SQL
Open the database connection with the parameters given in the contructor.
connection - Variable in class de.bezier.data.sql.SQL
 

D

database - Variable in class de.bezier.data.sql.SQL
 
de.bezier.data.sql - package de.bezier.data.sql
 
de.bezier.data.sql.mapper - package de.bezier.data.sql.mapper
 
DeBezierDataSQL - Class in <Unnamed>
In Java classes in a package can not gain access to classes outside any package through reflection.
DeBezierDataSQL() - Constructor for class DeBezierDataSQL
 
dispose() - Method in class de.bezier.data.sql.SQL
Callback function for PApplet.registerDispose()
driver - Variable in class de.bezier.data.sql.SQL
 

E

escape(Object) - Method in class de.bezier.data.sql.SQL
Generate an escaped String for a given Object
execute(String) - Method in class de.bezier.data.sql.SQL
Execute a SQL command on the open database connection.
execute(String, Object...) - Method in class de.bezier.data.sql.SQL
Execute a SQL command on the open database connection.

F

forward(String) - Method in interface de.bezier.data.sql.mapper.NameMapper
Maps a database name to an object name, typically this might look like: field_name -> fieldName.
forward(String) - Method in class de.bezier.data.sql.mapper.UnderScoreToCamelCaseMapper
 

G

getBigDecimal(String) - Method in class de.bezier.data.sql.SQL
Read a java.math.BigDecimal value from the specified field.
getBigDecimal(int) - Method in class de.bezier.data.sql.SQL
Read a java.math.BigDecimal value from the specified field.
getBoolean(String) - Method in class de.bezier.data.sql.SQL
Read a boolean value from the specified field.
getBoolean(int) - Method in class de.bezier.data.sql.SQL
Read a boolean value from the specified field.
getColumnNames() - Method in class de.bezier.data.sql.SQL
Returns an array with the column names of the last request.
getConnection() - Method in class de.bezier.data.sql.SQL
Get connection.
getDate(String) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Date value from the specified field.
getDate(int) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Date value from the specified field.
getDebug() - Method in class de.bezier.data.sql.SQL
Get current debugging setting
getDouble(String) - Method in class de.bezier.data.sql.SQL
Read a double value from the specified field.
getDouble(int) - Method in class de.bezier.data.sql.SQL
Read a double value from the specified field.
getDriverVersion() - Method in class de.bezier.data.sql.SQL
Return the version of the currently active JDBC driver
getFloat(String) - Method in class de.bezier.data.sql.SQL
Read a float value from the specified field.
getFloat(int) - Method in class de.bezier.data.sql.SQL
Read a float value from the specified field.
getInt(String) - Method in class de.bezier.data.sql.SQL
Read an integer value from the specified field.
getInt(int) - Method in class de.bezier.data.sql.SQL
Read an integer value from the specified field.
getLong(String) - Method in class de.bezier.data.sql.SQL
Read a long value from the specified field.
getLong(int) - Method in class de.bezier.data.sql.SQL
Read a long value from the specified field.
getNameMapper() - Method in class de.bezier.data.sql.SQL
Get the current NameMapper
getObject(String) - Method in class de.bezier.data.sql.SQL
Read a value from the specified field to hav it returned as an object.
getObject(int) - Method in class de.bezier.data.sql.SQL
Read a value from the specified field to hav it returned as an object.
getString(String) - Method in class de.bezier.data.sql.SQL
Read a String value from the specified field.
getString(int) - Method in class de.bezier.data.sql.SQL
Read a String value from the specified field.
getTableNames() - Method in class de.bezier.data.sql.MySQL
 
getTableNames() - Method in class de.bezier.data.sql.PostgreSQL
 
getTableNames() - Method in class de.bezier.data.sql.SQL
Get names of available tables in active database, needs to be implemented per db adapter.
getTableNames() - Method in class de.bezier.data.sql.SQLite
 
getTime(String) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Time value from the specified field.
getTime(int) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Time value from the specified field.
getTimestamp(String) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Timestamp value from the specified field.
getTimestamp(int) - Method in class de.bezier.data.sql.SQL
Read a java.sql.Timestamp value from the specified field.
getValuesFromObject(SQL, Field[], Method[], Object) - Static method in class DeBezierDataSQL
 

I

insertUpdateInDatabase(String, String[], Object[]) - Method in class de.bezier.data.sql.SQL
Insert or update a bunch of values in the database.

M

main(String...) - Static method in class de.bezier.data.sql.mapper.UnderScoreToCamelCaseMapper
 
MySQL - Class in de.bezier.data.sql
MySQL wrapper for SQL library for Processing 2+
MySQL(PApplet, String) - Constructor for class de.bezier.data.sql.MySQL
 
MySQL(PApplet, String, String, String, String) - Constructor for class de.bezier.data.sql.MySQL
Creates a new MySQL connection.

N

NameMapper - Interface in de.bezier.data.sql.mapper
NameMapper is used to map database names to instance names When setting objects from objects with SQL.setFromRow().
nameToGetter(String) - Method in class de.bezier.data.sql.SQL
Convert a field name to a getter name: fieldName -> getFieldName().
nameToSetter(String) - Method in class de.bezier.data.sql.SQL
Convert a field name to a setter name: fieldName -> setFieldName().
next() - Method in class de.bezier.data.sql.SQL
Check if more results (rows) are available.

P

PostgreSQL - Class in de.bezier.data.sql
PostgreSQL wrapper for SQL library for Processing 2+
PostgreSQL(PApplet, String) - Constructor for class de.bezier.data.sql.PostgreSQL
 
PostgreSQL(PApplet, String, String, String, String) - Constructor for class de.bezier.data.sql.PostgreSQL
Creates a new PostgreSQL connection.
previousQuery - Variable in class de.bezier.data.sql.SQL
 

Q

query(String) - Method in class de.bezier.data.sql.SQL
Issue a query on the open database connection
query(String, Object...) - Method in class de.bezier.data.sql.SQL
Issue a query on the open database connection.

R

registerTableNameForClass(String, Object) - Method in class de.bezier.data.sql.SQL
Set a table name for a class.
result - Variable in class de.bezier.data.sql.SQL
 

S

saveToDatabase(Object) - Method in class de.bezier.data.sql.SQL
Take an object, try to find table name from object name (or look it up), get fields and getters from object and pass that on to insertUpdateIntoDatabase(table, columns, values).
saveToDatabase(String, Object) - Method in class de.bezier.data.sql.SQL
Takes a table name and an object and tries to construct a set of columns names from fields and getters found in the object.
server - Variable in class de.bezier.data.sql.SQL
 
setDebug(boolean) - Method in class de.bezier.data.sql.SQL
Turn some debugging on/off.
setFromRow(Object) - Method in class de.bezier.data.sql.SQL
Highly experimental ...
tries to map column names to public fields or setter methods in the given object.
setFromRow(SQL, Object) - Static method in class DeBezierDataSQL
 
setNameMapper(NameMapper) - Method in class de.bezier.data.sql.SQL
Set the current NameMapper
SQL - Class in de.bezier.data.sql
SQL library for Processing 2+
SQL() - Constructor for class de.bezier.data.sql.SQL
Do not use this contructor.
SQL(PApplet, String) - Constructor for class de.bezier.data.sql.SQL
You should not directly use the SQL.class instead use the classes for your database type.
SQL(PApplet, String, String, String, String) - Constructor for class de.bezier.data.sql.SQL
You should not directly use the SQL.class instead use the classes for your database type.
SQLite - Class in de.bezier.data.sql
SQLite wrapper for SQL library for Processing 2+
SQLite(PApplet, String) - Constructor for class de.bezier.data.sql.SQLite
Creates a new SQLite connection.
SQLite(PApplet, String, String, String, String) - Constructor for class de.bezier.data.sql.SQLite
Creates a new SQLite connection, same as SQLite( PApplet, String )
statement - Variable in class de.bezier.data.sql.SQL
 

T

type - Variable in class de.bezier.data.sql.SQL
 

U

UnderScoreToCamelCaseMapper - Class in de.bezier.data.sql.mapper
UnderScoreToCamelCaseMapper, does as it says.
UnderScoreToCamelCaseMapper() - Constructor for class de.bezier.data.sql.mapper.UnderScoreToCamelCaseMapper
 
url - Variable in class de.bezier.data.sql.SQL
 
user - Variable in class de.bezier.data.sql.SQL
 

B C D E F G I M N P Q R S T U

Processing library BezierSQLib (formerly SQLibrary) by Florian Jenett. (c) 2005 - 2012