public interface MongoDBTailTrackingStrategy
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.BasicDBObject |
createQuery(Object lastVal,
String increasingField)
Creates an object to be used in a query using the last tracking value.
|
Object |
extractLastVal(com.mongodb.DBObject o,
String increasingField)
Extracts the last tracking value using the field name or an expression.
|
Object extractLastVal(com.mongodb.DBObject o, String increasingField)
o - The object retrieved by the trailing process.increasingField - The field name or an expression used to extract the last value.com.mongodb.BasicDBObject createQuery(Object lastVal, String increasingField)
lastVal - The last tracking value.increasingField - The field name or an expression used to extract the last value.Apache Camel