O
- Object typepublic interface Relation<O> extends DatabaseQuery, HierarchicalResult
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
void |
delete(DBIDRef id)
Delete an objects values.
|
O |
get(DBIDRef id)
Get the representation of an object.
|
Database |
getDatabase()
Get the associated database.
|
SimpleTypeInformation<O> |
getDataTypeInformation()
Get the data type of this representation
|
DBIDs |
getDBIDs()
Get the IDs the query is defined for.
|
DBIDIter |
iterDBIDs()
Get an iterator access to the DBIDs.
|
void |
set(DBIDRef id,
O val)
Set an object representation.
|
int |
size()
Get the number of DBIDs.
|
getHierarchy, setHierarchy
getLongName, getShortName
Database getDatabase()
null
!O get(DBIDRef id)
id
- Object IDvoid delete(DBIDRef id)
id
- ID to deleteSimpleTypeInformation<O> getDataTypeInformation()
DBIDs getDBIDs()
DBIDIter iterDBIDs()
for(DBIDIter iter = relation.iterDBIDs(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
int size()