hep.aida.ref.sql.Test
Class Chain
java.lang.Object
hep.aida.ref.sql.Test.Chain
public class Chain
- extends Object
Chain
reads two NTuple tables as one NTuple. It gets
a token_string
String from each row which
satisfies a simple filter. RowRepresentant
s are
created from those Strings and accumulated in
an array. Database and NTuple (table) should exist.
Chain
is an example to show chaining API and
capabilities of SQLTuple.
$Log: Chain.java,v $
Revision 1.16 2007/05/23 16:38:45 hrivnac
logical connections for Plotter; better UML
Revision 1.15 2005/03/09 15:25:52 hrivnac
ITuple.rows() improved
Revision 1.14 2004/10/29 22:27:25 hrivnac
imports corrected
Revision 1.13 2004/06/16 21:56:43 hrivnac
StringBuffer in SQLTuple.addRow() -> speed
Revision 1.12 2004/05/22 15:12:59 hrivnac
class id reformated
Revision 1.11 2004/04/14 13:39:47 hrivnac
1.5 warnings fixed
Revision 1.10 2004/04/13 15:45:54 hrivnac
AIDA URL introduced
Revision 1.9 2004/02/10 14:50:58 hrivnac
JavaDoc tags completed
Revision 1.8 2003/11/24 15:13:22 hrivnac
Logging improved.
Revision 1.7 2003/11/20 17:21:58 hrivnac
Java 1.5 natively supported, Log4J reporting improved.
Revision 1.6 2003/11/17 15:01:23 hrivnac
More BM results.
Revision 1.5 2003/11/17 10:18:29 hrivnac
Cleaning.
Revision 1.4 2003/11/06 16:54:16 hrivnac
Merger works for SQL DBs
Revision 1.3 2003/11/05 19:46:22 hrivnac
- FreeHEP 1.2.1
- JAIDA 3.2.1
- Version:
- $Id: Chain.java,v 1.16 2007/05/23 16:38:45 hrivnac Exp $
- Author:
- J.Hrivnac
Field Summary |
private static Logger |
log
Logging . |
Constructor Summary |
Chain()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Logger log
- Logging .
Chain
public Chain()
main
public static void main(String[] args)
- Initiate processing.
- Parameters:
args
-
- The URL of the first existing database,
- the first user name to be used,
- the first user password to be used,
- the URL of the second existing database,
- the second user name to be used,
- the second user password to be used.
process
private void process(String url1,
String user1,
String passwd1,
String url2,
String user2,
String passwd2)
throws SQLTupleException
- Perform processing.
- Parameters:
url1
- The URL of the first existing database.user1
- The first user name to be used.passwd1
- The first user password to be used.url2
- The URL of the second existing database.user2
- The second user name to be used.passwd2
- The second user password to be used.
- Throws:
SQLTuple
- if the operation can't be performed.
SQLTupleException
Documentation built November 9 2010 on Linux by hrivnac