public class MongoDBResultTupleIterable extends Object implements Iterable<Tuple>, Closeable
DBCursor used in MongoDB which converts the iterated DBObjects to corresponding
tuples.| Constructor and Description |
|---|
MongoDBResultTupleIterable(com.mongodb.DBCursor cursor,
EntityKeyMetadata keyMetaData)
Creates a new
MongoDBResultTupleIterable. |
public MongoDBResultTupleIterable(com.mongodb.DBCursor cursor,
EntityKeyMetadata keyMetaData)
MongoDBResultTupleIterable.cursor - the DBCursor from which DBObject are retrievedkeyMetaData - the metadata information of the entity type that is returned by the iteratorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2010-2013 Hibernate. All Rights Reserved.