Class OrcDeletedRows
java.lang.Object
io.trino.plugin.hive.orc.OrcDeletedRows
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOrcDeletedRows(String sourceFileName, OrcDeleteDeltaPageSourceFactory pageSourceFactory, ConnectorIdentity identity, TrinoFileSystemFactory fileSystemFactory, AcidInfo acidInfo, OptionalInt bucketNumber, AggregatedMemoryContext memoryContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getMaskDeletedRowsFunction(Page sourcePage, OptionalLong startRowId) booleanTriggers loading of deleted rows ids.
-
Constructor Details
-
OrcDeletedRows
public OrcDeletedRows(String sourceFileName, OrcDeleteDeltaPageSourceFactory pageSourceFactory, ConnectorIdentity identity, TrinoFileSystemFactory fileSystemFactory, AcidInfo acidInfo, OptionalInt bucketNumber, AggregatedMemoryContext memoryContext)
-
-
Method Details
-
getMaskDeletedRowsFunction
public OrcDeletedRows.MaskDeletedRowsFunction getMaskDeletedRowsFunction(Page sourcePage, OptionalLong startRowId) -
loadOrYield
public boolean loadOrYield()Triggers loading of deleted rows ids. Single call to the method may load just part of ids. If more ids to be loaded remain, method returns false and should be called once again. Final call will return true and the loaded ids can be consumed viagetMaskDeletedRowsFunction(Page, OptionalLong)- Returns:
- true when fully loaded, and false if this method should be called again
-
close
- Throws:
IOException
-