public abstract class StreamReader<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamReader.ColumnStat |
static class |
StreamReader.Feature |
protected static class |
StreamReader.StreamReaderSpliterator<T> |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
columns |
protected java.util.List<StreamReader.ColumnStat> |
columnStats |
protected java.util.Map<java.lang.String,StreamReader.ColumnStat> |
columnStatsMap |
protected int |
end |
protected int |
errorCount |
protected long |
features |
protected FieldReader[] |
fieldReaders |
protected boolean |
inputEnd |
protected int |
lineEnd |
protected int |
lineNextStart |
protected int |
lineSize |
protected int |
lineStart |
protected boolean |
lineTerminated |
protected int[] |
mapping |
protected java.util.function.Supplier |
objectCreator |
protected int |
off |
protected int |
rowCount |
protected static int |
SIZE_512K |
protected ObjectReader[] |
typeReaders |
protected java.lang.reflect.Type[] |
types |
| Constructor and Description |
|---|
StreamReader() |
StreamReader(java.lang.reflect.Type[] types) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
readLineObject() |
protected abstract boolean |
seekLine() |
<T> java.util.stream.Stream<T> |
stream() |
<T> java.util.stream.Stream<T> |
stream(java.lang.Class<T> clazz) |
protected static final int SIZE_512K
protected long features
protected java.lang.reflect.Type[] types
protected ObjectReader[] typeReaders
protected java.util.function.Supplier objectCreator
protected FieldReader[] fieldReaders
protected int lineSize
protected int rowCount
protected int errorCount
protected int lineStart
protected int lineEnd
protected int lineNextStart
protected int end
protected int off
protected boolean inputEnd
protected boolean lineTerminated
protected java.util.Map<java.lang.String,StreamReader.ColumnStat> columnStatsMap
protected java.util.List<java.lang.String> columns
protected java.util.List<StreamReader.ColumnStat> columnStats
protected int[] mapping
public StreamReader()
public StreamReader(java.lang.reflect.Type[] types)
protected abstract boolean seekLine()
throws java.io.IOException
java.io.IOExceptionpublic abstract <T> T readLineObject()
public <T> java.util.stream.Stream<T> stream()
public <T> java.util.stream.Stream<T> stream(java.lang.Class<T> clazz)