public class JSONStreamVisitorToChannel extends Object implements JSONStreamVisitor
| Constructor and Description |
|---|
JSONStreamVisitorToChannel(JSONFieldSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTextLength(long[][] data,
int selection,
long value,
int pos)
grow as needed and store new length value in the right row
|
void |
beginArray() |
void |
beginObject() |
void |
clear() |
void |
customString(int id) |
int |
dimensions(int fieldId) |
void |
endArray() |
void |
endObject() |
void |
export(ChannelWriter writer,
int[] fieldIndexPositions) |
boolean |
isAligned(int fieldId) |
boolean |
isReady() |
void |
literalFalse() |
void |
literalNull() |
void |
literalTrue() |
void |
nameSeparator() |
void |
numberValue(long m,
byte e) |
ByteConsumer |
stringAccumulator() |
void |
stringBegin() |
void |
stringEnd() |
void |
valueSeparator() |
void |
whiteSpace(byte b) |
public JSONStreamVisitorToChannel(JSONFieldSchema schema)
public int dimensions(int fieldId)
public boolean isAligned(int fieldId)
public void addTextLength(long[][] data,
int selection,
long value,
int pos)
public void clear()
public void export(ChannelWriter writer, int[] fieldIndexPositions)
public void nameSeparator()
nameSeparator in interface JSONStreamVisitorpublic void whiteSpace(byte b)
whiteSpace in interface JSONStreamVisitorpublic boolean isReady()
isReady in interface JSONStreamVisitorpublic void beginObject()
beginObject in interface JSONStreamVisitorpublic void customString(int id)
customString in interface JSONStreamVisitorpublic void endObject()
endObject in interface JSONStreamVisitorpublic void beginArray()
beginArray in interface JSONStreamVisitorpublic void endArray()
endArray in interface JSONStreamVisitorpublic void valueSeparator()
valueSeparator in interface JSONStreamVisitorpublic void literalTrue()
literalTrue in interface JSONStreamVisitorpublic void literalNull()
literalNull in interface JSONStreamVisitorpublic void literalFalse()
literalFalse in interface JSONStreamVisitorpublic void numberValue(long m,
byte e)
numberValue in interface JSONStreamVisitorpublic void stringBegin()
stringBegin in interface JSONStreamVisitorpublic ByteConsumer stringAccumulator()
stringAccumulator in interface JSONStreamVisitorpublic void stringEnd()
stringEnd in interface JSONStreamVisitorCopyright © 2018. All Rights Reserved.