public class SegmentGenerator extends Object implements Closeable
Constructor and Description |
---|
SegmentGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
QueryableIndex |
generate(DataSegment dataSegment,
BenchmarkSchemaInfo schemaInfo,
Granularity granularity,
int numRows) |
public QueryableIndex generate(DataSegment dataSegment, BenchmarkSchemaInfo schemaInfo, Granularity granularity, int numRows)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2018. All rights reserved.