com.rapidminer.example.set
Class SimpleExampleReader

java.lang.Object
  extended by com.rapidminer.example.set.AbstractExampleReader
      extended by com.rapidminer.example.set.SimpleExampleReader
All Implemented Interfaces:
ExampleReader, java.util.Iterator<Example>

public class SimpleExampleReader
extends AbstractExampleReader

This reader simply uses all examples from an example table.

Author:
Ingo Mierswa Exp $

Constructor Summary
SimpleExampleReader(DataRowReader drr, ExampleSet exampleSet)
          Creates a simple example reader.
 
Method Summary
 boolean hasNext()
          Returns true if there are more data rows.
 Example next()
          Returns a new example based on the current data row.
 
Methods inherited from class com.rapidminer.example.set.AbstractExampleReader
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleExampleReader

public SimpleExampleReader(DataRowReader drr,
                           ExampleSet exampleSet)
Creates a simple example reader.

Method Detail

hasNext

public boolean hasNext()
Returns true if there are more data rows.


next

public Example next()
Returns a new example based on the current data row.



Copyright © 2001-2009 by Rapid-I