Package org.apache.iceberg.spark.source
Class SerializableTableWithSize.SerializableMetadataTableWithSize
java.lang.Object
org.apache.iceberg.SerializableTable
org.apache.iceberg.SerializableTable.SerializableMetadataTable
org.apache.iceberg.spark.source.SerializableTableWithSize.SerializableMetadataTableWithSize
- All Implemented Interfaces:
Serializable
,AutoCloseable
,HasTableOperations
,Table
,org.apache.spark.util.KnownSizeEstimation
- Enclosing class:
- SerializableTableWithSize
public static class SerializableTableWithSize.SerializableMetadataTableWithSize
extends SerializableTable.SerializableMetadataTable
implements org.apache.spark.util.KnownSizeEstimation, AutoCloseable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iceberg.SerializableTable
SerializableTable.SerializableMetadataTable
-
Constructor Summary
ModifierConstructorDescriptionprotected
SerializableMetadataTableWithSize
(BaseMetadataTable metadataTable) -
Method Summary
Methods inherited from class org.apache.iceberg.SerializableTable.SerializableMetadataTable
newTable, type
Methods inherited from class org.apache.iceberg.SerializableTable
copyOf, currentSnapshot, encryption, expireSnapshots, history, io, location, locationProvider, manageSnapshots, name, newAppend, newBatchScan, newDelete, newIncrementalAppendScan, newIncrementalChangelogScan, newOverwrite, newReplacePartitions, newRewrite, newRowDelta, newScan, newTransaction, operations, partitionStatisticsFiles, properties, refresh, refs, replaceSortOrder, rewriteManifests, schema, schemas, snapshot, snapshots, sortOrder, sortOrders, spec, specs, statisticsFiles, updateLocation, updatePartitionStatistics, updateProperties, updateSchema, updateSpec, updateStatistics, uuid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.iceberg.Table
newFastAppend, snapshot
-
Constructor Details
-
SerializableMetadataTableWithSize
-
-
Method Details
-
estimatedSize
public long estimatedSize()- Specified by:
estimatedSize
in interfaceorg.apache.spark.util.KnownSizeEstimation
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-