stimulusdelayrewardanalyzer
Class SQLTools

java.lang.Object
  |
  +--stimulusdelayrewardanalyzer.SQLTools

public class SQLTools
extends java.lang.Object

Set of SQL tools for the environment and simulations data.


Constructor Summary
SQLTools()
           
 
Method Summary
static java.lang.String buildSQLInsert(java.lang.String tableName, java.lang.String[] fieldNames, java.lang.String[] values)
          Construct an SQL INSERT statement in string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLTools

public SQLTools()
Method Detail

buildSQLInsert

public static java.lang.String buildSQLInsert(java.lang.String tableName,
                                              java.lang.String[] fieldNames,
                                              java.lang.String[] values)
Construct an SQL INSERT statement in string

Parameters:
tableName - The table name
fieldNames - The field names
values - The field values in the same order and properly quoted when necessary (eg: string 'my example')
Returns:
A valid SQL insert statement