Package elki.datasource.filter
Class FixedDBIDsFilter
- java.lang.Object
-
- elki.datasource.filter.FixedDBIDsFilter
-
- All Implemented Interfaces:
ObjectFilter
public class FixedDBIDsFilter extends java.lang.Object implements ObjectFilter
This filter assigns static DBIDs, based on the sequence the objects appear in the bundle by adding a column of DBID type to the bundle.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FixedDBIDsFilter.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) int
curid
The next ID to assign(package private) BundleMeta
meta
The filtered meta
-
Constructor Summary
Constructors Constructor Description FixedDBIDsFilter(int startid)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipleObjectsBundle
filter(MultipleObjectsBundle objects)
Filter a set of object packages.
-
-
-
Field Detail
-
meta
BundleMeta meta
The filtered meta
-
curid
int curid
The next ID to assign
-
-
Method Detail
-
filter
public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
Description copied from interface:ObjectFilter
Filter a set of object packages.- Specified by:
filter
in interfaceObjectFilter
- Parameters:
objects
- Object to filter- Returns:
- Filtered objects
-
-