As a general design rule, most accessors ("getters") are included in this base class, to allow for traversing structure without type casts. Most mutators, however, need to be accessed through specific sub-classes (such as ObjectNode
and ArrayNode
). This seems sensible because proper type information is generally available when building or modifying trees, but less often when reading a tree (newly built from parsed JSON content).
Actual concrete sub-classes can be found from package {@link com.facebook.presto.jdbc.internal.jackson.databind.node}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|