|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.repository.local.SimpleEntry
com.rapidminer.repository.local.SimpleDataEntry
com.rapidminer.repository.local.SimpleIOObjectEntry
public class SimpleIOObjectEntry
Stores IOObject in a file. Either as IOO serialized files using
ExampleSetToStream where appropriate.
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.repository.local.SimpleEntry |
|---|
PROPERTIES_SUFFIX |
| Fields inherited from interface com.rapidminer.repository.IOObjectEntry |
|---|
TYPE_NAME |
| Method Summary | |
|---|---|
void |
delete()
Deletes the entry and its contents from the repository. |
long |
getDate()
Returns the last modification date of this entry. |
java.lang.String |
getDescription()
Returns a human readable description. |
protected java.io.File |
getMetaDataFile()
|
java.lang.Class<? extends IOObject> |
getObjectClass()
This method returns the class of the stored object or null, if it is not an object known to this RapidMiner Client. |
long |
getSize()
Returns the size of this entry in bytes. |
java.lang.String |
getType()
Returns a string describing the type: "folder", "data", "blob", or "process". |
boolean |
move(Folder newParent)
Needs to be implemented only for folders in the same repository. |
boolean |
move(Folder newParent,
java.lang.String newName)
Needs to be implemented only for folders in the same repository. |
boolean |
rename(java.lang.String newName)
Changes the name of the entry. |
IOObject |
retrieveData(ProgressListener l)
|
MetaData |
retrieveMetaData()
|
void |
storeData(IOObject data,
Operator callingOperator,
ProgressListener l)
Stores data in this entry. |
boolean |
willBlock()
Subclasses can use this method to signal whether getting information from this entry will block the current thread, e.g. because information must be fetched over the network. |
| Methods inherited from class com.rapidminer.repository.local.SimpleDataEntry |
|---|
getRevision |
| Methods inherited from class com.rapidminer.repository.local.SimpleEntry |
|---|
getContainingFolder, getCustomActions, getLocation, getName, getOwner, getProperty, getRepository, isReadOnly, putProperty, setRepository, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.repository.DataEntry |
|---|
getRevision |
| Methods inherited from interface com.rapidminer.repository.Entry |
|---|
getContainingFolder, getCustomActions, getLocation, getName, getOwner, isReadOnly |
| Method Detail |
|---|
protected java.io.File getMetaDataFile()
public IOObject retrieveData(ProgressListener l)
throws RepositoryException
retrieveData in interface IOObjectEntryRepositoryException
public MetaData retrieveMetaData()
throws RepositoryException
retrieveMetaData in interface IOObjectEntryRepositoryException
public void storeData(IOObject data,
Operator callingOperator,
ProgressListener l)
throws RepositoryException
IOObjectEntry
storeData in interface IOObjectEntryRepositoryExceptionpublic java.lang.String getType()
Entry
getType in interface Entrypublic java.lang.String getDescription()
Entry
getDescription in interface EntrygetDescription in class SimpleDataEntrypublic long getSize()
DataEntry
getSize in interface DataEntry
public void delete()
throws RepositoryException
Entry
delete in interface Entrydelete in class SimpleEntryRepositoryExceptionpublic boolean rename(java.lang.String newName)
Entry
rename in interface Entryrename in class SimpleEntrypublic boolean move(Folder newParent)
EntryRepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move in interface Entrymove in class SimpleEntry
public boolean move(Folder newParent,
java.lang.String newName)
EntryRepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move in interface Entrymove in class SimpleEntrynewName - New name for moved entry. If moved entry shouldn't be renamed: newName=null.public long getDate()
DataEntry
getDate in interface DataEntrypublic boolean willBlock()
Entry
willBlock in interface EntrywillBlock in class SimpleEntrypublic java.lang.Class<? extends IOObject> getObjectClass()
IOObjectEntry
getObjectClass in interface IOObjectEntry
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||