|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.repository.db.DBConnectionConverterFolder
public class DBConnectionConverterFolder
Represents all tables in a single ConnectionEntry converted to IOObjects
using a particular DBConnectionToIOObjectConverter.
| Field Summary |
|---|
| Fields inherited from interface com.rapidminer.repository.Folder |
|---|
TYPE_NAME |
| Constructor Summary | |
|---|---|
DBConnectionConverterFolder(DBRepository dbRepository,
DBConnectionFolder parent,
ConnectionEntry dbConEntry,
DBConnectionToIOObjectConverter converter,
java.util.Map<java.lang.String,java.util.List<ColumnIdentifier>> allTableMetaData)
|
|
| Method Summary | |
|---|---|
boolean |
containsEntry(java.lang.String name)
|
BlobEntry |
createBlobEntry(java.lang.String name)
|
Folder |
createFolder(java.lang.String name)
|
IOObjectEntry |
createIOObjectEntry(java.lang.String name,
IOObject ioobject,
Operator callingOperator,
ProgressListener progressListener)
|
ProcessEntry |
createProcessEntry(java.lang.String name,
java.lang.String processXML)
|
void |
delete()
Deletes the entry and its contents from the repository. |
protected ConnectionEntry |
getConnectionEntry()
|
Folder |
getContainingFolder()
Returns the folder containing this entry. |
java.util.Collection<javax.swing.Action> |
getCustomActions()
Returns custom actions to be displayed in this entry's popup menu. |
java.util.List<DataEntry> |
getDataEntries()
|
java.lang.String |
getDescription()
Returns a human readable description. |
RepositoryLocation |
getLocation()
A location, that can be used, e.g. as a parameter in the RepositorySource or which can be used
to locate the entry using RepositoryManager#resolve(String). |
java.lang.String |
getName()
Returns the name, the last part of the location. |
java.lang.String |
getOwner()
Returns the user name of the owner. |
java.util.List<Folder> |
getSubfolders()
|
java.lang.String |
getType()
Returns a string describing the type: "folder", "data", "blob", or "process". |
boolean |
isReadOnly()
Returns true if this entry cannot be written to. |
boolean |
move(Folder newParent)
Needs to be implemented only for folders in the same repository. |
void |
refresh()
|
boolean |
rename(java.lang.String newName)
Changes the name of the 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBConnectionConverterFolder(DBRepository dbRepository,
DBConnectionFolder parent,
ConnectionEntry dbConEntry,
DBConnectionToIOObjectConverter converter,
java.util.Map<java.lang.String,java.util.List<ColumnIdentifier>> allTableMetaData)
throws RepositoryException
RepositoryException| Method Detail |
|---|
public java.lang.String getName()
Entry
getName in interface Entrypublic java.lang.String getType()
Entry
getType in interface Entrypublic java.lang.String getOwner()
Entry
getOwner in interface Entrypublic java.lang.String getDescription()
Entry
getDescription in interface Entrypublic boolean isReadOnly()
Entry
isReadOnly in interface Entry
public boolean rename(java.lang.String newName)
throws RepositoryException
Entry
rename in interface EntryRepositoryException
public boolean move(Folder newParent)
throws RepositoryException
EntryRepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move in interface EntryRepositoryExceptionpublic Folder getContainingFolder()
Entry
getContainingFolder in interface Entrypublic boolean willBlock()
Entry
willBlock in interface Entrypublic RepositoryLocation getLocation()
EntryRepositorySource or which can be used
to locate the entry using RepositoryManager#resolve(String).
getLocation in interface Entry
public void delete()
throws RepositoryException
Entry
delete in interface EntryRepositoryExceptionpublic java.util.Collection<javax.swing.Action> getCustomActions()
Entry
getCustomActions in interface Entry
public java.util.List<DataEntry> getDataEntries()
throws RepositoryException
getDataEntries in interface FolderRepositoryException
public java.util.List<Folder> getSubfolders()
throws RepositoryException
getSubfolders in interface FolderRepositoryException
public void refresh()
throws RepositoryException
refresh in interface FolderRepositoryException
public boolean containsEntry(java.lang.String name)
throws RepositoryException
containsEntry in interface FolderRepositoryException
public Folder createFolder(java.lang.String name)
throws RepositoryException
createFolder in interface FolderRepositoryException
public IOObjectEntry createIOObjectEntry(java.lang.String name,
IOObject ioobject,
Operator callingOperator,
ProgressListener progressListener)
throws RepositoryException
createIOObjectEntry in interface FolderRepositoryException
public ProcessEntry createProcessEntry(java.lang.String name,
java.lang.String processXML)
throws RepositoryException
createProcessEntry in interface FolderRepositoryException
public BlobEntry createBlobEntry(java.lang.String name)
throws RepositoryException
createBlobEntry in interface FolderRepositoryExceptionprotected ConnectionEntry getConnectionEntry()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||