public class FulgoraMemory extends Object implements org.apache.tinkerpop.gremlin.process.computer.Memory.Admin
| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
currentMap |
Set<String> |
memoryKeys |
Map<String,Object> |
previousMap |
| Constructor and Description |
|---|
FulgoraMemory(org.apache.tinkerpop.gremlin.process.computer.VertexProgram<?> vertexProgram,
Set<org.apache.tinkerpop.gremlin.process.computer.MapReduce> mapReducers) |
| Modifier and Type | Method and Description |
|---|---|
void |
and(String key,
boolean bool) |
protected void |
complete() |
protected void |
completeSubRound() |
<R> R |
get(String key) |
int |
getIteration() |
long |
getRuntime() |
void |
incr(String key,
long delta) |
void |
incrIteration() |
boolean |
isInitialIteration() |
Set<String> |
keys() |
void |
or(String key,
boolean bool) |
void |
set(String key,
Object value) |
void |
setIteration(int iteration) |
void |
setRuntime(long runTime) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic FulgoraMemory(org.apache.tinkerpop.gremlin.process.computer.VertexProgram<?> vertexProgram,
Set<org.apache.tinkerpop.gremlin.process.computer.MapReduce> mapReducers)
public Set<String> keys()
keys in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic void incrIteration()
incrIteration in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Adminpublic void setIteration(int iteration)
setIteration in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Adminpublic int getIteration()
getIteration in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic void setRuntime(long runTime)
setRuntime in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Adminpublic long getRuntime()
getRuntime in interface org.apache.tinkerpop.gremlin.process.computer.Memoryprotected void complete()
protected void completeSubRound()
public boolean isInitialIteration()
isInitialIteration in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic <R> R get(String key) throws IllegalArgumentException
get in interface org.apache.tinkerpop.gremlin.process.computer.MemoryIllegalArgumentExceptionpublic void incr(String key, long delta)
incr in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic void and(String key, boolean bool)
and in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic void or(String key, boolean bool)
or in interface org.apache.tinkerpop.gremlin.process.computer.Memorypublic void set(String key, Object value)
set in interface org.apache.tinkerpop.gremlin.process.computer.MemoryCopyright © 2012–2015. All rights reserved.