Package io.trino.plugin.pinot.client
Class PinotGrpcDataFetcher
java.lang.Object
io.trino.plugin.pinot.client.PinotGrpcDataFetcher
- All Implemented Interfaces:
PinotDataFetcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic classstatic classstatic classNested classes/interfaces inherited from interface io.trino.plugin.pinot.client.PinotDataFetcher
PinotDataFetcher.RowCountChecker -
Constructor Summary
ConstructorsConstructorDescriptionPinotGrpcDataFetcher(PinotGrpcDataFetcher.PinotGrpcServerQueryClient pinotGrpcClient, PinotSplit split, String query, PinotDataFetcher.RowCountChecker rowCountChecker) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidlonglongbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.plugin.pinot.client.PinotDataFetcher
checkExceptions
-
Constructor Details
-
PinotGrpcDataFetcher
public PinotGrpcDataFetcher(PinotGrpcDataFetcher.PinotGrpcServerQueryClient pinotGrpcClient, PinotSplit split, String query, PinotDataFetcher.RowCountChecker rowCountChecker)
-
-
Method Details
-
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
- Specified by:
getNextDataTablein interfacePinotDataFetcher
-