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.CharSequence |
document
Deprecated.
|
java.lang.CharSequence |
namespace
Deprecated.
|
java.lang.CharSequence |
operation
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
java.lang.CharSequence |
timestamp
Deprecated.
|
int |
version
Deprecated.
|
| Constructor and Description |
|---|
OplogItem()
Default constructor.
|
OplogItem(java.lang.CharSequence timestamp,
java.lang.Long changeId,
java.lang.Integer version,
java.lang.CharSequence operation,
java.lang.CharSequence namespace,
java.lang.CharSequence 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.CharSequence |
getDocument()
Gets the value of the 'document' field.
|
java.lang.CharSequence |
getNamespace()
Gets the value of the 'namespace' field.
|
java.lang.CharSequence |
getOperation()
Gets the value of the 'operation' field.
|
org.apache.avro.Schema |
getSchema() |
java.lang.CharSequence |
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.CharSequence value)
Sets the value of the 'document' field.
|
void |
setNamespace(java.lang.CharSequence value)
Sets the value of the 'namespace' field.
|
void |
setOperation(java.lang.CharSequence value)
Sets the value of the 'operation' field.
|
void |
setTimestamp(java.lang.CharSequence 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.CharSequence timestamp
@Deprecated public long changeId
@Deprecated public int version
@Deprecated public java.lang.CharSequence operation
@Deprecated public java.lang.CharSequence namespace
@Deprecated public java.lang.CharSequence document
public OplogItem()
newBuilder().public OplogItem(java.lang.CharSequence timestamp,
java.lang.Long changeId,
java.lang.Integer version,
java.lang.CharSequence operation,
java.lang.CharSequence namespace,
java.lang.CharSequence 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.CharSequence getTimestamp()
public void setTimestamp(java.lang.CharSequence 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.CharSequence getOperation()
public void setOperation(java.lang.CharSequence value)
value - the value to set.public java.lang.CharSequence getNamespace()
public void setNamespace(java.lang.CharSequence value)
value - the value to set.public java.lang.CharSequence getDocument()
public void setDocument(java.lang.CharSequence 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)