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