org.apache.lucene.codecs.asserting
Class AssertingTermVectorsFormat

java.lang.Object
  extended by org.apache.lucene.codecs.TermVectorsFormat
      extended by org.apache.lucene.codecs.asserting.AssertingTermVectorsFormat

public class AssertingTermVectorsFormat
extends TermVectorsFormat

Just like Lucene40TermVectorsFormat but with additional asserts.


Constructor Summary
AssertingTermVectorsFormat()
           
 
Method Summary
 TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)
           
 TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertingTermVectorsFormat

public AssertingTermVectorsFormat()
Method Detail

vectorsReader

public TermVectorsReader vectorsReader(Directory directory,
                                       SegmentInfo segmentInfo,
                                       FieldInfos fieldInfos,
                                       IOContext context)
                                throws IOException
Specified by:
vectorsReader in class TermVectorsFormat
Throws:
IOException

vectorsWriter

public TermVectorsWriter vectorsWriter(Directory directory,
                                       SegmentInfo segmentInfo,
                                       IOContext context)
                                throws IOException
Specified by:
vectorsWriter in class TermVectorsFormat
Throws:
IOException


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