|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedWrapper
uk.ac.ic.doc.automed.wrappers.YattaWrapper
public class YattaWrapper
A YATTA wrapper for semistructured data source.
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, protocol, s, url, username |
| Constructor Summary | |
|---|---|
YattaWrapper()
|
|
YattaWrapper(AccessMethod am,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
protected void |
connect()
Connect to a semistructured textfile --- i.e. |
ASG |
executeIQL(ASG q)
Execute an IQL query on the datasource. |
AutoMedResult |
executeLocalQuery(AutoMedQuery q)
Execute a query in the datasource's native query language, and obtain a result in an AutoMedResult class |
YattaQueryResult |
executeYattaQuery(YattaQuery q)
|
protected java.util.Vector |
getDatafromYattaData(java.util.Vector orderedschemes)
|
protected AutoMedWrapperFactory |
getDefaultWrapperFactory()
Returns a new instance of the default wrapper factory for this wrapper |
static java.lang.String |
getDriver()
The name of the driver string that identifies this wrapper |
java.lang.String |
getProtocolName()
The name of the Protocol in the repository used to represent
flat files with a YATTA schema. |
void |
getSODefinition(QuerySubGoal qsg)
Implement AutoMedWrapper abstract method |
SSDFormat |
getSSDFormat()
|
java.lang.String |
getSSDSource()
|
Schema |
getWrapperSchema()
|
SchemaObject |
getYattaRootNode(Schema sc)
|
protected void |
readMetaData()
|
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
atDebugLevel, cacheWrapper, deleteIQL, executeIQL, getAccessMethod, getAutoMedWrapper, getAutoMedWrapper, getAutoMedWrapperFactory, getDrivers, getOption, getOptionKeyProtection, getOptionKeys, getProtocol, getQueryCache, getQueryCache, getQueryParser, getSchema, getSchema, getSODefinition, insertIQL, newAutoMedSchema, newAutoMedWrapper, newAutoMedWrapper, newAutoMedWrapper, registerWrapper, selectNewAutoMedWrapper, selectNewAutoMedWrapper, setDebugLevel, setOption, updateCache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YattaWrapper()
public YattaWrapper(AccessMethod am,
java.lang.String password)
throws DataSourceException
DataSourceException| Method Detail |
|---|
public static java.lang.String getDriver()
protected void connect()
throws DataSourceException
connect in class AutoMedWrapperDataSourceException - if unable to connect to the data source
protected void readMetaData()
throws AutoMedException,
java.sql.SQLException,
java.io.IOException
AutoMedException
java.sql.SQLException
java.io.IOExceptionpublic Schema getWrapperSchema()
public SSDFormat getSSDFormat()
public java.lang.String getSSDSource()
public SchemaObject getYattaRootNode(Schema sc)
public AutoMedResult executeLocalQuery(AutoMedQuery q)
throws DataSourceException
AutoMedWrapper
executeLocalQuery in class AutoMedWrapperDataSourceException
public YattaQueryResult executeYattaQuery(YattaQuery q)
throws DataSourceException
DataSourceExceptionprotected java.util.Vector getDatafromYattaData(java.util.Vector orderedschemes)
public ASG executeIQL(ASG q)
throws DataSourceException
AutoMedWrapper
executeIQL in class AutoMedWrapperq - An IQL query held in an ASG which complies with
the limitations of what this wrapper is able to process
ASG containing the results of the query
DataSourceException
public void getSODefinition(QuerySubGoal qsg)
throws DataSourceException
getSODefinition in class AutoMedWrapperDataSourceExceptionprotected AutoMedWrapperFactory getDefaultWrapperFactory()
getDefaultWrapperFactory in class AutoMedWrapperpublic java.lang.String getProtocolName()
Protocol in the repository used to represent
flat files with a YATTA schema.
getProtocolName in class AutoMedWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||