Package com.alibaba.fastjson2.stream
Class JSONStreamReader<T>
java.lang.Object
com.alibaba.fastjson2.stream.StreamReader<T>
com.alibaba.fastjson2.stream.JSONStreamReader<T>
- Direct Known Subclasses:
JSONStreamReaderUTF16
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.fastjson2.stream.StreamReader
StreamReader.ColumnStat, StreamReader.Feature, StreamReader.StreamReaderSpliterator<T> -
Field Summary
FieldsFields inherited from class com.alibaba.fastjson2.stream.StreamReader
columns, columnStats, columnStatsMap, end, errorCount, features, fieldReaders, inputEnd, lineEnd, lineNextStart, lineSize, lineStart, lineTerminated, mapping, objectCreator, off, rowCount, SIZE_512K, typeReaders, types -
Constructor Summary
ConstructorsConstructorDescriptionJSONStreamReader(ObjectReaderAdapter objectReader) JSONStreamReader(Type[] types) -
Method Summary
Modifier and TypeMethodDescriptiongetColumnStat(String name) static JSONStreamReaderstatic JSONStreamReaderof(InputStream in) static JSONStreamReaderof(InputStream in, Class objectClass) static JSONStreamReaderof(InputStream in, Type... types) static JSONStreamReaderof(InputStream in, Charset charset, Class objectClass) static JSONStreamReaderof(InputStream in, Charset charset, Type... types) protected static voidstat(StreamReader.ColumnStat stat, Object value) voidstatAll()voidMethods inherited from class com.alibaba.fastjson2.stream.StreamReader
readLineObject, seekLine, stream, stream
-
Field Details
-
objectReader
-
-
Constructor Details
-
JSONStreamReader
-
JSONStreamReader
-
-
Method Details
-
of
- Throws:
IOException
-
of
- Throws:
IOException
-
of
- Throws:
IOException
-
of
-
of
-
of
-
getColumnStat
-
stat
-
statAll
public void statAll() -
statLine
-