|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.filter.HeadFilter
public class HeadFilter
Example filter - returns first N relations from data set.
number (single parameter) is the number of relations to be returned
| Constructor Summary | |
|---|---|
HeadFilter(String n)
Parametrized constructor. |
|
| Method Summary | |
|---|---|
Collection<IRelation> |
filter(DataSet dataSet)
Returns the head of the data set, i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeadFilter(String n)
n - The number of rows to be returned.| Method Detail |
|---|
public Collection<IRelation> filter(DataSet dataSet)
filter in interface IFilterdataSet - The data set to filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||