net.ontopia.topicmaps.query.impl.rdbms
Class BasicSortComponent

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.rdbms.BasicSortComponent
All Implemented Interfaces:
QueryComponentIF

public class BasicSortComponent
extends java.lang.Object
implements QueryComponentIF

INTERNAL: Query component that is used to perform the sort operation for QueryMatches instances. The implementation calls impl.basic.QueryProcessor.sort(TologQuery, QueryMatches) and returns the input instance since sorting in this case is performed inline.


Field Summary
protected  QueryProcessor qproc
           
protected  TologQuery query
           
 
Constructor Summary
BasicSortComponent(TologQuery query, QueryProcessor qproc)
           
 
Method Summary
 QueryMatches satisfy(QueryMatches matches, java.util.Map arguments)
          INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

protected TologQuery query

qproc

protected QueryProcessor qproc
Constructor Detail

BasicSortComponent

public BasicSortComponent(TologQuery query,
                          QueryProcessor qproc)
Method Detail

satisfy

public QueryMatches satisfy(QueryMatches matches,
                            java.util.Map arguments)
                     throws InvalidQueryException
Description copied from interface: QueryComponentIF
INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance.

Specified by:
satisfy in interface QueryComponentIF
Throws:
InvalidQueryException


Copyright © 2000-2012 Ontopia.