org.apache.metamodel.mongodb
Class MongoDBUtils
java.lang.Object
org.apache.metamodel.mongodb.MongoDBUtils
public class MongoDBUtils
- extends Object
A utility class for MongoDB module.
|
Method Summary |
static Row |
toRow(com.mongodb.DBObject dbObject,
DataSetHeader header)
Converts a MongoDB data object DBObject into MetaModel
Row. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MongoDBUtils
public MongoDBUtils()
toRow
public static Row toRow(com.mongodb.DBObject dbObject,
DataSetHeader header)
- Converts a MongoDB data object
DBObject into MetaModel
Row.
- Parameters:
dbObject - a MongoDB object storing data.header - a header describing the columns of the data stored.
- Returns:
- the MetaModel
Row result object.
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.