org.apache.lucene.codecs.mocksep
Class MockSingleIntIndexOutput
java.lang.Object
   org.apache.lucene.codecs.sep.IntIndexOutput
org.apache.lucene.codecs.sep.IntIndexOutput
       org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
org.apache.lucene.codecs.mocksep.MockSingleIntIndexOutput
- All Implemented Interfaces: 
- Closeable
- public class MockSingleIntIndexOutput 
- extends IntIndexOutput
Writes ints directly to the file (not in blocks) as
  vInt.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
 
 
 
 
 
MockSingleIntIndexOutput
public MockSingleIntIndexOutput(Directory dir,
                                String fileName,
                                IOContext context)
                         throws IOException
- Throws:
- IOException
write
public void write(int v)
           throws IOException
- Write an int to the primary file
 
- 
- Specified by:
- writein class- IntIndexOutput
 
- 
- Throws:
- IOException
 
index
public IntIndexOutput.Index index()
- 
- Specified by:
- indexin class- IntIndexOutput
 
- 
 
close
public void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- IntIndexOutput
 
- 
- Throws:
- IOException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
          Copyright © 2000-2013 Apache Software Foundation.  All Rights Reserved.