public class MongoDBUtils extends Object
Constructor and Description |
---|
MongoDBUtils() |
Modifier and Type | Method and Description |
---|---|
static Row |
toRow(com.mongodb.DBObject dbObject,
DataSetHeader header)
Converts a MongoDB data object
DBObject into MetaModel
Row . |
public static Row toRow(com.mongodb.DBObject dbObject, DataSetHeader header)
DBObject
into MetaModel
Row
.dbObject
- a MongoDB object storing data.header
- a header describing the columns of the data stored.Row
result object.Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.