\Zend_Search_Lucene_TermStreamsPriorityQueue
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_TermStreamsPriorityQueue
implements
Zend_Search_Lucene_Index_TermsStream_Interface
{
- // members
- protected $_termStreams;
- protected Zend_Search_Lucene_Index_TermsPriorityQueue $_termsStreamQueue = NULL;
- protected Zend_Search_Lucene_Index_Term $_lastTerm = NULL;
- // methods
- public void __construct()
- public void resetTermsStream()
- public void skipTo()
- public Zend_Search_Lucene_Index_Term|null nextTerm()
- public Zend_Search_Lucene_Index_Term|null currentTerm()
- public void closeTermsStream()
Hierarchy
Members
protected
- $_lastTerm
—
Zend_Search_Lucene_Index_Term
Last Term in a terms stream - $_termStreams
—
array
Array of term streams (Zend_Search_Lucene_Index_TermsStream_Interface objects) - $_termsStreamQueue
—
Zend_Search_Lucene_Index_TermsPriorityQueue
Terms stream queue
Methods
public
- __construct() — Object constructor
- closeTermsStream() — Close terms stream
- currentTerm() — Returns term in current position
- nextTerm() — Scans term streams and returns next term
- resetTermsStream() — Reset terms stream.
- skipTo() — Skip terms stream up to specified term preffix.