Package io.trino.plugin.pinot.client
Class PinotGrpcDataFetcher
- java.lang.Object
-
- io.trino.plugin.pinot.client.PinotGrpcDataFetcher
-
- All Implemented Interfaces:
PinotDataFetcher
public class PinotGrpcDataFetcher extends Object implements PinotDataFetcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinotGrpcDataFetcher.Factorystatic interfacePinotGrpcDataFetcher.GrpcQueryClientFactorystatic classPinotGrpcDataFetcher.PinotGrpcServerQueryClientstatic classPinotGrpcDataFetcher.PlainTextGrpcQueryClientFactorystatic classPinotGrpcDataFetcher.TlsGrpcQueryClientFactory-
Nested classes/interfaces inherited from interface io.trino.plugin.pinot.client.PinotDataFetcher
PinotDataFetcher.RowCountChecker
-
-
Constructor Summary
Constructors Constructor Description PinotGrpcDataFetcher(PinotGrpcDataFetcher.PinotGrpcServerQueryClient pinotGrpcClient, PinotSplit split, String query, PinotDataFetcher.RowCountChecker rowCountChecker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanendOfData()voidfetchData()longgetMemoryUsageBytes()PinotDataTableWithSizegetNextDataTable()longgetReadTimeNanos()booleanisDataFetched()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.plugin.pinot.client.PinotDataFetcher
checkExceptions
-
-
-
-
Constructor Detail
-
PinotGrpcDataFetcher
public PinotGrpcDataFetcher(PinotGrpcDataFetcher.PinotGrpcServerQueryClient pinotGrpcClient, PinotSplit split, String query, PinotDataFetcher.RowCountChecker rowCountChecker)
-
-
Method Detail
-
getReadTimeNanos
public long getReadTimeNanos()
- Specified by:
getReadTimeNanosin interfacePinotDataFetcher
-
getMemoryUsageBytes
public long getMemoryUsageBytes()
- Specified by:
getMemoryUsageBytesin interfacePinotDataFetcher
-
endOfData
public boolean endOfData()
- Specified by:
endOfDatain interfacePinotDataFetcher
-
isDataFetched
public boolean isDataFetched()
- Specified by:
isDataFetchedin interfacePinotDataFetcher
-
fetchData
public void fetchData()
- Specified by:
fetchDatain interfacePinotDataFetcher
-
getNextDataTable
public PinotDataTableWithSize getNextDataTable()
- Specified by:
getNextDataTablein interfacePinotDataFetcher
-
-