Package org.gridgain.tpcds
Class TpcdsDataStreamer
java.lang.Object
org.gridgain.tpcds.TpcdsDataStreamer
Utility class that uses
TpcdsDataGenerator to ingest the data in a specified TPC-DS table
using provided DataIngestorFactory.-
Constructor Summary
ConstructorsConstructorDescriptionTpcdsDataStreamer(DataScale dataScale, DataIngestorFactory dataIngestorFactory) Constructor ofTpcdsDataStreamer.TpcdsDataStreamer(TpcdsDataGenerator dataGenerator, DataIngestorFactory dataIngestorFactory) Constructor ofTpcdsDataStreamer. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidingestAllData(DataScale dataScale, DataIngestorFactory dataIngestorFactory) Ingests data for all TPC-DS base tables in parallel.ingestDataAsync(Table table) Ingests the data into specified TPC-DS table.
-
Constructor Details
-
TpcdsDataStreamer
Constructor ofTpcdsDataStreamer.- Parameters:
dataScale- data scale of the generated data.dataIngestorFactory- factory of data ingestors, responsible for insertion of generated data.
-
TpcdsDataStreamer
Constructor ofTpcdsDataStreamer.- Parameters:
dataGenerator- data generator for this session.dataIngestorFactory- factory of data ingestors, responsible for insertion of generated data.
-
-
Method Details
-
ingestAllData
-
ingestDataAsync
Ingests the data into specified TPC-DS table.- Parameters:
table- TPC-DS table to insert the data to.- Returns:
- a future that completes when data ingestion is completed.
-
ingestAllTablesAsync
Ingests data for all TPC-DS base tables in parallel.- Returns:
- a future that completes when data ingestion is completed for all tables.
-