Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Enum Classes
  • Fields
  • Methods
  • Constructors
  • Deprecated Interfaces
    Interface
    Description
    org.apache.iceberg.encryption.KmsClient
    the API will be removed in v2.0.0 (replaced with KeyManagementClient interface).
    org.apache.iceberg.metrics.MetricsContext.Counter
    will be removed in 2.0.0, use Counter instead.
  • Deprecated Classes
    Class
    Description
    org.apache.iceberg.parquet.ParquetWriteAdapter
    use ParquetWriter
    org.apache.iceberg.SystemProperties
    Use SystemConfigs instead; will be removed in 2.0.0
  • Deprecated Enum Classes
    Enum Class
    Description
    org.apache.iceberg.BaseMetastoreTableOperations.CommitStatus
    since 1.6.0, will be removed in 1.7.0; Use BaseMetastoreOperations.CommitStatus instead
  • Deprecated Fields
    Field
    Description
    org.apache.iceberg.SystemConfigs.NETFLIX_UNSAFE_PARQUET_ID_FALLBACK_ENABLED
    will be removed in 2.0.0; use name mapping instead
    org.apache.iceberg.TableProperties.MANIFEST_LISTS_ENABLED
    will be removed in 2.0.0, writing manifest lists is always enabled
    org.apache.iceberg.TableProperties.MANIFEST_LISTS_ENABLED_DEFAULT
    will be removed in 2.0.0, writing manifest lists is always enabled
    org.apache.iceberg.TableProperties.OBJECT_STORE_PATH
    Use TableProperties.WRITE_DATA_LOCATION instead.
    org.apache.iceberg.TableProperties.WRITE_FOLDER_STORAGE_LOCATION
    Use TableProperties.WRITE_DATA_LOCATION instead.
    org.apache.iceberg.util.ThreadPools.WORKER_THREAD_POOL_SIZE_PROP
    Use WORKER_THREAD_POOL_SIZE instead; will be removed in 2.0.0
    org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsLexer.tokenNames
    Use IcebergSqlExtensionsLexer.VOCABULARY instead.
    org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsParser.tokenNames
    Use IcebergSqlExtensionsParser.VOCABULARY instead.
  • Deprecated Methods
    Method
    Description
    org.apache.iceberg.avro.AvroSchemaUtil.pruneColumns(Schema, Set<Integer>, NameMapping)
    will be removed in 2.0.0; use applyNameMapping and pruneColumns(Schema, Set) instead.
    org.apache.iceberg.aws.AwsClientFactories.configureEndpoint(T, String)
    Not for public use. To configure the endpoint for a client, please use S3FileIOProperties.applyEndpointConfigurations(S3ClientBuilder), AwsProperties.applyGlueEndpointConfigurations(GlueClientBuilder), or AwsProperties.applyDynamoDbEndpointConfigurations(DynamoDbClientBuilder) accordingly. It will be removed in 2.0.0
    org.apache.iceberg.aws.AwsClientFactories.configureHttpClientBuilder(String)
    Not for public use. To configure the httpClient for a client, please use HttpClientProperties.applyHttpClientConfigurations(AwsSyncClientBuilder). It will be removed in 2.0.0
    org.apache.iceberg.aws.AwsClientFactories.s3Configuration(Boolean, Boolean)
    Not for public use. To build an S3Configuration object, use S3Configuration.builder() directly. It will be removed in 2.0.0
    org.apache.iceberg.common.DynConstructors.Builder.hiddenImpl(Class<?>...)
    since 1.6.0, will be removed in 1.7.0; This varargs method conflicts with DynConstructors.Builder.hiddenImpl(Class, Class...). Use DynConstructors.builder(Class) instead.
    org.apache.iceberg.common.DynConstructors.Ctor.getConstructedClass()
    since 1.6.0, will be removed in 1.7.0
    org.apache.iceberg.common.DynFields.Builder.buildStaticChecked()
    since 1.6.0, will be removed in 1.7.0
    org.apache.iceberg.common.DynMethods.Builder.ctorImpl(Class<?>, Class<?>...)
    since 1.6.0, will be removed in 1.7.0
    org.apache.iceberg.common.DynMethods.Builder.ctorImpl(String, Class<?>...)
    since 1.6.0, will be removed in 1.7.0
    org.apache.iceberg.common.DynMethods.UnboundMethod.invokeChecked(Object, Object...)
    since 1.6.0, will be removed in 1.7.0
    org.apache.iceberg.FileScanTaskParser.fromJson(String, boolean)
    will be removed in 1.7.0; use ScanTaskParser.fromJson(String, boolean) instead
    org.apache.iceberg.FileScanTaskParser.toJson(FileScanTask)
    will be removed in 1.7.0; use ScanTaskParser.toJson(FileScanTask) instead
    org.apache.iceberg.flink.data.RowDataUtil.clone(RowData, RowData, RowType, TypeSerializer[])
    will be removed in 1.7.0; Not reusing FieldGetter in this method could lead to performance degradation, use RowDataUtil.clone(RowData, RowData, RowType, TypeSerializer[], RowData.FieldGetter[]) instead.
    org.apache.iceberg.flink.FlinkSchemaUtil.convert(TableSchema)
    Use FlinkSchemaUtil.convert(ResolvedSchema) instead.
    org.apache.iceberg.flink.source.FlinkSource.Builder.properties(Map<String, String>)
    Use FlinkSource.Builder.setAll(java.util.Map<java.lang.String, java.lang.String>) instead.
    org.apache.iceberg.flink.source.IcebergSource.Builder.properties(Map<String, String>)
    Use IcebergSource.Builder.setAll(java.util.Map<java.lang.String, java.lang.String>) instead.
    org.apache.iceberg.io.ContentCache.get(String, Function<String, ContentCache.FileContent>)
    will be removed in 1.7; use ContentCache.tryCache(InputFile) instead
    org.apache.iceberg.io.ContentCache.getIfPresent(String)
    will be removed in 1.7; use ContentCache.tryCache(InputFile) instead
    org.apache.iceberg.io.ContentCache.tryCache(FileIO, String, long)
    will be removed in 1.7; use ContentCache.tryCache(InputFile) instead
    org.apache.iceberg.metrics.DefaultMetricsContext.counter(String, Class<T>, MetricsContext.Unit)
    will be removed in 2.0.0, use Counter instead.
    org.apache.iceberg.metrics.MetricsContext.counter(String, Class<T>, MetricsContext.Unit)
    will be removed in 2.0.0, use MetricsContext.counter(String, Unit) instead.
    org.apache.iceberg.metrics.MetricsContext.Counter.count()
    Use MetricsContext.Counter.value()
    org.apache.iceberg.MetricsConfig.fromProperties(Map<String, String>)
    use MetricsConfig.forTable(Table)
    org.apache.iceberg.parquet.Parquet.ReadBuilder.callInit()
    will be removed in 2.0.0; use Parquet.ReadBuilder.createReaderFunc(Function) instead
    org.apache.iceberg.parquet.Parquet.ReadBuilder.readSupport(ReadSupport<?>)
    will be removed in 2.0.0; use Parquet.ReadBuilder.createReaderFunc(Function) instead
    org.apache.iceberg.RewriteFiles.rewriteFiles(Set<DataFile>, Set<DataFile>)
    since 1.3.0, will be removed in 2.0.0
    org.apache.iceberg.RewriteFiles.rewriteFiles(Set<DataFile>, Set<DataFile>, long)
    since 1.3.0, will be removed in 2.0.0
    org.apache.iceberg.RewriteFiles.rewriteFiles(Set<DataFile>, Set<DeleteFile>, Set<DataFile>, Set<DeleteFile>)
    since 1.3.0, will be removed in 2.0.0
    org.apache.iceberg.TableScan.appendsAfter(long)
    since 1.0.0, will be removed in 2.0.0; use Table.newIncrementalAppendScan() instead.
    org.apache.iceberg.TableScan.appendsBetween(long, long)
    since 1.0.0, will be removed in 2.0.0; use Table.newIncrementalAppendScan() instead.
    org.apache.iceberg.transforms.Transform.apply(S)
    use Transform.bind(Type) instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transform.toHumanString(T)
    use Transform.toHumanString(Type, Object) instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.bucket(Type, int)
    use Transforms.bucket(int) instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.day(Type)
    use Transforms.day() instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.hour(Type)
    use Transforms.hour() instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.identity(Type)
    use Transforms.identity() instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.month(Type)
    use Transforms.month() instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.truncate(Type, int)
    use Transforms.truncate(int) instead; will be removed in 2.0.0
    org.apache.iceberg.transforms.Transforms.year(Type)
    use Transforms.year() instead; will be removed in 2.0.0
    org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsLexer.getTokenNames()
    org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsParser.getTokenNames()
  • Deprecated Constructors
    Constructor
    Description
    org.apache.iceberg.rest.auth.OAuth2Util.AuthSession(Map<String, String>, String, String, String, String, String)
    since 1.6.0, will be removed in 1.7.0