Kieker 1.5

kieker.monitoring.writer.database
Class DBWriterHelper

java.lang.Object
  extended by kieker.monitoring.writer.database.DBWriterHelper

public final class DBWriterHelper
extends Object

Author:
Jan Waller

Constructor Summary
DBWriterHelper(Connection connection, String indexTablename, AtomicInteger tableCounter, boolean overwrite)
           
DBWriterHelper(Connection connection, String indexTablename, boolean overwrite)
           
 
Method Summary
 void createIndexTable()
           
 String createTable(String classname, Class<?>... columns)
           
 boolean set(PreparedStatement preparedStatement, int parameterIndex, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBWriterHelper

public DBWriterHelper(Connection connection,
                      String indexTablename,
                      boolean overwrite)
               throws SQLException
Throws:
SQLException

DBWriterHelper

public DBWriterHelper(Connection connection,
                      String indexTablename,
                      AtomicInteger tableCounter,
                      boolean overwrite)
               throws SQLException
Throws:
SQLException
Method Detail

createTable

public String createTable(String classname,
                          Class<?>... columns)
                   throws SQLException
Throws:
SQLException

createIndexTable

public void createIndexTable()
                      throws SQLException
Throws:
SQLException

set

public boolean set(PreparedStatement preparedStatement,
                   int parameterIndex,
                   Object value)
            throws SQLException
Throws:
SQLException

toString

public String toString()
Overrides:
toString in class Object

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net