public class MongoDBTupleSnapshot extends Object implements TupleSnapshot
TupleSnapshot based on a DBObject retrieved from MongoDB.| Modifier and Type | Field and Description |
|---|---|
static Pattern |
EMBEDDED_FIELDNAME_SEPARATOR |
| Constructor and Description |
|---|
MongoDBTupleSnapshot(com.mongodb.DBObject dbObject,
EntityKeyMetadata meta) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String column) |
Set<String> |
getColumnNames() |
com.mongodb.DBObject |
getDbObject() |
boolean |
isEmpty() |
boolean |
isKeyColumn(String column) |
public static final Pattern EMBEDDED_FIELDNAME_SEPARATOR
public MongoDBTupleSnapshot(com.mongodb.DBObject dbObject,
EntityKeyMetadata meta)
public com.mongodb.DBObject getDbObject()
public Set<String> getColumnNames()
getColumnNames in interface TupleSnapshotpublic boolean isEmpty()
isEmpty in interface TupleSnapshotpublic boolean isKeyColumn(String column)
public Object get(String column)
get in interface TupleSnapshotCopyright © 2010–2017 Hibernate. All rights reserved.