- toBson(List<? extends JsonDoc>) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Translates a list of JSON documents to DBObjects.
- toBson(JsonDoc) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Translates a JSON document to DBObject.
- toJson(DBObject) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Traslates a DBObject document to Json document
- toJson(List<DBObject>) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Translates DBObjects into Json documents
- toString() - Method in class com.redhat.lightblue.crud.mongo.Merge.IField
-
- toString() - Method in class com.redhat.lightblue.crud.mongo.Merge.PathAndField
-
- translate(Sort) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Translates a sort expression to Mongo sort expression
- translate(EntityMetadata, QueryExpression) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Translates a query to Mongo query
- translate(EntityMetadata, UpdateExpression) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Tranlates an update expression to Mongo query
- translateJsPath(Path) - Static method in class com.redhat.lightblue.crud.mongo.Translator
-
Translate a path to a javascript path
Path cannot have *.
- translatePath(Path) - Static method in class com.redhat.lightblue.crud.mongo.Translator
-
Translate a path to a mongo path
Any * in the path is removed.
- translateProjection(EntityMetadata, Projection, QueryExpression, Sort) - Method in class com.redhat.lightblue.crud.mongo.Translator
-
Writes a MongoDB projection containing fields to evaluate the projection, sort, and query
- Translator - Class in com.redhat.lightblue.crud.mongo
-
Translations between BSON and JSON.
- Translator(MetadataResolver, JsonNodeFactory) - Constructor for class com.redhat.lightblue.crud.mongo.Translator
-
Constructs a translator using the given metadata resolver and factory