Package io.trino.plugin.pinot.client
Class PinotGrpcDataFetcher.Factory
- java.lang.Object
-
- io.trino.plugin.pinot.client.PinotGrpcDataFetcher.Factory
-
- All Implemented Interfaces:
PinotDataFetcher.Factory
- Enclosing class:
- PinotGrpcDataFetcher
public static class PinotGrpcDataFetcher.Factory extends Object implements PinotDataFetcher.Factory
-
-
Constructor Summary
Constructors Constructor Description Factory(PinotHostMapper pinotHostMapper, PinotGrpcServerQueryClientConfig pinotGrpcServerQueryClientConfig, PinotGrpcDataFetcher.GrpcQueryClientFactory grpcQueryClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinotDataFetchercreate(ConnectorSession session, String query, PinotSplit split)intgetRowLimit()voidshutdown()
-
-
-
Constructor Detail
-
Factory
@Inject public Factory(PinotHostMapper pinotHostMapper, PinotGrpcServerQueryClientConfig pinotGrpcServerQueryClientConfig, PinotGrpcDataFetcher.GrpcQueryClientFactory grpcQueryClientFactory)
-
-
Method Detail
-
shutdown
@PreDestroy public void shutdown() throws IOException- Throws:
IOException
-
create
public PinotDataFetcher create(ConnectorSession session, String query, PinotSplit split)
- Specified by:
createin interfacePinotDataFetcher.Factory
-
getRowLimit
public int getRowLimit()
- Specified by:
getRowLimitin interfacePinotDataFetcher.Factory
-
-