public abstract class FaunusElement extends LifeCycleElement implements InternalElement, Comparable<FaunusElement>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.base.Predicate<StandardFaunusEdge> |
FILTER_DELETED_EDGES |
protected static com.google.common.base.Predicate<FaunusProperty> |
FILTER_DELETED_PROPERTIES |
protected long |
id |
protected com.google.common.collect.SetMultimap<FaunusRelationType,FaunusRelation> |
inAdjacency |
static long |
NO_ID |
protected com.google.common.collect.SetMultimap<FaunusRelationType,FaunusRelation> |
outAdjacency |
lifecycle| Constructor and Description |
|---|
FaunusElement(long id) |
getLifeCycle, isLoaded, isNew, isRemoved, setLifeCycle, updateLifeCycleclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLifeCycleisLoaded, isNew, isRemovedprotected static final com.google.common.base.Predicate<FaunusProperty> FILTER_DELETED_PROPERTIES
protected static final com.google.common.base.Predicate<StandardFaunusEdge> FILTER_DELETED_EDGES
public static final long NO_ID
protected long id
protected com.google.common.collect.SetMultimap<FaunusRelationType,FaunusRelation> outAdjacency
protected com.google.common.collect.SetMultimap<FaunusRelationType,FaunusRelation> inAdjacency
public abstract FaunusSchemaManager getTypeManager()
public InternalElement it()
it in interface InternalElementpublic StandardTitanTx tx()
tx in interface InternalElementpublic void remove()
throws UnsupportedOperationException
remove in interface TitanElementremove in interface Removableremove in interface com.tinkerpop.blueprints.ElementUnsupportedOperationExceptionpublic Object getId()
getId in interface TitanElementgetId in interface com.tinkerpop.blueprints.Elementpublic long getLongId()
getLongId in interface IdfiablegetLongId in interface TitanElementpublic boolean hasId()
hasId in interface TitanElementpublic void setId(long id)
setId in interface InternalElementpublic boolean isHidden()
isHidden in interface InternalElementpublic boolean isModified()
isModified in class LifeCycleElementprotected Multiplicity getAdjustedMultiplicity(FaunusRelationType type)
protected void initializeAdjacency(com.tinkerpop.blueprints.Direction dir)
protected void setRelation(FaunusRelation relation)
protected FaunusRelation addRelation(FaunusRelation relation)
public abstract FaunusVertexQuery query()
public void setProperty(EdgeLabel label, TitanVertex vertex)
public void setProperty(PropertyKey key, Object value)
setProperty in interface TitanElementpublic void setProperty(String key, Object value)
setProperty in interface TitanElementsetProperty in interface com.tinkerpop.blueprints.Elementpublic abstract void setProperty(FaunusRelationType type, Object value)
public <T> T removeProperty(String key)
removeProperty in interface TitanElementremoveProperty in interface com.tinkerpop.blueprints.Elementpublic <O> O removeProperty(RelationType type)
removeProperty in interface TitanElementpublic TitanVertex getProperty(EdgeLabel label)
public <T> T getProperty(PropertyKey key)
getProperty in interface TitanElementpublic <T> T getProperty(String key)
getProperty in interface TitanElementgetProperty in interface com.tinkerpop.blueprints.Elementpublic Set<String> getPropertyKeys()
getPropertyKeys in interface com.tinkerpop.blueprints.Elementprotected Iterable<RelationType> getPropertyKeysDirect()
public void addAllProperties(Iterable<FaunusRelation> properties)
public Collection<FaunusRelation> getPropertyCollection()
public int compareTo(FaunusElement o)
compareTo in interface Comparable<FaunusElement>Copyright © 2012–2016. All rights reserved.