public interface ClusterWriter extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
write(ClusterWritable clusterWritable)
Write out a Cluster
|
long |
write(Iterable<ClusterWritable> iterable)
Write all values in the Iterable to the output
|
long |
write(Iterable<ClusterWritable> iterable,
long maxDocs)
Write the first
maxDocs to the output. |
long write(Iterable<ClusterWritable> iterable) throws IOException
iterable - The Iterable to loop overIOException - if there was a problem writingvoid write(ClusterWritable clusterWritable) throws IOException
IOExceptionlong write(Iterable<ClusterWritable> 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–2013 The Apache Software Foundation. All rights reserved.