org.jactr.core.module.retrieval.buffer
Class RetrievalRequestDelegate
java.lang.Object
org.jactr.core.module.retrieval.buffer.RetrievalRequestDelegate
- All Implemented Interfaces:
- IRequestDelegate
public class RetrievalRequestDelegate
- extends java.lang.Object
- implements IRequestDelegate
request handler for the retrieval buffer. If indexed retrievals are enabled,
then ChunkRequests are directly inserted into the buffer. Otherwise,
all chunk requests are expanded into ChunkTypeRequests. All
ChunkTypeRequests are then used to start the retrieval operation.
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetrievalRequestDelegate
public RetrievalRequestDelegate(IRetrievalModule module,
DefaultRetrievalBuffer6 buffer)
setIncludeNullValues
public void setIncludeNullValues(boolean includeNulls)
- when chunks are expanded into search patterns, this determines whether null
slot values will be included in the search pattern, defaults to false
- Parameters:
includeNulls -
request
public boolean request(IRequest request,
IActivationBuffer buffer)
- Description copied from interface:
IRequestDelegate
- do the module specific processing
- Specified by:
request in interface IRequestDelegate
- Returns:
- true if this was successful (will propogate the buffer event)
willAccept
public boolean willAccept(IRequest request)
- Specified by:
willAccept in interface IRequestDelegate