-
- All Implemented Interfaces:
-
java.io.Externalizable,java.io.Serializable,java.lang.Comparable,org.apache.avro.generic.GenericContainer,org.apache.avro.generic.GenericRecord,org.apache.avro.generic.IndexedRecord,org.apache.avro.specific.SpecificRecord,org.apache.gora.persistency.Dirtyable,org.apache.gora.persistency.Persistent
public class GParseStatus extends PersistentBase implements SpecificRecord, Persistent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGParseStatus.FieldEnum containing all data bean's fields.
public classGParseStatus.BuilderRecordBuilder for GParseStatus instances.
public final classGParseStatus.Tombstone
-
Field Summary
Fields Modifier and Type Field Description public final static SchemaSCHEMA$public final static Array<String>_ALL_FIELDSprivate intmajorCodeprivate intminorCodeprivate Map<CharSequence, CharSequence>args
-
Method Summary
Modifier and Type Method Description voidsetMajorCode(Integer value)Sets the value of the 'majorCode' field. voidsetMinorCode(Integer value)Sets the value of the 'minorCode' field. Map<CharSequence, CharSequence>getArgs()Gets the value of the 'args' field. voidsetArgs(Map<CharSequence, CharSequence> value)Sets the value of the 'args' field. intgetFieldsCount()Gets the total field count. SchemagetSchema()Objectget(int field$)voidput(int field$, Object value)booleanisMajorCodeDirty()Checks the dirty status of the 'majorCode' field. booleanisMinorCodeDirty()Checks the dirty status of the 'minorCode' field. booleanisArgsDirty()Checks the dirty status of the 'args' field. static GParseStatus.BuildernewBuilder()Creates a new GParseStatus RecordBuilder static GParseStatus.BuildernewBuilder(GParseStatus.Builder other)Creates a new GParseStatus RecordBuilder by copying an existing Builder static GParseStatus.BuildernewBuilder(GParseStatus other)Creates a new GParseStatus RecordBuilder by copying an existing GParseStatus instance GParseStatus.TombstonegetTombstone()GParseStatusnewInstance()voidwriteExternal(ObjectOutput out)Writes AVRO data bean to output stream in the form of AVRO Binary encoding format. voidreadExternal(ObjectInput in)Reads AVRO data bean from input stream in it s AVRO Binary encoding format to Java object format.This will transform AVRO data bean from it s serializable form to deserialized Java object form. -
Methods inherited from class org.apache.gora.persistency.impl.PersistentBase
clear, clearDirty, equals, getDirtyBytes, getFieldsCount, getUnmanagedFields, isDirty, setDirty, setDirtyBytes -
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, get, getConverion, getConversion, getSchema, hashCode, put, readExternal, toString, writeExternal -
Methods inherited from class org.apache.gora.persistency.Persistent
getTombstone, newInstance -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setMajorCode
void setMajorCode(Integer value)
Sets the value of the 'majorCode' field.
- Parameters:
value- the value to set.
-
setMinorCode
void setMinorCode(Integer value)
Sets the value of the 'minorCode' field.
- Parameters:
value- the value to set.
-
getArgs
Map<CharSequence, CharSequence> getArgs()
Gets the value of the 'args' field.
-
setArgs
void setArgs(Map<CharSequence, CharSequence> value)
Sets the value of the 'args' field.
- Parameters:
value- the value to set.
-
getFieldsCount
int getFieldsCount()
Gets the total field count.
-
getSchema
Schema getSchema()
-
isMajorCodeDirty
boolean isMajorCodeDirty()
Checks the dirty status of the 'majorCode' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isMinorCodeDirty
boolean isMinorCodeDirty()
Checks the dirty status of the 'minorCode' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isArgsDirty
boolean isArgsDirty()
Checks the dirty status of the 'args' field. A field is dirty if it represents a change that has not yet been written to the database.
-
newBuilder
static GParseStatus.Builder newBuilder()
Creates a new GParseStatus RecordBuilder
-
newBuilder
static GParseStatus.Builder newBuilder(GParseStatus.Builder other)
Creates a new GParseStatus RecordBuilder by copying an existing Builder
-
newBuilder
static GParseStatus.Builder newBuilder(GParseStatus other)
Creates a new GParseStatus RecordBuilder by copying an existing GParseStatus instance
-
getTombstone
GParseStatus.Tombstone getTombstone()
-
newInstance
GParseStatus newInstance()
-
writeExternal
void writeExternal(ObjectOutput out)
Writes AVRO data bean to output stream in the form of AVRO Binary encoding format. This will transformAVRO data bean from its Java object form to it s serializable form.
- Parameters:
out- java.io.
-
readExternal
void readExternal(ObjectInput in)
Reads AVRO data bean from input stream in it s AVRO Binary encoding format to Java object format.This will transform AVRO data bean from it s serializable form to deserialized Java object form.
- Parameters:
in- java.io.
-
-
-
-