public class MongoDBAssociationSnapshot extends Object implements AssociationSnapshot
| Constructor and Description |
|---|
MongoDBAssociationSnapshot(com.mongodb.DBObject document,
AssociationKey key,
AssociationStorageStrategy storageStrategy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(RowKey column) |
Tuple |
get(RowKey column) |
com.mongodb.DBObject |
getDBObject() |
com.mongodb.DBObject |
getQueryObject() |
com.mongodb.DBObject |
getRowKeyDBObject(RowKey rowKey) |
Set<RowKey> |
getRowKeys() |
int |
size() |
String |
toString() |
public MongoDBAssociationSnapshot(com.mongodb.DBObject document,
AssociationKey key,
AssociationStorageStrategy storageStrategy)
document - DBObject containing the association informationkey - public Tuple get(RowKey column)
get in interface AssociationSnapshotpublic com.mongodb.DBObject getQueryObject()
public boolean containsKey(RowKey column)
containsKey in interface AssociationSnapshotpublic int size()
size in interface AssociationSnapshotpublic com.mongodb.DBObject getRowKeyDBObject(RowKey rowKey)
public Set<RowKey> getRowKeys()
getRowKeys in interface AssociationSnapshotpublic com.mongodb.DBObject getDBObject()
Copyright © 2010-2014 Hibernate. All Rights Reserved.