public class GEdge
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 |
GEdge.Builder
RecordBuilder for GEdge instances.
|
static class |
GEdge.Field
Enum containing all data bean's fields.
|
static class |
GEdge.Tombstone
Tombstone class.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMAS
Schema used for the class.
|
| Constructor and Description |
|---|
GEdge() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field)
Gets field
|
CharSequence |
getEdgeId()
Gets the value of the 'edgeId' field.
|
Float |
getEdgeWeight()
Gets the value of the 'edgeWeight' field.
|
int |
getFieldsCount()
Gets the total field count.
|
CharSequence |
getLabel()
Gets the value of the 'label' field.
|
org.apache.avro.Schema |
getSchema()
Gets the schema
|
GEdge.Tombstone |
getTombstone()
Gets a tombstone
|
CharSequence |
getVertexInId()
Gets the value of the 'vertexInId' field.
|
CharSequence |
getVertexOutId()
Gets the value of the 'vertexOutId' field.
|
boolean |
isEdgeIdDirty(CharSequence value)
Checks the dirty status of the 'edgeId' field.
|
boolean |
isEdgeWeightDirty(Float value)
Checks the dirty status of the 'edgeWeight' field.
|
boolean |
isLabelDirty(CharSequence value)
Checks the dirty status of the 'label' field.
|
boolean |
isVertexInIdDirty(CharSequence value)
Checks the dirty status of the 'vertexInId' field.
|
boolean |
isVertexOutIdDirty(CharSequence value)
Checks the dirty status of the 'vertexOutId' field.
|
static GEdge.Builder |
newBuilder()
Creates a new GEdge RecordBuilder.
|
static GEdge.Builder |
newBuilder(GEdge.Builder other)
Creates a new GEdge RecordBuilder by copying an existing Builder
|
static GEdge.Builder |
newBuilder(GEdge other)
Creates a new GEdge RecordBuilder by copying an existing GEdge instance.
|
GEdge |
newInstance()
Gets a new instance
|
void |
put(int field,
Object value)
Puts a value into a field.
|
void |
setEdgeId(CharSequence value)
Sets the value of the 'edgeId' field.
|
void |
setEdgeWeight(Float value)
Sets the value of the 'edgeWeight' field.
|
void |
setLabel(CharSequence value)
Sets the value of the 'label' field.
|
void |
setVertexInId(CharSequence value)
Sets the value of the 'vertexInId' field.
|
void |
setVertexOutId(CharSequence value)
Sets the value of the 'vertexOutId' field.
|
clear, clearDirty, clearDirty, clearDirty, equals, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirtycompareTo, get, hashCode, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.SpecificRecordBasefield - index field.public void put(int field,
Object value)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasefield - index of field used.value - value of field used.public CharSequence getEdgeId()
public void setEdgeId(CharSequence value)
value - the value to set.public boolean isEdgeIdDirty(CharSequence value)
value - the value to set.public Float getEdgeWeight()
public void setEdgeWeight(Float value)
value - the value to set.public boolean isEdgeWeightDirty(Float value)
value - the value to set.public CharSequence getVertexInId()
public void setVertexInId(CharSequence value)
value - the value to set.public boolean isVertexInIdDirty(CharSequence value)
value - the value to set.public CharSequence getVertexOutId()
public void setVertexOutId(CharSequence value)
value - the value to set.public boolean isVertexOutIdDirty(CharSequence value)
value - the value to set.public CharSequence getLabel()
public void setLabel(CharSequence value)
value - the value to set.public boolean isLabelDirty(CharSequence value)
value - the value to set.public static GEdge.Builder newBuilder()
public static GEdge.Builder newBuilder(GEdge.Builder other)
other - GEdge.Builderpublic static GEdge.Builder newBuilder(GEdge other)
other - GEdgepublic GEdge.Tombstone getTombstone()
getTombstone in interface org.apache.gora.persistency.Persistentpublic GEdge newInstance()
newInstance in interface org.apache.gora.persistency.PersistentCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.