public class GVertexResult
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 |
GVertexResult.Builder
RecordBuilder for GVertexResult instances.
|
static class |
GVertexResult.Field
Enum containing all data bean's fields.
|
static class |
GVertexResult.Tombstone
Tombstone class.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMAS
Schema used for the class.
|
| Constructor and Description |
|---|
GVertexResult() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field)
Gets field
|
Map<CharSequence,CharSequence> |
getEdges()
Gets the value of the 'edges' field.
|
int |
getFieldsCount()
Gets the total field count.
|
org.apache.avro.Schema |
getSchema()
Gets the schema
|
GVertexResult.Tombstone |
getTombstone()
Gets tombstone
|
CharSequence |
getVertexId()
Gets the value of the 'vertexId' field.
|
Float |
getVertexValue()
Gets the value of the 'vertexValue' field.
|
boolean |
isEdgesDirty(Map<CharSequence,CharSequence> value)
Checks the dirty status of the 'edges' field.
|
boolean |
isVertexIdDirty(CharSequence value)
Checks the dirty status of the 'vertexId' field.
|
boolean |
isVertexValueDirty(Float value)
Checks the dirty status of the 'vertexValue' field.
|
static GVertexResult.Builder |
newBuilder()
Creates a new GVertexResult RecordBuilder
|
static GVertexResult.Builder |
newBuilder(GVertexResult.Builder other)
Creates a new GVertexResult RecordBuilder by copying an existing Builder.
|
static GVertexResult.Builder |
newBuilder(GVertexResult other)
Creates a new GVertexResult RecordBuilder by copying an existing
GVertexResult instance
|
GVertexResult |
newInstance()
Gets a new instance
|
void |
put(int field,
Object value)
Puts a value into a field.
|
void |
setEdges(Map<CharSequence,CharSequence> value)
Sets the value of the 'edges' field.
|
void |
setVertexId(CharSequence value)
Sets the value of the 'vertexId' field.
|
void |
setVertexValue(Float value)
Sets the value of the 'vertexValue' 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 getVertexId()
public void setVertexId(CharSequence value)
value - the value to set.public boolean isVertexIdDirty(CharSequence value)
value - the value to set.public Float getVertexValue()
public void setVertexValue(Float value)
value - the value to set.public boolean isVertexValueDirty(Float value)
value - the value to set.public Map<CharSequence,CharSequence> getEdges()
public void setEdges(Map<CharSequence,CharSequence> value)
value - the value to set.public boolean isEdgesDirty(Map<CharSequence,CharSequence> value)
value - the value to set.public static GVertexResult.Builder newBuilder()
public static GVertexResult.Builder newBuilder(GVertexResult.Builder other)
other - GVertexResult.Builderpublic static GVertexResult.Builder newBuilder(GVertexResult other)
other - GVertexResultpublic GVertexResult.Tombstone getTombstone()
getTombstone in interface org.apache.gora.persistency.Persistentpublic GVertexResult newInstance()
newInstance in interface org.apache.gora.persistency.PersistentCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.