Class ODocumentFieldWalker
ODocumentFieldVisitor class.
Only current document and embedded documents will be walked. Which means that all embedded collections will be visited too and all embedded documents which are contained in this collections also will be visited.
Fields values can be updated/converted too. If method ODocumentFieldVisitor.visitField(OType, OType, Object) will return new value original value will
be updated but returned result will not be visited by ODocumentFieldVisitor instance.
If currently processed value is collection or map of embedded documents or embedded document
itself then method ODocumentFieldVisitor.goDeeper(OType, OType, Object) is called, if it
returns false then this collection will not be visited by ODocumentFieldVisitor instance.
Fields will be visited till method ODocumentFieldVisitor.goFurther(OType, OType, Object, Object) returns true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwalkDocument(ODocument document, ODocumentFieldVisitor fieldWalker)
-
Constructor Details
-
ODocumentFieldWalker
public ODocumentFieldWalker()
-
-
Method Details
-
walkDocument
-