public class DataWritten extends java.lang.Object implements Payload
Constructor and Description |
---|
DataWritten(org.apache.avro.Schema avroSchema) |
DataWritten(Types.StructType partitionType,
java.util.UUID commitId,
TableReference tableReference,
java.util.List<DataFile> dataFiles,
java.util.List<DeleteFile> deleteFiles) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
commitId() |
java.util.List<DataFile> |
dataFiles() |
java.util.List<DeleteFile> |
deleteFiles() |
java.lang.Object |
get(int i) |
org.apache.avro.Schema |
getSchema() |
void |
put(int i,
java.lang.Object v) |
TableReference |
tableReference() |
PayloadType |
type() |
Types.StructType |
writeSchema() |
public DataWritten(org.apache.avro.Schema avroSchema)
public DataWritten(Types.StructType partitionType, java.util.UUID commitId, TableReference tableReference, java.util.List<DataFile> dataFiles, java.util.List<DeleteFile> deleteFiles)
public PayloadType type()
public java.util.UUID commitId()
public TableReference tableReference()
public java.util.List<DataFile> dataFiles()
public java.util.List<DeleteFile> deleteFiles()
public Types.StructType writeSchema()
writeSchema
in interface Payload
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public void put(int i, java.lang.Object v)
put
in interface org.apache.avro.generic.IndexedRecord
public java.lang.Object get(int i)
get
in interface org.apache.avro.generic.IndexedRecord