T
- public abstract class MongoDBOutputOp<T> extends Object implements Operation<T>
Constructor and Description |
---|
MongoDBOutputOp() |
MongoDBOutputOp(List<com.mongodb.ServerAddress> seeds) |
Modifier and Type | Method and Description |
---|---|
abstract com.mongodb.DBObject |
asDBObject(T obj) |
abstract String |
getCollectionName() |
abstract String |
getDBName() |
void |
perform(T object)
Perform the operation on the given object.
|
public MongoDBOutputOp() throws UnknownHostException
UnknownHostException
public MongoDBOutputOp(List<com.mongodb.ServerAddress> seeds) throws UnknownHostException
seeds
- UnknownHostException
public abstract String getCollectionName()
public void perform(T object)
Operation
public abstract com.mongodb.DBObject asDBObject(T obj)
obj
-