hep.aida.ref.sql.Test
Class Write
java.lang.Object
hep.aida.ref.sql.Test.Write
public class Write
- extends Object
Write
writes one NTuple table.
Database should exist, NTuple is created if
needed, it is overwritten if it exists.
Write
is an example to show reading API and
capabilities of SQLTuple.
$Log: Write.java,v $
Revision 1.35 2007/05/23 16:38:45 hrivnac
logical connections for Plotter; better UML
Revision 1.34 2005/09/28 16:21:06 hrivnac
code cleaning
Revision 1.33 2004/10/22 15:33:00 hrivnac
cleaned
Revision 1.32 2004/10/20 23:02:29 hrivnac
Types mapping simplified
Revision 1.31 2004/07/06 14:24:50 hrivnac
support for Oracle
Revision 1.30 2004/05/22 15:12:59 hrivnac
class id reformated
Revision 1.29 2004/04/20 09:28:08 hrivnac
bug fixes
Revision 1.28 2004/04/16 15:32:58 hrivnac
Type.properties to setup Type.class
Revision 1.27 2004/04/15 08:49:02 hrivnac
ColMan fixes
Revision 1.26 2004/04/14 15:34:28 hrivnac
changes required by ColMan
Revision 1.25 2004/04/14 13:39:47 hrivnac
1.5 warnings fixed
Revision 1.24 2004/04/13 15:45:54 hrivnac
AIDA URL introduced
Revision 1.23 2004/02/10 14:50:58 hrivnac
JavaDoc tags completed
Revision 1.22 2004/02/04 13:30:42 hrivnac
- improvement of Enums internal mapping
- general cleaning
Revision 1.21 2003/11/24 15:13:22 hrivnac
Logging improved.
Revision 1.20 2003/11/20 17:21:58 hrivnac
Java 1.5 natively supported, Log4J reporting improved.
Revision 1.19 2003/11/05 19:46:22 hrivnac
- FreeHEP 1.2.1
- JAIDA 3.2.1
Revision 1.1 2003/09/30 16:46:02 hrivnac
- Writing test in TestWrite
- SQLTuple projections supported
- Version:
- $Id: Write.java,v 1.35 2007/05/23 16:38:45 hrivnac Exp $
- Author:
- J.Hrivnac
Field Summary |
private static Logger |
log
Logging . |
Constructor Summary |
Write()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Logger log
- Logging .
Write
public Write()
main
public static void main(String[] args)
- Initiate processing.
- Parameters:
args
-
- The URL of existing database,
- the number of rows to write,
- the user name to be used,
- the user password to be used.
process
public void process(String url,
int rows,
String user,
String passwd)
throws SQLTupleException
- Perform processing.
- Parameters:
url
- The URL of existing database.rows
- The number of rows to write.user
- The user name to be used.passwd
- The user password to be used.
- Throws:
SQLTuple
- if the operation can't be performed.
SQLTupleException
Documentation built November 9 2010 on Linux by hrivnac