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.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
|
java.lang.String |
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.String value)
Sets the value of the 'document' field
|
OplogItem.Builder |
setNamespace(java.lang.String value)
Sets the value of the 'namespace' field
|
OplogItem.Builder |
setOperation(java.lang.String value)
Sets the value of the 'operation' field
|
OplogItem.Builder |
setTimestamp(java.lang.String value)
Sets the value of the 'timestamp' field
|
OplogItem.Builder |
setVersion(int value)
Sets the value of the 'version' field
|
public java.lang.String getTimestamp()
public OplogItem.Builder setTimestamp(java.lang.String 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.String getOperation()
public OplogItem.Builder setOperation(java.lang.String value)
public boolean hasOperation()
public OplogItem.Builder clearOperation()
public java.lang.String getNamespace()
public OplogItem.Builder setNamespace(java.lang.String value)
public boolean hasNamespace()
public OplogItem.Builder clearNamespace()
public java.lang.String getDocument()
public OplogItem.Builder setDocument(java.lang.String value)
public boolean hasDocument()
public OplogItem.Builder clearDocument()