public class ParseStatus
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 |
ParseStatus.Builder
RecordBuilder for ParseStatus instances.
|
static class |
ParseStatus.Field
Enum containing all data bean's fields.
|
static class |
ParseStatus.Tombstone |
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
ParseStatus() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int field$) |
java.util.List<java.lang.CharSequence> |
getArgs()
Gets the value of the 'args' field.
|
int |
getFieldsCount()
Gets the total field count.
|
java.lang.Integer |
getMajorCode()
Gets the value of the 'majorCode' field.
|
java.lang.Integer |
getMinorCode()
Gets the value of the 'minorCode' field.
|
org.apache.avro.Schema |
getSchema() |
ParseStatus.Tombstone |
getTombstone() |
boolean |
isArgsDirty()
Checks the dirty status of the 'args' field.
|
boolean |
isMajorCodeDirty()
Checks the dirty status of the 'majorCode' field.
|
boolean |
isMinorCodeDirty()
Checks the dirty status of the 'minorCode' field.
|
static ParseStatus.Builder |
newBuilder()
Creates a new ParseStatus RecordBuilder
|
static ParseStatus.Builder |
newBuilder(ParseStatus.Builder other)
Creates a new ParseStatus RecordBuilder by copying an existing Builder
|
static ParseStatus.Builder |
newBuilder(ParseStatus other)
Creates a new ParseStatus RecordBuilder by copying an existing ParseStatus instance
|
ParseStatus |
newInstance() |
void |
put(int field$,
java.lang.Object value) |
void |
readExternal(java.io.ObjectInput in)
Reads AVRO data bean from input stream in it s AVRO Binary encoding format to Java object format.
|
void |
setArgs(java.util.List<java.lang.CharSequence> value)
Sets the value of the 'args' field.
|
void |
setMajorCode(java.lang.Integer value)
Sets the value of the 'majorCode' field.
|
void |
setMinorCode(java.lang.Integer value)
Sets the value of the 'minorCode' field.
|
void |
writeExternal(java.io.ObjectOutput out)
Writes AVRO data bean to output stream in the form of AVRO Binary encoding format.
|
clear, clearDirty, clearDirty, clearDirty, equals, getDirtyBytes, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirty, setDirtyBytes
compareTo, get, getConverion, getConversion, hashCode, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final org.apache.avro.Schema SCHEMA$
public static final java.lang.String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount
in class org.apache.gora.persistency.impl.PersistentBase
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public java.lang.Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, java.lang.Object value)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public java.lang.Integer getMajorCode()
public void setMajorCode(java.lang.Integer value)
public boolean isMajorCodeDirty()
public java.lang.Integer getMinorCode()
public void setMinorCode(java.lang.Integer value)
public boolean isMinorCodeDirty()
public java.util.List<java.lang.CharSequence> getArgs()
public void setArgs(java.util.List<java.lang.CharSequence> value)
public boolean isArgsDirty()
public static ParseStatus.Builder newBuilder()
public static ParseStatus.Builder newBuilder(ParseStatus.Builder other)
public static ParseStatus.Builder newBuilder(ParseStatus other)
public ParseStatus.Tombstone getTombstone()
getTombstone
in interface org.apache.gora.persistency.Persistent
public ParseStatus newInstance()
newInstance
in interface org.apache.gora.persistency.Persistent
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
out
- java.io.ObjectOutput output stream to write data bean in serializable formjava.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
in
- java.io.ObjectOutput input stream to read data bean in serializable formjava.io.IOException
Copyright © 2019 The Apache Software Foundation