TC Java
2009 Version

gov.nih.nlm.nls.tc.Db
Class DbShJdScores

java.lang.Object
  extended by gov.nih.nlm.nls.tc.Db.DbShJdScores

public class DbShJdScores
extends java.lang.Object

This class provides high level interfaces to get Sh-Jd scores from SH_JD_SCORES table in TC database.

History:

Version:
V-2009
Author:
NLM Lexical Systems Group

Constructor Summary
DbShJdScores()
           
 
Method Summary
static java.util.Vector<Count1f> GetScoresBySh(java.lang.String sh, java.sql.Connection conn)
          Get JD socres in WC and DC from database SH_JD_SCORES tables by specifying Subheading and db connection.
static void main(java.lang.String[] args)
          Test driver for this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbShJdScores

public DbShJdScores()
Method Detail

GetScoresBySh

public static java.util.Vector<Count1f> GetScoresBySh(java.lang.String sh,
                                                      java.sql.Connection conn)
                                               throws java.sql.SQLException
Get JD socres in WC and DC from database SH_JD_SCORES tables by specifying Subheading and db connection.

Parameters:
sh - subheading of interested
conn - database connection
Returns:
a collection of JD scores in Count2f (WC and DC) for the specified shubheading
Throws:
sql - exception if caught in sql query
java.sql.SQLException

main

public static void main(java.lang.String[] args)
Test driver for this class.


TC Java
2009 Version

Submit a bug or feature

Copyright © 2009 National Library of Medicine