Package org.apache.iceberg
Class RewriteTablePathUtil.RewriteResult<T>
java.lang.Object
org.apache.iceberg.RewriteTablePathUtil.RewriteResult<T>
- Type Parameters:
T- type of file to rewrite
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RewriteTablePathSparkAction.RewriteContentFileResult
- Enclosing class:
- RewriteTablePathUtil
Rewrite result.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRewrittenManifestLength(String sourceManifestPath, long length) Records the byte length of the manifest rewritten from the given source manifest pathcopyPlan()Returns a copy plan of files whose metadata were rewritten, for each file a source and target locationReturns the byte length of each rewritten manifest, keyed by source manifest pathReturns next list of files to rewrite (discovered by rewriting this file)
-
Constructor Details
-
RewriteResult
public RewriteResult()
-
-
Method Details
-
append
-
toRewrite
Returns next list of files to rewrite (discovered by rewriting this file) -
copyPlan
Returns a copy plan of files whose metadata were rewritten, for each file a source and target location -
addRewrittenManifestLength
Records the byte length of the manifest rewritten from the given source manifest path -
rewrittenManifestLengths
Returns the byte length of each rewritten manifest, keyed by source manifest path
-