public class CommitComplete extends java.lang.Object implements Payload
Constructor and Description |
---|
CommitComplete(org.apache.avro.Schema avroSchema) |
CommitComplete(java.util.UUID commitId,
java.time.OffsetDateTime validThroughTs) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
commitId() |
java.lang.Object |
get(int i) |
org.apache.avro.Schema |
getSchema() |
void |
put(int i,
java.lang.Object v) |
PayloadType |
type() |
java.time.OffsetDateTime |
validThroughTs()
Valid-through timestamp, which is the min-of-max record timestamps across all workers for the
commit.
|
Types.StructType |
writeSchema() |
public CommitComplete(org.apache.avro.Schema avroSchema)
public CommitComplete(java.util.UUID commitId, java.time.OffsetDateTime validThroughTs)
public PayloadType type()
public java.util.UUID commitId()
public java.time.OffsetDateTime validThroughTs()
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