public class ProtocolStatus
extends org.apache.gora.persistency.impl.PersistentBase
implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolStatus.Builder
RecordBuilder for ProtocolStatus instances.
|
static class |
ProtocolStatus.Field
Enum containing all data bean's fields.
|
static class |
ProtocolStatus.Tombstone |
| Modifier and Type | Field and Description |
|---|---|
static String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
ProtocolStatus() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
List<CharSequence> |
getArgs()
Gets the value of the 'args' field.
|
Integer |
getCode()
Gets the value of the 'code' field.
|
int |
getFieldsCount()
Gets the total field count.
|
Long |
getLastModified()
Gets the value of the 'lastModified' field.
|
org.apache.avro.Schema |
getSchema() |
ProtocolStatus.Tombstone |
getTombstone() |
boolean |
isArgsDirty(List<CharSequence> value)
Checks the dirty status of the 'args' field.
|
boolean |
isCodeDirty(Integer value)
Checks the dirty status of the 'code' field.
|
boolean |
isLastModifiedDirty(Long value)
Checks the dirty status of the 'lastModified' field.
|
boolean |
isSuccess()
A convenience method which returns a successful
ProtocolStatus. |
static ProtocolStatus.Builder |
newBuilder()
Creates a new ProtocolStatus RecordBuilder
|
static ProtocolStatus.Builder |
newBuilder(ProtocolStatus.Builder other)
Creates a new ProtocolStatus RecordBuilder by copying an existing Builder
|
static ProtocolStatus.Builder |
newBuilder(ProtocolStatus other)
Creates a new ProtocolStatus RecordBuilder by copying an existing
ProtocolStatus instance
|
ProtocolStatus |
newInstance() |
void |
put(int field$,
Object value) |
void |
setArgs(List<CharSequence> value)
Sets the value of the 'args' field.
|
void |
setCode(Integer value)
Sets the value of the 'code' field.
|
void |
setLastModified(Long value)
Sets the value of the 'lastModified' field.
|
clear, clearDirty, clearDirty, clearDirty, equals, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirtycompareTo, get, hashCode, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final org.apache.avro.Schema SCHEMA$
public static final String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount in class org.apache.gora.persistency.impl.PersistentBasepublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Integer getCode()
public void setCode(Integer value)
public boolean isCodeDirty(Integer value)
public List<CharSequence> getArgs()
public void setArgs(List<CharSequence> value)
public boolean isArgsDirty(List<CharSequence> value)
public Long getLastModified()
public void setLastModified(Long value)
public boolean isLastModifiedDirty(Long value)
public static ProtocolStatus.Builder newBuilder()
public static ProtocolStatus.Builder newBuilder(ProtocolStatus.Builder other)
public static ProtocolStatus.Builder newBuilder(ProtocolStatus other)
public ProtocolStatus.Tombstone getTombstone()
getTombstone in interface org.apache.gora.persistency.Persistentpublic ProtocolStatus newInstance()
newInstance in interface org.apache.gora.persistency.Persistentpublic boolean isSuccess()
ProtocolStatus.ProtocolStatus value for 200 (success).Copyright © 2015 The Apache Software Foundation