public class CommitToTable extends java.lang.Object implements Payload
Constructor and Description |
---|
CommitToTable(org.apache.avro.Schema avroSchema) |
CommitToTable(java.util.UUID commitId,
TableReference tableReference,
java.lang.Long snapshotId,
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) |
java.lang.Long |
snapshotId() |
TableReference |
tableReference() |
PayloadType |
type() |
java.time.OffsetDateTime |
validThroughTs() |
Types.StructType |
writeSchema() |
public CommitToTable(org.apache.avro.Schema avroSchema)
public CommitToTable(java.util.UUID commitId, TableReference tableReference, java.lang.Long snapshotId, java.time.OffsetDateTime validThroughTs)
public PayloadType type()
public java.util.UUID commitId()
public TableReference tableReference()
public java.lang.Long snapshotId()
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