public class TopicPartitionOffset
extends java.lang.Object
implements org.apache.avro.generic.IndexedRecord
| Modifier and Type | Field and Description |
|---|---|
static Types.StructType |
ICEBERG_SCHEMA |
| Constructor and Description |
|---|
TopicPartitionOffset(org.apache.avro.Schema avroSchema) |
TopicPartitionOffset(java.lang.String topic,
int partition,
java.lang.Long offset,
java.time.OffsetDateTime timestamp) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int i) |
org.apache.avro.Schema |
getSchema() |
java.lang.Long |
offset() |
java.lang.Integer |
partition() |
void |
put(int i,
java.lang.Object v) |
java.time.OffsetDateTime |
timestamp() |
java.lang.String |
topic() |
public static final Types.StructType ICEBERG_SCHEMA
public TopicPartitionOffset(org.apache.avro.Schema avroSchema)
public TopicPartitionOffset(java.lang.String topic,
int partition,
java.lang.Long offset,
java.time.OffsetDateTime timestamp)
public java.lang.String topic()
public java.lang.Integer partition()
public java.lang.Long offset()
public java.time.OffsetDateTime timestamp()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic void put(int i,
java.lang.Object v)
put in interface org.apache.avro.generic.IndexedRecordpublic java.lang.Object get(int i)
get in interface org.apache.avro.generic.IndexedRecord