public class FileSPLStreams
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSPLStreams.Compression |
| Constructor and Description |
|---|
FileSPLStreams() |
| Modifier and Type | Method and Description |
|---|---|
static SPLStream |
csvCompressedReader(TStream<java.lang.String> fileNames,
com.ibm.streams.operator.StreamSchema outputSchema,
FileSPLStreams.Compression compression)
Create an
SPLStream using the spl.adapter::FileSource
operator that reads CSV records from compressed files with names
delivered by fileNames. |
static SPLStream |
csvReader(TStream<java.lang.String> fileNames,
com.ibm.streams.operator.StreamSchema outputSchema)
Create an
SPLStream using the spl.adapter::FileSource
operator that reads CSV records from files with names delivered by
fileNames. |
public static SPLStream csvReader(TStream<java.lang.String> fileNames, com.ibm.streams.operator.StreamSchema outputSchema)
SPLStream using the spl.adapter::FileSource
operator that reads CSV records from files with names delivered by
fileNames.fileNames - Stream containing the file names to be read.outputSchema - SPL Schema of the CSV records and the returned stream.public static SPLStream csvCompressedReader(TStream<java.lang.String> fileNames, com.ibm.streams.operator.StreamSchema outputSchema, FileSPLStreams.Compression compression)
SPLStream using the spl.adapter::FileSource
operator that reads CSV records from compressed files with names
delivered by fileNames.fileNames - Stream containing the file names to be read.outputSchema - SPL Schema of the CSV records and the returned stream.