-
- 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 GHypeLink extends PersistentBase implements SpecificRecord, Persistent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGHypeLink.FieldEnum containing all data bean's fields.
public classGHypeLink.BuilderRecordBuilder for GHypeLink instances.
public final classGHypeLink.Tombstone
-
Field Summary
Fields Modifier and Type Field Description public final static SchemaSCHEMA$public final static Array<String>_ALL_FIELDSprivate CharSequenceurlprivate CharSequenceanchorprivate intorder
-
Method Summary
Modifier and Type Method Description CharSequencegetUrl()Gets the value of the 'url' field. voidsetUrl(CharSequence value)Sets the value of the 'url' field. CharSequencegetAnchor()Gets the value of the 'anchor' field. voidsetAnchor(CharSequence value)Sets the value of the 'anchor' field. voidsetOrder(Integer value)Sets the value of the 'order' field. intgetFieldsCount()Gets the total field count. SchemagetSchema()Objectget(int field$)voidput(int field$, Object value)booleanisUrlDirty()Checks the dirty status of the 'url' field. booleanisAnchorDirty()Checks the dirty status of the 'anchor' field. booleanisOrderDirty()Checks the dirty status of the 'order' field. static GHypeLink.BuildernewBuilder()Creates a new GHypeLink RecordBuilder static GHypeLink.BuildernewBuilder(GHypeLink.Builder other)Creates a new GHypeLink RecordBuilder by copying an existing Builder static GHypeLink.BuildernewBuilder(GHypeLink other)Creates a new GHypeLink RecordBuilder by copying an existing GHypeLink instance GHypeLink.TombstonegetTombstone()GHypeLinknewInstance()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
-
getUrl
CharSequence getUrl()
Gets the value of the 'url' field.
-
setUrl
void setUrl(CharSequence value)
Sets the value of the 'url' field.
- Parameters:
value- the value to set.
-
getAnchor
CharSequence getAnchor()
Gets the value of the 'anchor' field.
-
setAnchor
void setAnchor(CharSequence value)
Sets the value of the 'anchor' field.
- Parameters:
value- the value to set.
-
setOrder
void setOrder(Integer value)
Sets the value of the 'order' field.
- Parameters:
value- the value to set.
-
getFieldsCount
int getFieldsCount()
Gets the total field count.
-
getSchema
Schema getSchema()
-
isUrlDirty
boolean isUrlDirty()
Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isAnchorDirty
boolean isAnchorDirty()
Checks the dirty status of the 'anchor' field. A field is dirty if it represents a change that has not yet been written to the database.
-
isOrderDirty
boolean isOrderDirty()
Checks the dirty status of the 'order' field. A field is dirty if it represents a change that has not yet been written to the database.
-
newBuilder
static GHypeLink.Builder newBuilder()
Creates a new GHypeLink RecordBuilder
-
newBuilder
static GHypeLink.Builder newBuilder(GHypeLink.Builder other)
Creates a new GHypeLink RecordBuilder by copying an existing Builder
-
newBuilder
static GHypeLink.Builder newBuilder(GHypeLink other)
Creates a new GHypeLink RecordBuilder by copying an existing GHypeLink instance
-
getTombstone
GHypeLink.Tombstone getTombstone()
-
newInstance
GHypeLink 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.
-
-
-
-