Package com.alibaba.fastjson2.stream
Class StreamReader<T>
java.lang.Object
com.alibaba.fastjson2.stream.StreamReader<T>
- Direct Known Subclasses:
CSVReader,JSONStreamReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<StreamReader.ColumnStat>protected Map<String,StreamReader.ColumnStat> protected intprotected intprotected longprotected FieldReader[]protected booleanprotected intprotected intprotected intprotected intprotected booleanprotected int[]protected Supplierprotected intprotected intprotected static final intprotected ObjectReader[]protected Type[] -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SIZE_512K
protected static final int SIZE_512K- See Also:
-
features
protected long features -
types
-
typeReaders
-
objectCreator
-
fieldReaders
-
lineSize
protected int lineSize -
rowCount
protected int rowCount -
errorCount
protected int errorCount -
lineStart
protected int lineStart -
lineEnd
protected int lineEnd -
lineNextStart
protected int lineNextStart -
end
protected int end -
off
protected int off -
inputEnd
protected boolean inputEnd -
lineTerminated
protected boolean lineTerminated -
columnStatsMap
-
columns
-
columnStats
-
mapping
protected int[] mapping
-
-
Constructor Details
-
StreamReader
public StreamReader() -
StreamReader
-
-
Method Details
-
seekLine
- Throws:
IOException
-
readLineObject
public abstract <T> T readLineObject() -
stream
-
stream
-