hep.aida.ref.sql.Test
Class Read
java.lang.Object
hep.aida.ref.sql.Test.Read
public class Read
- extends Object
Read
reads one NTuple table. It gets
a token_sring
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.
Reading
is an example to show reading API and
capabilities of SQLTuple.
$Log: Read.java,v $
Revision 1.28 2007/05/23 16:38:45 hrivnac
logical connections for Plotter; better UML
Revision 1.27 2004/10/29 22:27:25 hrivnac
imports corrected
Revision 1.26 2004/10/08 15:22:33 hrivnac
JAS3 plugin works
Revision 1.25 2004/05/22 15:12:59 hrivnac
class id reformated
Revision 1.24 2004/04/14 13:39:47 hrivnac
1.5 warnings fixed
Revision 1.23 2004/04/13 15:45:54 hrivnac
AIDA URL introduced
Revision 1.22 2004/02/10 14:50:58 hrivnac
JavaDoc tags completed
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/17 15:01:23 hrivnac
More BM results.
Revision 1.18 2003/11/17 10:18:29 hrivnac
Cleaning.
Revision 1.17 2003/11/13 15:43:23 hrivnac
BenchMarking introduced.
Revision 1.16 2003/11/05 19:46:22 hrivnac
- FreeHEP 1.2.1
- JAIDA 3.2.1
Revision 1.9 2003/10/30 11:42:44 hrivnac
ArrayList -> Collection
Revision 1.6 2003/09/30 20:30:47 hrivnac
special Pool functions
Revision 1.5 2003/09/30 16:46:02 hrivnac
- Writing test in TestWrite
- SQLTuple projections supported
Revision 1.4 2003/09/30 14:11:48 hrivnac
Can created SQLTuples.
Revision 1.3 2003/09/30 12:29:19 hrivnac
Tuples can be written.
Revision 1.2 2003/09/29 14:36:40 hrivnac
Works per attribute.
- Version:
- $Id: Read.java,v 1.28 2007/05/23 16:38:45 hrivnac Exp $
- Author:
- J.Hrivnac
Field Summary |
private static Logger |
log
Logging . |
Constructor Summary |
Read()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Logger log
- Logging .
Read
public Read()
main
public static void main(String[] args)
- Initiate processing.
- Parameters:
args
-
- The URL of existing database,
- the user name to be used,
- the user password to be used.
process
private void process(String url,
String user,
String passwd)
throws SQLTupleException
- Perform processing.
- Parameters:
url
- The URL of existing database.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