org.hibernate.ogm.dialect.mongodb
Class MongoDBTupleSnapshot

java.lang.Object
  extended by org.hibernate.ogm.dialect.mongodb.MongoDBTupleSnapshot
All Implemented Interfaces:
TupleSnapshot

public class MongoDBTupleSnapshot
extends Object
implements TupleSnapshot

Author:
Guillaume Scheibel

Field Summary
static Pattern EMBEDDED_FIELDNAME_SEPARATOR
           
 
Constructor Summary
MongoDBTupleSnapshot(com.mongodb.DBObject dbObject, EntityKey entityKey)
           
MongoDBTupleSnapshot(com.mongodb.DBObject dbObject, RowKey rowKey)
           
 
Method Summary
 boolean columnInIdField(String column)
           
 Object get(String column)
           
 Set<String> getColumnNames()
           
 com.mongodb.DBObject getDbObject()
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMBEDDED_FIELDNAME_SEPARATOR

public static final Pattern EMBEDDED_FIELDNAME_SEPARATOR
Constructor Detail

MongoDBTupleSnapshot

public MongoDBTupleSnapshot(com.mongodb.DBObject dbObject,
                            RowKey rowKey)

MongoDBTupleSnapshot

public MongoDBTupleSnapshot(com.mongodb.DBObject dbObject,
                            EntityKey entityKey)
Method Detail

get

public Object get(String column)
Specified by:
get in interface TupleSnapshot

getColumnNames

public Set<String> getColumnNames()
Specified by:
getColumnNames in interface TupleSnapshot

getDbObject

public com.mongodb.DBObject getDbObject()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TupleSnapshot

columnInIdField

public boolean columnInIdField(String column)


Copyright © 2010-2012 Hibernate. All Rights Reserved.