public class CubeSegmentScanner extends Object implements org.apache.kylin.gridtable.IGTScanner
| Constructor and Description |
|---|
CubeSegmentScanner(org.apache.kylin.cube.CubeSegment cubeSeg,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
Set<org.apache.kylin.metadata.model.TblColRef> dimensions,
Set<org.apache.kylin.metadata.model.TblColRef> groups,
Collection<org.apache.kylin.metadata.model.FunctionDesc> metrics,
org.apache.kylin.metadata.filter.TupleFilter filter,
boolean allowPreAggregate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.kylin.gridtable.GTInfo |
getInfo() |
int |
getScannedRowCount() |
Iterator<org.apache.kylin.gridtable.GTRecord> |
iterator() |
public CubeSegmentScanner(org.apache.kylin.cube.CubeSegment cubeSeg,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
Set<org.apache.kylin.metadata.model.TblColRef> dimensions,
Set<org.apache.kylin.metadata.model.TblColRef> groups,
Collection<org.apache.kylin.metadata.model.FunctionDesc> metrics,
org.apache.kylin.metadata.filter.TupleFilter filter,
boolean allowPreAggregate)
public Iterator<org.apache.kylin.gridtable.GTRecord> iterator()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic org.apache.kylin.gridtable.GTInfo getInfo()
getInfo in interface org.apache.kylin.gridtable.IGTScannerpublic int getScannedRowCount()
getScannedRowCount in interface org.apache.kylin.gridtable.IGTScannerCopyright © 2014–2016 Apache Software Foundation. All rights reserved.