|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabasePlugin
Interface a database plugin must implement to work with java VAMDC-TAP implementation.
Method Summary | |
---|---|
void |
buildXSAMS(RequestInterface userRequest)
Build XSAMS data from user request |
String |
getErrorMessage()
Return verbose reason of error if node is not available |
Map<org.vamdc.dictionary.HeaderMetrics,Object> |
getMetrics(RequestInterface userRequest)
Get query metrics. |
Collection<org.vamdc.dictionary.Restrictable> |
getRestrictables()
Get restrictables supported by this tapservice implementation. |
boolean |
isAvailable()
Do some really node-specific availability checks |
Method Detail |
---|
Collection<org.vamdc.dictionary.Restrictable> getRestrictables()
void buildXSAMS(RequestInterface userRequest)
userRequest
- request and response wrapper, contains user query object and XSAMS output wrapperMap<org.vamdc.dictionary.HeaderMetrics,Object> getMetrics(RequestInterface userRequest)
userRequest
- the same RequestInterface structure as for buildXSAMS.
boolean isAvailable()
String getErrorMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |