Main SRW classes
Main class execution order in SRW
srw-config.properties contains SRW configuration SRWConfigurator provides access to the configuration SchemaMappingUtils provides useful classes for traversing the castor schema mapping object structure
SearchRetrieveRequest
QueryController.java Load schema mappings -> SRWMappingLoader.java
Create query context object -> SearchretrieveGenericQueryContext.java
Build queries -> GenericQueryBuildingController.java Process CQL -> ProcessedCQLData.java Class used to build SQL select statements -> GenericTableJoiner.java Object containing generated SQL queries -> MySQLQuery.java
Execute queries -> MySQLQueryExecutionController.java Class used to aquire a connection to the database -> ConnectionManager.java
Build response -> GenericQueryMySQLResponseController.java
ExplainRequest
QueryController.java Load schema mappings -> SRWMappingLoader.java
Create query context object -> ExplainQueryContext.java
Build response -> ExplainResponseController.java