Package elki.persistent
Class OnDiskArrayPageFileFactory<P extends Page>
- java.lang.Object
-
- elki.persistent.AbstractPageFileFactory<P>
-
- elki.persistent.OnDiskArrayPageFileFactory<P>
-
- Type Parameters:
P- Page type
- All Implemented Interfaces:
PageFileFactory<P>
public class OnDiskArrayPageFileFactory<P extends Page> 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.PathfileNameFile name.-
Fields inherited from class elki.persistent.AbstractPageFileFactory
pageSize
-
-
Constructor Summary
Constructors Constructor Description OnDiskArrayPageFileFactory(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:PageFileFactoryMake a new page file.- Parameters:
cls- Page class- Returns:
- Page file
-
-