|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mdms.FileService.komodo.services.query.server.AtlasIISearchService
public class AtlasIISearchService
Purpose: Implementation of the QSearchService for the Atlas II service.
Copyright 2007, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2007.
============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 08/07/2007 Nick Initial Release ============================================================================
| Field Summary | |
|---|---|
static String |
ATLAS_KEY_FILETYPE
|
static String |
ATLAS_KEY_NAME
|
static String |
ATLAS_KEY_SIZE
|
static String |
ATLAS_KEY_TIME
|
protected URL |
configLocation
|
static String |
FEI_KEY_FILETYPE
|
static String |
FEI_KEY_NAME
|
static String |
FEI_KEY_SIZE
|
static String |
FEI_KEY_TIME
|
protected boolean |
isClosed
|
protected Properties |
properties
|
protected URL |
serviceLocation
|
| Constructor Summary | |
|---|---|
AtlasIISearchService()
Constructor |
|
AtlasIISearchService(URL serviceLocation)
Constructor with initial service location |
|
| Method Summary | |
|---|---|
void |
close()
Closes this service. |
String |
getProperty(String name)
Returns the value of a property. |
void |
init()
|
boolean |
isClosed()
Implementation of the Closeable interface. |
boolean |
performQuery(QSession session)
Performs the search query using Atlas II. |
void |
setProperty(String name,
String value)
Sets a property. |
void |
setServiceUrl(URL serviceLocation)
Sets the service location URL |
protected String |
translateConstraints(String original)
Performs a translation of the SQL_like query constraints replacing the generic keywords with Atlas-specific names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String ATLAS_KEY_FILETYPE
public static String ATLAS_KEY_NAME
public static String ATLAS_KEY_SIZE
public static String ATLAS_KEY_TIME
public static String FEI_KEY_FILETYPE
public static String FEI_KEY_NAME
public static String FEI_KEY_SIZE
public static String FEI_KEY_TIME
protected boolean isClosed
protected URL serviceLocation
protected URL configLocation
protected Properties properties
| Constructor Detail |
|---|
public AtlasIISearchService()
public AtlasIISearchService(URL serviceLocation)
serviceLocation - URL of Atlas service location| Method Detail |
|---|
public void setServiceUrl(URL serviceLocation)
setServiceUrl in interface QSearchServiceURL - of service locationpublic void init()
public void setProperty(String name,
String value)
setProperty in interface QSearchServicename - Property namevalue - Property valuepublic String getProperty(String name)
getProperty in interface QSearchServicename - Property name
public void close()
close in interface Closeablepublic boolean performQuery(QSession session)
performQuery in interface QSearchServicesession - Session requesting the query
public boolean isClosed()
isClosed in interface Closeableprotected String translateConstraints(String original)
original - SQL-string from a QueryConstraints instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||