Class AbstractFileStorageConfiguration
- java.lang.Object
-
- com.datumbox.framework.common.storage.abstracts.AbstractFileStorageConfiguration
-
- All Implemented Interfaces:
Configurable,StorageConfiguration
public abstract class AbstractFileStorageConfiguration extends Object implements StorageConfiguration
Parent class of all File-based Storage Configurations.- Author:
- Vasilis Vryniotis
-
-
Constructor Summary
Constructors Constructor Description AbstractFileStorageConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDirectory()Getter for the directory where the data files are stored.StringgetStorageNameSeparator()Returns the separator that is used in the storage names.voidsetDirectory(String directory)Setter for the directory where the data files are stored.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.datumbox.framework.common.interfaces.Configurable
load
-
Methods inherited from interface com.datumbox.framework.common.storage.interfaces.StorageConfiguration
createStorageEngine
-
-
-
-
Field Detail
-
directory
protected String directory
The directory of the models.
-
-
Method Detail
-
getStorageNameSeparator
public String getStorageNameSeparator()
Returns the separator that is used in the storage names. Usually the storage names used by the algorithms are concatenations of various words separated by this character.- Specified by:
getStorageNameSeparatorin interfaceStorageConfiguration- Returns:
-
getDirectory
public String getDirectory()
Getter for the directory where the data files are stored.- Returns:
-
setDirectory
public void setDirectory(String directory)
Setter for the directory where the data files are stored.- Parameters:
directory-
-
-