public class DataComplete extends java.lang.Object implements Payload
Constructor and Description |
---|
DataComplete(org.apache.avro.Schema avroSchema) |
DataComplete(java.util.UUID commitId,
java.util.List<TopicPartitionOffset> assignments) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TopicPartitionOffset> |
assignments() |
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() |
Types.StructType |
writeSchema() |
public DataComplete(org.apache.avro.Schema avroSchema)
public DataComplete(java.util.UUID commitId, java.util.List<TopicPartitionOffset> assignments)
public PayloadType type()
public java.util.UUID commitId()
public java.util.List<TopicPartitionOffset> assignments()
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