it.unipd.dei.ims.circo.indexing
Class AbstractStreamEmitter<T,D>
java.lang.Object
it.unipd.dei.ims.circo.indexing.AbstractStreamEmitter<T,D>
- Type Parameters:
T - the actual type of term used by the information retrieval
system when tokenizing and processing documents.D - the actual type of document used by the information
retrieval system.
- All Implemented Interfaces:
- StreamEmitter<T,D>
- Direct Known Subclasses:
- BaseStreamEmitter, MultipleStreamEmitter
public abstract class AbstractStreamEmitter<T,D>
- extends java.lang.Object
- implements StreamEmitter<T,D>
Provides an abstract class for the implementation of the StreamEmitter interface.
- Since:
- 0.10
- Version:
- 0.10
- Author:
- Nicola Ferro
|
Field Summary |
protected static it.unipd.dei.ims.ici.logger.Logger |
logger
The logger. |
|
Method Summary |
boolean |
equals(java.lang.Object o)
Two StreamEmitter objects are equal if they have the same
identifier. |
java.lang.String |
getIdentifier()
Returns the unique identifier of the stream emitter. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.unipd.dei.ims.circo.indexing.StreamEmitter |
addDocument, addTerm, addTerm, close, getActorIdentifier, getComponentIdentifier, getComponentType, getDigestType, getMaxResourcesPerStream, getOutputDirectory, getStreamIdentifier, isCompressing, isTracing |
logger
protected static final it.unipd.dei.ims.ici.logger.Logger logger
- The logger.
AbstractStreamEmitter
protected AbstractStreamEmitter()
- Creates a new stream emitter.
getIdentifier
public final java.lang.String getIdentifier()
- Description copied from interface:
StreamEmitter
- Returns the unique identifier of the stream emitter.
- Specified by:
getIdentifier in interface StreamEmitter<T,D>
- Returns:
- the unique identifier of the stream emitter.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Two
StreamEmitter objects are equal if they have the same
identifier.
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object