-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more compatibility with mongo 3.0 and other things like constructors …
…in model classes
- Loading branch information
Showing
6 changed files
with
72 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/net/wouto/modelsync/mongo/callbacks/MultiReadCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package net.wouto.modelsync.mongo.callbacks; | ||
|
||
import com.mongodb.DBObject; | ||
import org.bson.Document; | ||
|
||
public interface MultiReadCallback { | ||
|
||
public void onQueryDone(DBObject[] result, Exception err); | ||
public void onQueryDone(Document[] result, Exception err); | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/net/wouto/modelsync/mongo/callbacks/ReadCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package net.wouto.modelsync.mongo.callbacks; | ||
|
||
import com.mongodb.DBObject; | ||
import org.bson.Document; | ||
|
||
public interface ReadCallback { | ||
|
||
public void onQueryDone(DBObject result, Exception err); | ||
public void onQueryDone(Document result, Exception err); | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/net/wouto/modelsync/mongo/callbacks/WriteCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package net.wouto.modelsync.mongo.callbacks; | ||
|
||
import com.mongodb.BasicDBObject; | ||
import org.bson.Document; | ||
|
||
public interface WriteCallback { | ||
|
||
public void onQueryDone(BasicDBObject outputDocument, Exception err); | ||
public void onQueryDone(Document outputDocument, Exception err); | ||
|
||
} |