Package io.trino.plugin.hudi
Class HudiSplitSource
java.lang.Object
io.trino.plugin.hudi.HudiSplitSource
- All Implemented Interfaces:
ConnectorSplitSource,Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.connector.ConnectorSplitSource
ConnectorSplitSource.ConnectorSplitBatch -
Constructor Summary
ConstructorsConstructorDescriptionHudiSplitSource(ConnectorSession session, HiveMetastore metastore, Table table, HudiTableHandle tableHandle, TrinoFileSystemFactory fileSystemFactory, Map<String, HiveColumnHandle> partitionColumnHandleMap, ExecutorService executor, ScheduledExecutorService splitLoaderExecutorService, int maxSplitsPerSecond, int maxOutstandingSplits, List<String> partitions) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.connector.ConnectorSplitSource
getTableExecuteSplitsInfo
-
Constructor Details
-
HudiSplitSource
public HudiSplitSource(ConnectorSession session, HiveMetastore metastore, Table table, HudiTableHandle tableHandle, TrinoFileSystemFactory fileSystemFactory, Map<String, HiveColumnHandle> partitionColumnHandleMap, ExecutorService executor, ScheduledExecutorService splitLoaderExecutorService, int maxSplitsPerSecond, int maxOutstandingSplits, List<String> partitions)
-
-
Method Details
-
getNextBatch
- Specified by:
getNextBatchin interfaceConnectorSplitSource
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceConnectorSplitSource
-
isFinished
public boolean isFinished()- Specified by:
isFinishedin interfaceConnectorSplitSource
-