public class OplogItem
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
OplogItem.Builder
RecordBuilder for OplogItem instances.
|
| Modifier and Type | Field and Description |
|---|---|
long |
changeId
Deprecated.
|
java.lang.String |
document
Deprecated.
|
java.lang.String |
namespace
Deprecated.
|
java.lang.String |
operation
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
java.lang.String |
timestamp
Deprecated.
|
int |
version
Deprecated.
|
| Constructor and Description |
|---|
OplogItem()
Default constructor.
|
OplogItem(java.lang.String timestamp,
java.lang.Long changeId,
java.lang.Integer version,
java.lang.String operation,
java.lang.String namespace,
java.lang.String document)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
java.lang.Long |
getChangeId()
Gets the value of the 'changeId' field.
|
static org.apache.avro.Schema |
getClassSchema() |
java.lang.String |
getDocument()
Gets the value of the 'document' field.
|
java.lang.String |
getNamespace()
Gets the value of the 'namespace' field.
|
java.lang.String |
getOperation()
Gets the value of the 'operation' field.
|
org.apache.avro.Schema |
getSchema() |
java.lang.String |
getTimestamp()
Gets the value of the 'timestamp' field.
|
java.lang.Integer |
getVersion()
Gets the value of the 'version' field.
|
static OplogItem.Builder |
newBuilder()
Creates a new OplogItem RecordBuilder
|
static OplogItem.Builder |
newBuilder(OplogItem.Builder other)
Creates a new OplogItem RecordBuilder by copying an existing Builder
|
static OplogItem.Builder |
newBuilder(OplogItem other)
Creates a new OplogItem RecordBuilder by copying an existing OplogItem instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setChangeId(java.lang.Long value)
Sets the value of the 'changeId' field.
|
void |
setDocument(java.lang.String value)
Sets the value of the 'document' field.
|
void |
setNamespace(java.lang.String value)
Sets the value of the 'namespace' field.
|
void |
setOperation(java.lang.String value)
Sets the value of the 'operation' field.
|
void |
setTimestamp(java.lang.String value)
Sets the value of the 'timestamp' field.
|
void |
setVersion(java.lang.Integer value)
Sets the value of the 'version' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public java.lang.String timestamp
@Deprecated public long changeId
@Deprecated public int version
@Deprecated public java.lang.String operation
@Deprecated public java.lang.String namespace
@Deprecated public java.lang.String document
public OplogItem()
newBuilder().public OplogItem(java.lang.String timestamp,
java.lang.Long changeId,
java.lang.Integer version,
java.lang.String operation,
java.lang.String namespace,
java.lang.String document)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
java.lang.Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.String getTimestamp()
public void setTimestamp(java.lang.String value)
value - the value to set.public java.lang.Long getChangeId()
public void setChangeId(java.lang.Long value)
value - the value to set.public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer value)
value - the value to set.public java.lang.String getOperation()
public void setOperation(java.lang.String value)
value - the value to set.public java.lang.String getNamespace()
public void setNamespace(java.lang.String value)
value - the value to set.public java.lang.String getDocument()
public void setDocument(java.lang.String value)
value - the value to set.public static OplogItem.Builder newBuilder()
public static OplogItem.Builder newBuilder(OplogItem.Builder other)
public static OplogItem.Builder newBuilder(OplogItem other)