Package io.trino.plugin.pinot.client
Class PinotLegacyDataFetcher
java.lang.Object
io.trino.plugin.pinot.client.PinotLegacyDataFetcher
- All Implemented Interfaces:
PinotDataFetcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface io.trino.plugin.pinot.client.PinotDataFetcher
PinotDataFetcher.RowCountChecker -
Constructor Summary
ConstructorsConstructorDescriptionPinotLegacyDataFetcher(ConnectorSession session, PinotLegacyDataFetcher.PinotLegacyServerQueryClient pinotQueryClient, 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
-
PinotLegacyDataFetcher
public PinotLegacyDataFetcher(ConnectorSession session, PinotLegacyDataFetcher.PinotLegacyServerQueryClient pinotQueryClient, 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
-