|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
cds.simbad.Simbad
cds.simbad.SimbadQuery
Titre : SimbadQuery.java
Description : Implementation de l'interface SimbadInterface
Copyright : Copyright (c) 2002
Société :
Field Summary | |
private static int |
LEVEL
|
private static int |
MAX_VAL_LIST
|
private static Parameters |
pdata
|
private static Parameters |
pdb
|
private static Parameters |
ptable
|
Fields inherited from class cds.simbad.Simbad |
con, p, RMIPrefix, sjdbc |
Fields inherited from class java.rmi.server.UnicastRemoteObject |
|
Fields inherited from class java.rmi.server.RemoteServer |
|
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
SimbadQuery(java.lang.String database)
Constructor. |
Method Summary | |
java.lang.Object |
alink(long oid)
Recherche de tous les objets associes a un objet (lien associatif) |
java.lang.Object |
autPosRef(java.lang.String author,
int pos)
Recuperation de la reference bibliographique a partir d'un auteur et de sa position |
java.lang.Object |
bibcode(java.lang.String bibcode)
Interrogation par reference bibliographique |
Reference |
bibcodeRef(long oidbib)
Recuperation de la reference bibliographique associee a un oidbib |
Reference |
bibcodeRef(java.lang.String bibcode)
Recuperation de la reference bibliographique associee a un bibcode |
java.lang.Object |
cat(java.lang.String catName)
Interrogation par catalogue |
java.lang.String |
cooboxParse(java.lang.String coord,
double radius)
Methode effectuant le traitement des coordonnees |
AstrobjectList |
coord(java.lang.String coord,
java.lang.Double _radius)
MOD-BB 01/12/03 : Renvoie une AstrobjectList au lieu d'un objet. |
java.lang.Object |
coordParam(java.lang.String coord,
double radius,
java.lang.String data,
float limitInf,
float limitSup)
Interrogation par coordonnees (centre, rayon) et critere |
java.lang.Object |
criteriaQuery(java.lang.String criteriaList)
Interrogation par criteres |
java.util.ArrayList |
getMetadata()
Recuperation des metadonnees (tables et colonnes) pour les interrogations par requete SQL libre |
java.lang.Object |
hlink(long oid)
Recherche des fils d'un objet (lien hierarchique) |
java.lang.Object |
ident(java.lang.String ident,
int type)
Interrogation par identificateur |
java.lang.Object |
oid(long oid)
Interrogation par oid |
AstrobjectList |
oidList(java.util.ArrayList oidlist)
MOD-BB 01/12/03 : Renvoie une AstrobjectList au lieu d'un objet. |
java.lang.Object |
sqlQuery(java.lang.String sqlQuery,
java.lang.String strSelect)
Interrogation de la base par une requete SQL formulee par l'utilisateur |
java.lang.Object |
titleRef(java.util.ArrayList titleWords,
java.lang.String op)
Recuperation de la reference bibliographique a partir des mots du titre |
Methods inherited from class cds.simbad.Simbad |
close, databaseName, getParameterFile, open, open |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static int LEVEL
private static Parameters pdb
private static Parameters ptable
private static Parameters pdata
private static final int MAX_VAL_LIST
Constructor Detail |
public SimbadQuery(java.lang.String database) throws java.rmi.RemoteException
database
- main database parameters file (full path or url)
java.rmi.RemoteException
- if RMI problem encounteredMethod Detail |
public java.lang.Object oid(long oid) throws java.rmi.RemoteException, SimbadException
oid
- oid de l'objet astronomique
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object ident(java.lang.String ident, int type) throws java.rmi.RemoteException, SimbadException
ident
- identificateur de l'objet astronomiquetype
- type d'interrogation (0 : ident complet, 1 : expr reguliere, 2 : like)
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object cat(java.lang.String catName) throws java.rmi.RemoteException, SimbadException
catName
- nom du catalogue
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic AstrobjectList coord(java.lang.String coord, java.lang.Double _radius) throws java.rmi.RemoteException, SimbadException
coord
- coordonnees du centre sous forme de chaine de caracteres
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object coordParam(java.lang.String coord, double radius, java.lang.String data, float limitInf, float limitSup) throws java.rmi.RemoteException, SimbadException
coord
- coordonnees du centre sous forme de chaine de caracteresradius
- rayon en degresdata
- criterelimitInf
- valeur minimale du criterelimitSup
- valeur maximale du critere
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.String cooboxParse(java.lang.String coord, double radius) throws SimbadException
coord
- coordonnees du centre sous forme de chaine de caracteresradius
- rayon en degres
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object bibcode(java.lang.String bibcode) throws java.rmi.RemoteException, SimbadException
bibcode
- reference bibliographique dans laquelle apparaissent les objets astronomiques recherches
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic Reference bibcodeRef(java.lang.String bibcode) throws java.rmi.RemoteException, SimbadException
bibcode
- bibcode dont on veut la reference bibliographique entiere
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic Reference bibcodeRef(long oidbib) throws java.rmi.RemoteException, SimbadException
oidbib
- oidbib dont on veut la reference bibliographique entiere
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object autPosRef(java.lang.String author, int pos) throws java.rmi.RemoteException, SimbadException
author
- auteur d'une reference bibliographiquepos
- position dans laquelle l'auteur apparaît dans la reference bibliographique
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object titleRef(java.util.ArrayList titleWords, java.lang.String op) throws java.rmi.RemoteException, SimbadException
titleWords
- liste des mots du titreop
- operateur de liaison : ou / et / "" (si pas de liaison)
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object hlink(long oid) throws java.rmi.RemoteException, SimbadException
oid
- oid de l'objet dont on recherche les fils
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.lang.Object alink(long oid) throws java.rmi.RemoteException, SimbadException
oid
- oid de l'objet dont on recherche les objets associes
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic AstrobjectList oidList(java.util.ArrayList oidlist) throws java.rmi.RemoteException
oidlist
- liste d'oid
java.rmi.RemoteException
- if RMI problem encounteredpublic java.lang.Object sqlQuery(java.lang.String sqlQuery, java.lang.String strSelect) throws java.rmi.RemoteException, SimbadException
sqlQuery
- requete SQLstrSelect
- champs figurants de la partie "select" de la requête
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problempublic java.util.ArrayList getMetadata() throws java.rmi.RemoteException
java.rmi.RemoteException
- if RMI problem encounteredpublic java.lang.Object criteriaQuery(java.lang.String criteriaList) throws java.rmi.RemoteException, SimbadException
criteriaList
- liste de criteres (criteres de la forme critere = valeur separes par un point virgule)
java.rmi.RemoteException
- if RMI problem encountered
SimbadException
- if Simbad data problem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |