Package elki.datasource.filter.selection
Class ByLabelFilter
- java.lang.Object
-
- elki.datasource.filter.AbstractStreamFilter
-
- elki.datasource.filter.selection.ByLabelFilter
-
- All Implemented Interfaces:
elki.datasource.bundle.BundleStreamSource,elki.datasource.filter.ObjectFilter,elki.datasource.filter.StreamFilter
public class ByLabelFilter extends AbstractStreamFilter
A filter to select data set by their label.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByLabelFilter.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private booleaninvertedInversion flagprivate intlblcolLabel columnprivate static elki.logging.LoggingLOGClass loggerprivate java.util.regex.MatchermatcherThe filter pattern matcher-
Fields inherited from class elki.datasource.filter.AbstractStreamFilter
source
-
-
Constructor Summary
Constructors Constructor Description ByLabelFilter(java.util.regex.Pattern pattern, boolean inverted)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdata(int rnum)elki.datasource.bundle.BundleMetagetMeta()elki.datasource.bundle.BundleStreamSource.EventnextEvent()-
Methods inherited from class elki.datasource.filter.AbstractStreamFilter
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
-
-