Package | Description |
---|---|
com.hazelcast.jet.pipeline.file |
This package offers the
FileSourceBuilder
which allows you to construct various kinds of Pipeline sources that read from local or distributed files. |
Modifier and Type | Method and Description |
---|---|
static <T> JsonFileFormat<T> |
FileFormat.json()
Returns a file format for JSON Lines files.
|
static <T> JsonFileFormat<T> |
FileFormat.json(Class<T> clazz)
Returns a file format for JSON Lines files, where each line of text
is one JSON object.
|
JsonFileFormat<T> |
JsonFileFormat.multiline(boolean multiline)
Specifies if the Json parser should accept json records spanning
multiple lines.
|
JsonFileFormat<T> |
JsonFileFormat.withClass(Class<T> clazz)
Specifies class that data will be deserialized into.
|
Copyright © 2021 Hazelcast, Inc.. All rights reserved.