public abstract class FaunusPathElement extends FaunusElement implements org.apache.hadoop.io.WritableComparable<FaunusElement>, org.apache.hadoop.conf.Configurable
x instanceof Configurable and then calls setConf when true. IOW, implementing
Configurable is important because that's how path elements get their configuration after being reflectively
instantiated with the no-arg constructor.| Modifier and Type | Class and Description |
|---|---|
static class |
FaunusPathElement.MicroElement |
protected static class |
FaunusPathElement.Tracker |
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
configuration |
protected long |
pathCounter |
protected FaunusPathElement.Tracker |
tracker |
FILTER_DELETED_EDGES, FILTER_DELETED_PROPERTIES, id, inAdjacency, NO_ID, outAdjacencylifecycle| Constructor and Description |
|---|
FaunusPathElement(Configuration configuration,
long id) |
FaunusPathElement(long id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(List<FaunusPathElement.MicroElement> path,
boolean append) |
void |
addPaths(List<List<FaunusPathElement.MicroElement>> paths,
boolean append) |
void |
clearPaths() |
org.apache.hadoop.conf.Configuration |
getConf() |
Configuration |
getFaunusConf() |
List<List<FaunusPathElement.MicroElement>> |
getPaths() |
void |
getPaths(FaunusElement element,
boolean append) |
FaunusSchemaManager |
getTypeManager() |
boolean |
hasPaths() |
boolean |
hasTrackPaths() |
long |
incrPath(long amount) |
long |
pathCount() |
FaunusVertexQuery |
query() |
void |
setConf(org.apache.hadoop.conf.Configuration hadoopConf) |
void |
startPath() |
addAllProperties, addRelation, compareTo, equals, getAdjustedMultiplicity, getId, getLongId, getProperty, getProperty, getProperty, getPropertyCollection, getPropertyKeys, getPropertyKeysDirect, hashCode, hasId, initializeAdjacency, isHidden, isModified, it, remove, removeProperty, removeProperty, setId, setProperty, setProperty, setProperty, setProperty, setRelation, txgetLifeCycle, isLoaded, isNew, isRemoved, setLifeCycle, updateLifeCycleclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompareTogetLifeCycleisLoaded, isNew, isRemovedprotected FaunusPathElement.Tracker tracker
protected long pathCounter
protected Configuration configuration
public FaunusPathElement(long id)
public FaunusPathElement(Configuration configuration, long id)
public void setConf(org.apache.hadoop.conf.Configuration hadoopConf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic Configuration getFaunusConf()
public FaunusSchemaManager getTypeManager()
getTypeManager in class FaunusElementpublic FaunusVertexQuery query()
query in class FaunusElementpublic boolean hasTrackPaths()
public void addPath(List<FaunusPathElement.MicroElement> path, boolean append) throws IllegalStateException
IllegalStateExceptionpublic void addPaths(List<List<FaunusPathElement.MicroElement>> paths, boolean append) throws IllegalStateException
IllegalStateExceptionpublic List<List<FaunusPathElement.MicroElement>> getPaths() throws IllegalStateException
IllegalStateExceptionpublic void getPaths(FaunusElement element, boolean append)
public long incrPath(long amount)
throws IllegalStateException
IllegalStateExceptionpublic boolean hasPaths()
public void clearPaths()
public long pathCount()
public void startPath()
Copyright © 2012–2016. All rights reserved.