public static class OplogItem.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<OplogItem> implements org.apache.avro.data.RecordBuilder<OplogItem>
| Modifier and Type | Method and Description |
|---|---|
OplogItem |
build() |
OplogItem.Builder |
clearChangeId()
Clears the value of the 'changeId' field
|
OplogItem.Builder |
clearDocument()
Clears the value of the 'document' field
|
OplogItem.Builder |
clearNamespace()
Clears the value of the 'namespace' field
|
OplogItem.Builder |
clearOperation()
Clears the value of the 'operation' field
|
OplogItem.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
OplogItem.Builder |
clearVersion()
Clears the value of the 'version' field
|
java.lang.Long |
getChangeId()
Gets the value of the 'changeId' field
|
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
|
java.lang.CharSequence |
getTimestamp()
Gets the value of the 'timestamp' field
|
java.lang.Integer |
getVersion()
Gets the value of the 'version' field
|
boolean |
hasChangeId()
Checks whether the 'changeId' field has been set
|
boolean |
hasDocument()
Checks whether the 'document' field has been set
|
boolean |
hasNamespace()
Checks whether the 'namespace' field has been set
|
boolean |
hasOperation()
Checks whether the 'operation' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
boolean |
hasVersion()
Checks whether the 'version' field has been set
|
OplogItem.Builder |
setChangeId(long value)
Sets the value of the 'changeId' field
|
OplogItem.Builder |
setDocument(java.lang.CharSequence value)
Sets the value of the 'document' field
|
OplogItem.Builder |
setNamespace(java.lang.CharSequence value)
Sets the value of the 'namespace' field
|
OplogItem.Builder |
setOperation(java.lang.CharSequence value)
Sets the value of the 'operation' field
|
OplogItem.Builder |
setTimestamp(java.lang.CharSequence value)
Sets the value of the 'timestamp' field
|
OplogItem.Builder |
setVersion(int value)
Sets the value of the 'version' field
|
public java.lang.CharSequence getTimestamp()
public OplogItem.Builder setTimestamp(java.lang.CharSequence value)
public boolean hasTimestamp()
public OplogItem.Builder clearTimestamp()
public java.lang.Long getChangeId()
public OplogItem.Builder setChangeId(long value)
public boolean hasChangeId()
public OplogItem.Builder clearChangeId()
public java.lang.Integer getVersion()
public OplogItem.Builder setVersion(int value)
public boolean hasVersion()
public OplogItem.Builder clearVersion()
public java.lang.CharSequence getOperation()
public OplogItem.Builder setOperation(java.lang.CharSequence value)
public boolean hasOperation()
public OplogItem.Builder clearOperation()
public java.lang.CharSequence getNamespace()
public OplogItem.Builder setNamespace(java.lang.CharSequence value)
public boolean hasNamespace()
public OplogItem.Builder clearNamespace()
public java.lang.CharSequence getDocument()
public OplogItem.Builder setDocument(java.lang.CharSequence value)
public boolean hasDocument()
public OplogItem.Builder clearDocument()