public class GEdgeResult
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 |
GEdgeResult.Builder
RecordBuilder for GEdgeResult instances.
|
static class |
GEdgeResult.Field
Enum containing all data bean's fields.
|
static class |
GEdgeResult.Tombstone
Tombstone class.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMAS
Schema used for the class.
|
| Constructor and Description |
|---|
GEdgeResult() |
| 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
|
GEdgeResult.Tombstone |
getTombstone()
Gets 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 GEdgeResult.Builder |
newBuilder()
Creates a new GEdgeResult RecordBuilder.
|
static GEdgeResult.Builder |
newBuilder(GEdgeResult.Builder other)
Creates a new GEdgeResult RecordBuilder by copying an existing Builder.
|
static GEdgeResult.Builder |
newBuilder(GEdgeResult other)
Creates a new GEdgeResult RecordBuilder by copying an existing GEdgeResult
instance
|
GEdgeResult |
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 GEdgeResult.Builder newBuilder()
public static GEdgeResult.Builder newBuilder(GEdgeResult.Builder other)
other - GEdgeResult.Builderpublic static GEdgeResult.Builder newBuilder(GEdgeResult other)
other - GEdgeResultpublic GEdgeResult.Tombstone getTombstone()
getTombstone in interface org.apache.gora.persistency.Persistentpublic GEdgeResult newInstance()
newInstance in interface org.apache.gora.persistency.PersistentCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.