O - Object typepublic class ProxyView<O> extends AbstractRelation<O>
| Modifier and Type | Field and Description | 
|---|---|
private DBIDs | 
idview
The DBIDs we contain 
 | 
private Relation<O> | 
inner
The wrapped representation where we get the IDs from. 
 | 
private static Logging | 
LOG
Class logger 
 | 
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description | 
|---|
ProxyView(DBIDs idview,
         Relation<O> inner)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
O | 
get(DBIDRef id)
Get the representation of an object. 
 | 
SimpleTypeInformation<O> | 
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. 
 | 
java.lang.String | 
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. 
 | 
java.lang.String | 
getShortName()
A short name for the result, useful for file names. 
 | 
DBIDIter | 
iterDBIDs()
Get an iterator access to the DBIDs. 
 | 
void | 
setDBIDs(DBIDs ids)
Set the DBIDs to use. 
 | 
int | 
size()
Get the number of DBIDs. 
 | 
getDistanceQuery, getKNNQuery, getRangeQuery, getRKNNQuery, getSimilarityQuery, getSimilarityRangeQueryaddChildResult, getHierarchy, setHierarchyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, getKNNQuery, getRangeQuery, getRKNNQuery, getSimilarityRangeQuerygetHierarchy, setHierarchyprivate static final Logging LOG
private DBIDs idview
public O 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<O> getDataTypeInformation()
Relationpublic java.lang.String getLongName()
Resultpublic java.lang.String getShortName()
Resultpublic void setDBIDs(DBIDs ids)
ids - DBIDsprotected Logging getLogger()
AbstractRelationgetLogger in class AbstractRelation<O>Copyright © 2019 ELKI Development Team. License information.