|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterWriter
Writes out clusters
Method Summary | |
---|---|
void |
write(Cluster cluster)
Write out a Cluster |
long |
write(Iterable<Cluster> iterable)
Write all values in the Iterable to the output |
long |
write(Iterable<Cluster> iterable,
long maxDocs)
Write the first maxDocs to the output. |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
long write(Iterable<Cluster> iterable) throws IOException
iterable
- The Iterable
to loop over
IOException
- if there was a problem writingvoid write(Cluster cluster) throws IOException
cluster
- The Cluster
to write
IOException
long write(Iterable<Cluster> iterable, long maxDocs) throws IOException
maxDocs
to the output.
iterable
- The Iterable
to loop overmaxDocs
- the maximum number of docs to write
IOException
- if there was a problem writing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |