-
- 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 GActiveDomStat extends PersistentBase implements SpecificRecord, Persistent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGActiveDomStat.FieldEnum containing all data bean's fields.
public classGActiveDomStat.BuilderRecordBuilder for GActiveDomStat instances.
public final classGActiveDomStat.Tombstone
-
Method Summary
Modifier and Type Method Description voidsetNi(Integer value)Sets the value of the 'ni' field. voidsetNa(Integer value)Sets the value of the 'na' field. voidsetNnm(Integer value)Sets the value of the 'nnm' field. voidsetNst(Integer value)Sets the value of the 'nst' field. voidsetW(Integer value)Sets the value of the 'w' field. voidsetH(Integer value)Sets the value of the 'h' field. intgetFieldsCount()Gets the total field count. SchemagetSchema()Objectget(int field$)voidput(int field$, Object value)booleanisNiDirty()Checks the dirty status of the 'ni' field. booleanisNaDirty()Checks the dirty status of the 'na' field. booleanisNnmDirty()Checks the dirty status of the 'nnm' field. booleanisNstDirty()Checks the dirty status of the 'nst' field. booleanisWDirty()Checks the dirty status of the 'w' field. booleanisHDirty()Checks the dirty status of the 'h' field. static GActiveDomStat.BuildernewBuilder()Creates a new GActiveDomStat RecordBuilder static GActiveDomStat.BuildernewBuilder(GActiveDomStat.Builder other)Creates a new GActiveDomStat RecordBuilder by copying an existing Builder static GActiveDomStat.BuildernewBuilder(GActiveDomStat other)Creates a new GActiveDomStat RecordBuilder by copying an existing GActiveDomStat instance GActiveDomStat.TombstonegetTombstone()GActiveDomStatnewInstance()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
-
setNi
void setNi(Integer value)
Sets the value of the 'ni' field.
- Parameters:
value- the value to set.
-
setNa
void setNa(Integer value)
Sets the value of the 'na' field.
- Parameters:
value- the value to set.
-
setNnm
void setNnm(Integer value)
Sets the value of the 'nnm' field.
- Parameters:
value- the value to set.
-
setNst
void setNst(Integer value)
Sets the value of the 'nst' field.
- Parameters:
value- the value to set.
-
setW
void setW(Integer value)
Sets the value of the 'w' field.
- Parameters:
value- the value to set.
-
setH
void setH(Integer value)
Sets the value of the 'h' field.
- Parameters:
value- the value to set.
-
getFieldsCount
int getFieldsCount()
Gets the total field count.
-
getSchema
Schema getSchema()
-
isNiDirty
boolean isNiDirty()
Checks the dirty status of the 'ni' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isNaDirty
boolean isNaDirty()
Checks the dirty status of the 'na' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isNnmDirty
boolean isNnmDirty()
Checks the dirty status of the 'nnm' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isNstDirty
boolean isNstDirty()
Checks the dirty status of the 'nst' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isWDirty
boolean isWDirty()
Checks the dirty status of the 'w' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isHDirty
boolean isHDirty()
Checks the dirty status of the 'h' field. A field is dirty if it represents a change that has not yet been written to the database.
-
newBuilder
static GActiveDomStat.Builder newBuilder()
Creates a new GActiveDomStat RecordBuilder
-
newBuilder
static GActiveDomStat.Builder newBuilder(GActiveDomStat.Builder other)
Creates a new GActiveDomStat RecordBuilder by copying an existing Builder
-
newBuilder
static GActiveDomStat.Builder newBuilder(GActiveDomStat other)
Creates a new GActiveDomStat RecordBuilder by copying an existing GActiveDomStat instance
-
getTombstone
GActiveDomStat.Tombstone getTombstone()
-
newInstance
GActiveDomStat 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.
-
-
-
-