Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Public Member Functions | List of all members
Lucene.Net.Index.DocFieldConsumers Class Reference

This is just a "splitter" class: it lets you wrap two DocFieldConsumer instances as a single consumer. More...

Inherits Lucene.Net.Index.DocFieldConsumer.

Classes

class  PerDoc
 

Public Member Functions

 DocFieldConsumers (DocFieldConsumer one, DocFieldConsumer two)
 
override void Flush (IDictionary< DocFieldConsumerPerThread, ICollection< DocFieldConsumerPerField >> threadsAndFields, SegmentWriteState state)
 Called when DocumentsWriter decides to create a new segment
 
override void CloseDocStore (SegmentWriteState state)
 Called when DocumentsWriter decides to close the doc stores
 
override void Abort ()
 Called when an aborting exception is hit
 
override bool FreeRAM ()
 Called when DocumentsWriter is using too much RAM. The consumer should free RAM, if possible, returning true if any RAM was in fact freed.
 
override DocFieldConsumerPerThread AddThread (DocFieldProcessorPerThread docFieldProcessorPerThread)
 Add a new thread
 

Detailed Description

This is just a "splitter" class: it lets you wrap two DocFieldConsumer instances as a single consumer.

Definition at line 30 of file DocFieldConsumers.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.DocFieldConsumers.DocFieldConsumers ( DocFieldConsumer  one,
DocFieldConsumer  two 
)

Definition at line 39 of file DocFieldConsumers.cs.

Member Function Documentation

override void Lucene.Net.Index.DocFieldConsumers.Abort ( )
virtual

Called when an aborting exception is hit

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 95 of file DocFieldConsumers.cs.

override DocFieldConsumerPerThread Lucene.Net.Index.DocFieldConsumers.AddThread ( DocFieldProcessorPerThread  docFieldProcessorPerThread)
virtual

Add a new thread

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 114 of file DocFieldConsumers.cs.

override void Lucene.Net.Index.DocFieldConsumers.CloseDocStore ( SegmentWriteState  state)
virtual

Called when DocumentsWriter decides to close the doc stores

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 83 of file DocFieldConsumers.cs.

override void Lucene.Net.Index.DocFieldConsumers.Flush ( IDictionary< DocFieldConsumerPerThread, ICollection< DocFieldConsumerPerField >>  threadsAndFields,
SegmentWriteState  state 
)
virtual

Called when DocumentsWriter decides to create a new segment

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 53 of file DocFieldConsumers.cs.

override bool Lucene.Net.Index.DocFieldConsumers.FreeRAM ( )
virtual

Called when DocumentsWriter is using too much RAM. The consumer should free RAM, if possible, returning true if any RAM was in fact freed.

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 107 of file DocFieldConsumers.cs.


The documentation for this class was generated from the following file: