Package elki.persistent
Class PersistentPageFileFactory<P extends ExternalizablePage>
- java.lang.Object
-
- elki.persistent.AbstractPageFileFactory<P>
-
- elki.persistent.PersistentPageFileFactory<P>
-
- Type Parameters:
P
- Page type
- All Implemented Interfaces:
PageFileFactory<P>
public class PersistentPageFileFactory<P extends ExternalizablePage> extends AbstractPageFileFactory<P>
Page file factory for disk-based page files.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.Path
fileName
File name.-
Fields inherited from class elki.persistent.AbstractPageFileFactory
pageSize
-
-
Constructor Summary
Constructors Constructor Description PersistentPageFileFactory(int pageSize, java.nio.file.Path fileName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageFile<P>
newPageFile(java.lang.Class<P> cls)
Make a new page file.-
Methods inherited from class elki.persistent.AbstractPageFileFactory
getPageSize
-
-
-
-
Method Detail
-
newPageFile
public PageFile<P> newPageFile(java.lang.Class<P> cls)
Description copied from interface:PageFileFactory
Make a new page file.- Parameters:
cls
- Page class- Returns:
- Page file
-
-