Class CsvReader
java.lang.Object
com.gigaspaces.utils.CsvReader
- Since:
- 14.5
- Author:
- Niv Ingberg
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CsvReader.Builderbuilder()protected com.gigaspaces.utils.CsvReader.Parserread(InputStream input, SpaceTypeDescriptor typeDescriptor) <T> Stream<T> read(InputStream input, Class<T> type) read(InputStream input, String typeName) read(Path path, SpaceTypeDescriptor typeDescriptor) <T> Stream<T> readSchema(Path path, String typeName)
-
Constructor Details
-
CsvReader
public CsvReader()
-
-
Method Details
-
builder
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
public Stream<SpaceDocument> read(InputStream input, SpaceTypeDescriptor typeDescriptor) throws IOException - Throws:
IOException
-
readSchema
- Throws:
IOException
-
getParser
-