Modifier and Type | Field and Description |
---|---|
private long[] | counts
Tracks the number of items that remain to be written in the collections (array or map). |
protected int |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected final int | |
protected final void | |
protected final void | |
public void | setItemCount(long
The number of itemCount)startItem() calls to follow.Implements abstract org. |
public void | startItem()
Implements abstract org. |
counts | back to summary |
---|---|
private long[] counts Tracks the number of items that remain to be written in the collections (array or map). |
pos | back to summary |
---|---|
protected int pos |
ParsingEncoder | back to summary |
---|---|
public ParsingEncoder() |
depth | back to summary |
---|---|
protected final int depth() |
pop | back to summary |
---|---|
protected final void pop() |
push | back to summary |
---|---|
protected final void push() Push a new collection on to the stack. |
setItemCount | back to summary |
---|---|
public void setItemCount(long itemCount) throws IOException Implements abstract org. Doc from org. Call this method before writing a batch of items in an array or a map. Then
for each item, call
|
startItem | back to summary |
---|---|
public void startItem() throws IOException Implements abstract org. Doc from org. Start a new item of an array or map. See
|