- All Known Subinterfaces:
LoaderOptionsStep<R>
Loader
API is used for configuring data loads.
The step in constructing the Loader
object where you can specify the
load type and data source.
- Author:
- Lukas Eder, Johannes Bühler
-
Method Summary
Modifier and TypeMethodDescription@NotNull LoaderRowsStep<R>
loadArrays
(Iterable<? extends Object[]> arrays) Load in-memory data.@NotNull LoaderRowsStep<R>
loadArrays
(Object[]... arrays) Load in-memory data.@NotNull LoaderRowsStep<R>
loadArrays
(Iterator<? extends Object[]> arrays) Load in-memory data.@NotNull LoaderRowsStep<R>
loadArrays
(Stream<? extends Object[]> arrays) Load in-memory data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderCSVStep<R>
loadCSV
(File file, CharsetDecoder dec) Load CSV data.@NotNull LoaderCSVStep<R>
loadCSV
(InputStream stream) Load CSV data.@NotNull LoaderCSVStep<R>
loadCSV
(InputStream stream, String charsetName) Load CSV data.@NotNull LoaderCSVStep<R>
loadCSV
(InputStream stream, Charset cs) Load CSV data.@NotNull LoaderCSVStep<R>
loadCSV
(InputStream stream, CharsetDecoder dec) Load CSV data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderCSVStep<R>
Load CSV data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderJSONStep<R>
loadJSON
(File file, CharsetDecoder dec) Load JSON data.@NotNull LoaderJSONStep<R>
loadJSON
(InputStream stream) Load JSON data.@NotNull LoaderJSONStep<R>
loadJSON
(InputStream stream, String charsetName) Load JSON data.@NotNull LoaderJSONStep<R>
loadJSON
(InputStream stream, Charset cs) Load JSON data.@NotNull LoaderJSONStep<R>
loadJSON
(InputStream stream, CharsetDecoder dec) Load JSON data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderJSONStep<R>
Load JSON data.@NotNull LoaderRowsStep<R>
loadRecords
(Iterable<? extends Record> records) Load in-memory data.@NotNull LoaderRowsStep<R>
loadRecords
(Iterator<? extends Record> records) Load in-memory data.@NotNull LoaderRowsStep<R>
loadRecords
(Stream<? extends Record> records) Load in-memory data.@NotNull LoaderRowsStep<R>
loadRecords
(Record... records) Load in-memory data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(File file, CharsetDecoder dec) Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(InputStream stream) Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(InputStream stream, String charsetName) Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(InputStream stream, Charset cs) Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(InputStream stream, CharsetDecoder dec) Load XML data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
Load XML data.@NotNull LoaderXMLStep<R>
loadXML
(InputSource source) Load XML data.
-
Method Details
-
loadArrays
Load in-memory data.Feed a set of array representations of records to the loader API. Each array's elements are matched with the subsequent
LoaderRowsStep.fields(Field...)
specification, by index. The values in each array are converted to the matching field'sDataType
viaDataType.convert(Object)
. The matching is similar to that ofRecord.fromArray(Object[], Field...)
. -
loadArrays
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadArrays(Iterable<? extends Object[]> arrays) Load in-memory data.Like
loadArrays(Object[][])
, providing the possibility of lazy materialisation of the input arrays.- See Also:
-
loadArrays
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadArrays(Iterator<? extends Object[]> arrays) Load in-memory data.Like
loadArrays(Object[][])
, providing the possibility of lazy materialisation of the input arrays.- See Also:
-
loadArrays
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadArrays(Stream<? extends Object[]> arrays) Load in-memory data.Like
loadArrays(Object[][])
, providing the possibility of lazy materialisation of the input arrays.- See Also:
-
loadRecords
Load in-memory data. -
loadRecords
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadRecords(Iterable<? extends Record> records) Load in-memory data.- See Also:
-
loadRecords
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadRecords(Iterator<? extends Record> records) Load in-memory data.- See Also:
-
loadRecords
@NotNull @CheckReturnValue @Support @NotNull LoaderRowsStep<R> loadRecords(Stream<? extends Record> records) Load in-memory data.- See Also:
-
loadCSV
Load CSV data. -
loadCSV
@NotNull @CheckReturnValue @Support @NotNull LoaderCSVStep<R> loadCSV(File file, String charsetName) Load CSV data. -
loadCSV
Load CSV data. -
loadCSV
@NotNull @CheckReturnValue @Support @NotNull LoaderCSVStep<R> loadCSV(File file, CharsetDecoder dec) Load CSV data. -
loadCSV
Load CSV data. -
loadCSV
Load CSV data. -
loadCSV
@NotNull @CheckReturnValue @Support @NotNull LoaderCSVStep<R> loadCSV(InputStream stream, String charsetName) Load CSV data. -
loadCSV
@NotNull @CheckReturnValue @Support @NotNull LoaderCSVStep<R> loadCSV(InputStream stream, Charset cs) Load CSV data. -
loadCSV
@NotNull @CheckReturnValue @Support @NotNull LoaderCSVStep<R> loadCSV(InputStream stream, CharsetDecoder dec) Load CSV data. -
loadCSV
Load CSV data. -
loadCSV
Load CSV data. -
loadXML
Load XML data. -
loadXML
@NotNull @CheckReturnValue @Support @NotNull LoaderXMLStep<R> loadXML(File file, String charsetName) Load XML data. -
loadXML
Load XML data. -
loadXML
@NotNull @CheckReturnValue @Support @NotNull LoaderXMLStep<R> loadXML(File file, CharsetDecoder dec) Load XML data. -
loadXML
Load XML data. -
loadXML
Load XML data. -
loadXML
@NotNull @CheckReturnValue @Support @NotNull LoaderXMLStep<R> loadXML(InputStream stream, String charsetName) Load XML data. -
loadXML
@NotNull @CheckReturnValue @Support @NotNull LoaderXMLStep<R> loadXML(InputStream stream, Charset cs) Load XML data. -
loadXML
@NotNull @CheckReturnValue @Support @NotNull LoaderXMLStep<R> loadXML(InputStream stream, CharsetDecoder dec) Load XML data. -
loadXML
Load XML data. -
loadXML
Load XML data. -
loadXML
Load XML data. -
loadJSON
Load JSON data. -
loadJSON
@NotNull @CheckReturnValue @Support @NotNull LoaderJSONStep<R> loadJSON(File file, String charsetName) Load JSON data. -
loadJSON
Load JSON data. -
loadJSON
@NotNull @CheckReturnValue @Support @NotNull LoaderJSONStep<R> loadJSON(File file, CharsetDecoder dec) Load JSON data. -
loadJSON
Load JSON data. -
loadJSON
Load JSON data. -
loadJSON
@NotNull @CheckReturnValue @Support @NotNull LoaderJSONStep<R> loadJSON(InputStream stream, String charsetName) Load JSON data. -
loadJSON
@NotNull @CheckReturnValue @Support @NotNull LoaderJSONStep<R> loadJSON(InputStream stream, Charset cs) Load JSON data. -
loadJSON
@NotNull @CheckReturnValue @Support @NotNull LoaderJSONStep<R> loadJSON(InputStream stream, CharsetDecoder dec) Load JSON data. -
loadJSON
Load JSON data. -
loadJSON
Load JSON data.
-