
public class ODocumentFieldWalker extends Object
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 and Description |
|---|
ODocumentFieldWalker() |
| Modifier and Type | Method and Description |
|---|---|
void |
walkDocument(ODocument document,
ODocumentFieldVisitor fieldWalker) |
public void walkDocument(ODocument document, ODocumentFieldVisitor fieldWalker)
Copyright © 2009–2025 OrientDB. All rights reserved.