Class JSONSplitter.Visitor<T extends AbstractWriteHandle>

java.lang.Object
com.marklogic.client.datamovement.JSONSplitter.Visitor<T>
Type Parameters:
T - The type of the handle used for each split
Direct Known Subclasses:
JSONSplitter.ArrayVisitor
Enclosing class:
JSONSplitter<T extends JSONWriteHandle>

public abstract static class JSONSplitter.Visitor<T extends AbstractWriteHandle> extends Object
The Visitor class is used to accumulate and inspect state during the depth-first traversal of the JSON tree and make the decision of how to split the JSON file. It checks if the current object or array is the target to split. If it is, convert the target object or array into buffered handles or DocumentWriteOperations.