|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.utils.vectors.SequenceFileVectorIterable
public class SequenceFileVectorIterable
Reads in a file containing Vector
s.
Writable
and the value is a Vector
.
It can handle any class that implements Vector as long as it has a no-arg constructor.
Nested Class Summary | |
---|---|
class |
SequenceFileVectorIterable.SeqFileIterator
|
Constructor Summary | |
---|---|
SequenceFileVectorIterable(org.apache.hadoop.io.SequenceFile.Reader reader)
|
|
SequenceFileVectorIterable(org.apache.hadoop.io.SequenceFile.Reader reader,
boolean transpose)
|
Method Summary | |
---|---|
java.util.Iterator<Vector> |
iterator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceFileVectorIterable(org.apache.hadoop.io.SequenceFile.Reader reader)
public SequenceFileVectorIterable(org.apache.hadoop.io.SequenceFile.Reader reader, boolean transpose)
Method Detail |
---|
public java.util.Iterator<Vector> iterator()
iterator
in interface java.lang.Iterable<Vector>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |