org.openanzo.glitter.query
Interface QueryResultForm
- All Known Implementing Classes:
- Ask, Construct, Projection
public interface QueryResultForm
A QueryResultForm represents the form of results returned for a particular QueryType.
- Author:
- lee
refineSolutions
SolutionSet refineSolutions(SolutionSet solutions)
- Result forms are given a chance to apply solution modifiers to the solution set before
transforming the results. (For example,
Projection might apply DISTINCT here.
- Parameters:
solutions - The original solution set
- Returns:
- The (possibly) modified solution set
serializeResults
java.lang.Object serializeResults(SolutionSet results)
- Parameters:
results - The solution set after all solution modified have been applied.
- Returns:
- A form of the solution set specific to this
QueryResultForm.
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.