
public class ConvertToStringView extends AbstractRelation<String>
| Modifier and Type | Field and Description |
|---|---|
(package private) Relation<?> |
existing
The database we use
|
private static Logging |
LOG
Class logger
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description |
|---|
ConvertToStringView(Relation<?> existing)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(DBIDRef id)
Get the representation of an object.
|
SimpleTypeInformation<String> |
getDataTypeInformation()
Get the data type of this representation
|
DBIDs |
getDBIDs()
Get the IDs the query is defined for.
|
protected Logging |
getLogger()
Get the class logger.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
String |
getShortName()
A short name for the result, useful for file names.
|
DBIDIter |
iterDBIDs()
Get an iterator access to the DBIDs.
|
int |
size()
Get the number of DBIDs.
|
getDistanceQuery, getKNNQuery, getKNNQuery, getRangeQuery, getRangeQuery, getRKNNQuery, getRKNNQuery, getSimilarityQueryaddChildResult, getHierarchy, setHierarchyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHierarchy, setHierarchyprivate static final Logging LOG
final Relation<?> existing
public ConvertToStringView(Relation<?> existing)
existing - Existing representationpublic String get(DBIDRef id)
Relationid - Object IDpublic DBIDs getDBIDs()
RelationRelation.iterDBIDs().public DBIDIter iterDBIDs()
Relation
for(DBIDIter iter = relation.iterDBIDs(); iter.valid(); iter.advance()) {
relation.get(iter); // Get the current element
}
public int size()
Relationpublic SimpleTypeInformation<String> getDataTypeInformation()
Relationpublic String getLongName()
Resultpublic String getShortName()
Resultprotected Logging getLogger()
AbstractRelationgetLogger in class AbstractRelation<String>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.