public class XMLPSProductHandler extends Object implements QueryHandler
An XML configurable version of a Product Server that requires no code to be written to plug into a local site's relational backend DBMS.
.Modifier | Constructor and Description |
---|---|
|
XMLPSProductHandler() |
protected |
XMLPSProductHandler(String phony) |
Modifier and Type | Method and Description |
---|---|
protected List<QueryElement> |
getConstElemNamesFromQueryElemSet(List<QueryElement> origSet) |
protected List<QueryElement> |
getElemNamesFromQueryElemSet(List<QueryElement> origSet) |
protected Set<DatabaseTable> |
getRequiredTables(List<QueryElement> whereElemNames,
List<QueryElement> selectElemNames) |
static void |
main(String[] args) |
XMLQuery |
query(XMLQuery query)
Run a query.
|
protected void |
queryAndPackageResults(XMLQuery query) |
protected void |
translateToDomain(List<QueryElement> elemSet,
boolean selectSet) |
protected Mapping mapping
protected XMLPSProductHandler(String phony)
public XMLPSProductHandler() throws InstantiationException
InstantiationException
public XMLQuery query(XMLQuery query) throws ProductException
QueryHandler
query
in interface QueryHandler
query
- The query.ProductException
- if an error occurs.protected List<QueryElement> getElemNamesFromQueryElemSet(List<QueryElement> origSet)
protected List<QueryElement> getConstElemNamesFromQueryElemSet(List<QueryElement> origSet)
protected void queryAndPackageResults(XMLQuery query)
protected void translateToDomain(List<QueryElement> elemSet, boolean selectSet) throws Exception
Exception
protected Set<DatabaseTable> getRequiredTables(List<QueryElement> whereElemNames, List<QueryElement> selectElemNames)
Copyright © 1999-2014 Apache OODT. All Rights Reserved.