org.apache.lucene.codecs.sep
Class SepDocValuesConsumer

java.lang.Object
  extended by org.apache.lucene.codecs.PerDocConsumer
      extended by org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
          extended by org.apache.lucene.codecs.sep.SepDocValuesConsumer
All Implemented Interfaces:
Closeable

public class SepDocValuesConsumer
extends DocValuesWriterBase

Implementation of PerDocConsumer that uses separate files.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
 
Fields inherited from class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
context, DATA_EXTENSION, INDEX_EXTENSION, segmentName
 
Constructor Summary
SepDocValuesConsumer(PerDocWriteState state)
           
 
Method Summary
 void abort()
          Called during indexing if the indexing session is aborted due to a unrecoverable exception.
protected  Directory getDirectory()
           
 
Methods inherited from class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
addValuesField, close, getComparator
 
Methods inherited from class org.apache.lucene.codecs.PerDocConsumer
canMerge, getDocValuesForMerge, getDocValuesType, merge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SepDocValuesConsumer

public SepDocValuesConsumer(PerDocWriteState state)
Method Detail

getDirectory

protected Directory getDirectory()
Specified by:
getDirectory in class DocValuesWriterBase

abort

public void abort()
Description copied from class: PerDocConsumer
Called during indexing if the indexing session is aborted due to a unrecoverable exception. This method should cleanup all resources.

Specified by:
abort in class PerDocConsumer


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.