Package com.gigaspaces.utils
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.Parserjava.util.stream.Stream<SpaceDocument>read(InputStream input, SpaceTypeDescriptor typeDescriptor) <T> java.util.stream.Stream<T>read(InputStream input, Class<T> type) java.util.stream.Stream<SpaceDocument>read(InputStream input, String typeName) java.util.stream.Stream<SpaceDocument>read(Path path, SpaceTypeDescriptor typeDescriptor) <T> java.util.stream.Stream<T>java.util.stream.Stream<SpaceDocument>readSchema(Path path, String typeName)
-
Constructor Details
-
CsvReader
public CsvReader()
-
-
Method Details
-
builder
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
public java.util.stream.Stream<SpaceDocument> read(InputStream input, String typeName) throws IOException - Throws:
IOException
-
read
public java.util.stream.Stream<SpaceDocument> read(Path path, SpaceTypeDescriptor typeDescriptor) throws IOException - Throws:
IOException
-
read
public java.util.stream.Stream<SpaceDocument> read(InputStream input, SpaceTypeDescriptor typeDescriptor) throws IOException - Throws:
IOException
-
readSchema
- Throws:
IOException
-
getParser
-