org.apache.slide.search.basic
Interface IBasicExpression

All Known Implementing Classes:
BasicExpression, EmptyExpression

public interface IBasicExpression

An IBasicExpression represents an executable part of the expression tree. Different stores may have different implementations.

Version:
$Revision: 1.5 $

Method Summary
 IBasicResultSet execute()
          Method execute
 IBasicExpressionFactory getFactory()
          Method getFactory
 void setFactory(IBasicExpressionFactory factory)
          Method setFactory
 

Method Detail

execute

public IBasicResultSet execute()
                        throws SearchException
Method execute

Returns:
a Set of RequestedResource objects
Throws:
SearchException

getFactory

public IBasicExpressionFactory getFactory()
Method getFactory

Returns:
the factory which was used to create this expression

setFactory

public void setFactory(IBasicExpressionFactory factory)
Method setFactory

Parameters:
factory - the factory which was used to create this expression