public class DataGenerator extends Object
| Constructor and Description |
|---|
DataGenerator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pinot.spi.data.Schema |
fetchSchema() |
void |
generateAvro(long totalDocs,
int numFiles) |
void |
generateCsv(long totalDocs,
int numFiles) |
void |
init(DataGeneratorSpec spec) |
static void |
main(String[] args) |
public void init(DataGeneratorSpec spec) throws IOException
IOExceptionpublic void generateAvro(long totalDocs,
int numFiles)
throws IOException
IOExceptionpublic void generateCsv(long totalDocs,
int numFiles)
throws IOException
IOExceptionpublic org.apache.pinot.spi.data.Schema fetchSchema()
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2018–2020 Apache Software Foundation. All rights reserved.