public interface ODocumentFieldVisitor
ODocumentFieldWalker
to visit all fields of
current document.Modifier and Type | Method and Description |
---|---|
boolean |
goDeeper(OType type,
OType linkedType,
Object value)
If currently processed value is collection or map of embedded documents or embedded document itself then current method is
called if it returns false then this collection will not be visited.
|
boolean |
goFurther(OType type,
OType linkedType,
Object value,
Object newValue)
Indicates whether we continue to visit document fields after current one or should stop fields processing.
|
boolean |
updateMode() |
Object |
visitField(OType type,
OType linkedType,
Object value)
Visits currently processed field.
|
Object visitField(OType type, OType linkedType, Object value)
type
- Filed type. May be null if absent in DB schema.linkedType
- Linked type in case collection is processed. May be null if absent in DB schema.value
- Field value.boolean goFurther(OType type, OType linkedType, Object value, Object newValue)
type
- Filed type. May be null if absent in DB schema.linkedType
- Linked type in case collection is processed. May be null if absent in DB schema.value
- Field value.newValue
- New value returned by visitField(OType, OType, Object)
method.boolean goDeeper(OType type, OType linkedType, Object value)
type
- Filed type. May be null if absent in DB schema.linkedType
- Linked type in case collection is processed. May be null if absent in DB schema.value
- Field value.boolean updateMode()
visitField(OType, OType, Object)
will not be taken in account and field
value will not be updated.Copyright © 2009–2019 OrientDB. All rights reserved.