Package org.apache.iceberg.avro
Class Avro.DeleteWriteBuilder
- java.lang.Object
-
- org.apache.iceberg.avro.Avro.DeleteWriteBuilder
-
- Enclosing class:
- Avro
public static class Avro.DeleteWriteBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
forTable
public Avro.DeleteWriteBuilder forTable(Table table)
-
set
public Avro.DeleteWriteBuilder set(java.lang.String property, java.lang.String value)
-
setAll
public Avro.DeleteWriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
-
meta
public Avro.DeleteWriteBuilder meta(java.lang.String property, java.lang.String value)
-
meta
public Avro.DeleteWriteBuilder meta(java.util.Map<java.lang.String,java.lang.String> properties)
-
overwrite
public Avro.DeleteWriteBuilder overwrite()
-
overwrite
public Avro.DeleteWriteBuilder overwrite(boolean enabled)
-
metricsConfig
public Avro.DeleteWriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
-
createWriterFunc
public Avro.DeleteWriteBuilder createWriterFunc(java.util.function.Function<org.apache.avro.Schema,org.apache.avro.io.DatumWriter<?>> writerFunction)
-
rowSchema
public Avro.DeleteWriteBuilder rowSchema(Schema newRowSchema)
-
withSpec
public Avro.DeleteWriteBuilder withSpec(PartitionSpec newSpec)
-
withPartition
public Avro.DeleteWriteBuilder withPartition(StructLike key)
-
withKeyMetadata
public Avro.DeleteWriteBuilder withKeyMetadata(EncryptionKeyMetadata metadata)
-
equalityFieldIds
public Avro.DeleteWriteBuilder equalityFieldIds(java.util.List<java.lang.Integer> fieldIds)
-
equalityFieldIds
public Avro.DeleteWriteBuilder equalityFieldIds(int... fieldIds)
-
withSortOrder
public Avro.DeleteWriteBuilder withSortOrder(SortOrder newSortOrder)
-
buildEqualityWriter
public <T> EqualityDeleteWriter<T> buildEqualityWriter() throws java.io.IOException
- Throws:
java.io.IOException
-
buildPositionWriter
public <T> PositionDeleteWriter<T> buildPositionWriter() throws java.io.IOException
- Throws:
java.io.IOException
-
-