public interface VectorWriter extends Closeable
Modifier and Type | Method and Description |
---|---|
long |
write(Iterable<Vector> iterable)
Write all values in the Iterable to the output
|
long |
write(Iterable<Vector> iterable,
long maxDocs)
Write the first
maxDocs to the output. |
void |
write(Vector vector)
Write out a vector
|
long write(Iterable<Vector> iterable) throws IOException
iterable
- The Iterable
to loop overIOException
- if there was a problem writingvoid write(Vector vector) throws IOException
vector
- The Vector
to writeIOException
long write(Iterable<Vector> iterable, long maxDocs) throws IOException
maxDocs
to the output.iterable
- The Iterable
to loop overmaxDocs
- the maximum number of docs to writeIOException
- if there was a problem writingCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.