Modifier and Type | Method and Description |
---|---|
static boolean |
StandardJanusGraph.acquireLock(InternalRelation relation,
int pos,
boolean acquireLocksConfig) |
void |
StandardJanusGraph.assignID(InternalRelation relation) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdates(InternalRelation relation) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdates(InternalRelation relation,
IndexAppliesToFunction indexFilter) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdatesNoConstraints(InternalRelation relation) |
static int |
StandardJanusGraph.getTTL(InternalRelation rel)
The TTL of a relation (edge or property) is the minimum of:
1) The TTL configured of the relation type (if exists)
2) The TTL configured for the label any of the relation end point vertices (if exists)
|
StaticArrayEntry |
EdgeSerializer.writeRelation(InternalRelation relation,
InternalRelationType type,
int position,
TypeInspector tx) |
Entry |
EdgeSerializer.writeRelation(InternalRelation relation,
int position,
TypeInspector tx) |
Modifier and Type | Method and Description |
---|---|
void |
StandardJanusGraph.commit(Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations,
StandardJanusGraphTx tx) |
void |
StandardJanusGraph.commit(Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations,
StandardJanusGraphTx tx) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdates(InternalVertex vertex,
Collection<InternalRelation> updatedProperties) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdates(InternalVertex vertex,
Collection<InternalRelation> updatedProperties,
IndexAppliesToFunction indexFilter) |
Collection<IndexUpdate> |
IndexSerializer.getIndexUpdatesNoConstraints(InternalVertex vertex,
Collection<InternalRelation> updatedProperties) |
org.janusgraph.graphdb.database.StandardJanusGraph.ModificationSummary |
StandardJanusGraph.prepareCommit(Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations,
Predicate<InternalRelation> filter,
BackendTransaction mutator,
StandardJanusGraphTx tx,
boolean acquireLocks) |
org.janusgraph.graphdb.database.StandardJanusGraph.ModificationSummary |
StandardJanusGraph.prepareCommit(Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations,
Predicate<InternalRelation> filter,
BackendTransaction mutator,
StandardJanusGraphTx tx,
boolean acquireLocks) |
org.janusgraph.graphdb.database.StandardJanusGraph.ModificationSummary |
StandardJanusGraph.prepareCommit(Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations,
Predicate<InternalRelation> filter,
BackendTransaction mutator,
StandardJanusGraphTx tx,
boolean acquireLocks) |
Modifier and Type | Method and Description |
---|---|
void |
VertexIDAssigner.assignID(InternalRelation relation) |
Modifier and Type | Method and Description |
---|---|
void |
VertexIDAssigner.assignIDs(Iterable<InternalRelation> addedRelations) |
Modifier and Type | Method and Description |
---|---|
StaticBuffer |
TransactionLogHeader.serializeModifications(Serializer serializer,
LogTxStatus status,
StandardJanusGraphTx tx,
Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations) |
StaticBuffer |
TransactionLogHeader.serializeModifications(Serializer serializer,
LogTxStatus status,
StandardJanusGraphTx tx,
Collection<InternalRelation> addedRelations,
Collection<InternalRelation> deletedRelations) |
Modifier and Type | Method and Description |
---|---|
static IndexMutationType |
IndexRecordUtil.getUpdateType(InternalRelation relation) |
Modifier and Type | Method and Description |
---|---|
InternalRelation |
InternalRelation.it()
Returns this relation in the current transactional context
|
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
InternalVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
InternalVertex.findPreviousRelation(long id) |
Iterable<InternalRelation> |
InternalVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query)
Returns an iterable over all newly added relations incident on this vertex that match the given predicate
|
default Iterable<InternalRelation> |
InternalVertex.getDuplicatedAddedRelation(PropertyKey key,
Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
InternalVertex.addRelation(InternalRelation e)
Add a new relation to the vertex
|
void |
InternalVertex.removeRelation(InternalRelation e)
Deleted relation e from the adjacency list of this vertex and updates the state of the vertex to reflect
the modification.
|
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
InternalVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
InternalVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query)
Returns an iterable over all newly added relations incident on this vertex that match the given predicate
|
Modifier and Type | Method and Description |
---|---|
static InternalRelation |
ModificationDeserializer.parseRelation(TransactionLogHeader.Modification modification,
StandardJanusGraphTx tx) |
Modifier and Type | Interface and Description |
---|---|
interface |
StandardRelation |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEdge |
class |
AbstractTypedRelation |
class |
AbstractVertexProperty<V> |
class |
CacheEdge |
class |
CacheVertexProperty |
class |
StandardEdge |
class |
StandardVertexProperty |
Modifier and Type | Method and Description |
---|---|
InternalRelation |
CacheEdge.it() |
InternalRelation |
CacheVertexProperty.it() |
InternalRelation |
AbstractTypedRelation.it() |
Modifier and Type | Method and Description |
---|---|
int |
RelationComparator.compare(InternalRelation r1,
InternalRelation r2) |
static RelationIdentifier |
RelationIdentifierUtils.get(InternalRelation r,
long relationId) |
Constructor and Description |
---|
SimpleJanusGraphProperty(InternalRelation relation,
PropertyKey key,
V value) |
Modifier and Type | Method and Description |
---|---|
static InternalRelation |
RelationConstructor.readRelation(InternalVertex vertex,
Entry data,
EdgeSerializer serializer,
TypeInspector types,
VertexFactory vertexFac) |
static InternalRelation |
RelationConstructor.readRelation(InternalVertex vertex,
Entry data,
StandardJanusGraphTx tx) |
Modifier and Type | Method and Description |
---|---|
void |
StandardJanusGraphTx.removeRelation(InternalRelation relation) |
Modifier and Type | Method and Description |
---|---|
Collection<InternalRelation> |
AddedRelationsContainer.getAllUnsafe()
This method returns all relations in this container.
|
Collection<InternalRelation> |
EmptyAddedRelations.getAllUnsafe() |
Collection<InternalRelation> |
ConcurrentAddedRelations.getAllUnsafe() |
Collection<InternalRelation> |
SimpleAddedRelations.getAllUnsafe() |
Iterator<InternalRelation> |
AddedPropertiesSingleValue.getView() |
Iterator<InternalRelation> |
AddedPropertiesSetValue.getView() |
Iterator<InternalRelation> |
AddedPropertiesValue.getView() |
Iterator<InternalRelation> |
AddedPropertiesListValue.getView() |
Iterator<InternalRelation> |
AddedPropertiesSingleValue.getView(Object value) |
Iterator<InternalRelation> |
AddedPropertiesSetValue.getView(Object value) |
Iterator<InternalRelation> |
AddedPropertiesValue.getView(Object value) |
Iterator<InternalRelation> |
AddedPropertiesListValue.getView(Object value) |
Iterable<InternalRelation> |
AddedRelationsContainer.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
EmptyAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
ConcurrentAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
SimpleAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
AddedRelationsContainer.getViewOfPreviousRelations(long id) |
Iterable<InternalRelation> |
EmptyAddedRelations.getViewOfPreviousRelations(long id) |
Iterable<InternalRelation> |
ConcurrentAddedRelations.getViewOfPreviousRelations(long id) |
Iterable<InternalRelation> |
SimpleAddedRelations.getViewOfPreviousRelations(long id) |
Iterable<InternalRelation> |
AddedRelationsContainer.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
EmptyAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
ConcurrentAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
SimpleAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
List<InternalRelation> |
AddedRelationsContainer.getViewOfProperties(String... keys) |
List<InternalRelation> |
EmptyAddedRelations.getViewOfProperties(String... keys) |
List<InternalRelation> |
ConcurrentAddedRelations.getViewOfProperties(String... keys) |
List<InternalRelation> |
SimpleAddedRelations.getViewOfProperties(String... keys) |
List<InternalRelation> |
AddedRelationsContainer.getViewOfProperties(String key,
Object value) |
List<InternalRelation> |
EmptyAddedRelations.getViewOfProperties(String key,
Object value) |
List<InternalRelation> |
ConcurrentAddedRelations.getViewOfProperties(String key,
Object value) |
List<InternalRelation> |
SimpleAddedRelations.getViewOfProperties(String key,
Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
AddedRelationsContainer.add(InternalRelation relation) |
boolean |
EmptyAddedRelations.add(InternalRelation relation) |
boolean |
ConcurrentAddedRelations.add(InternalRelation relation) |
boolean |
SimpleAddedRelations.add(InternalRelation relation) |
int |
AddedPropertiesSingleValue.addValue(InternalRelation internalRelation) |
int |
AddedPropertiesSetValue.addValue(InternalRelation internalRelation) |
int |
AddedPropertiesValue.addValue(InternalRelation internalRelation) |
int |
AddedPropertiesListValue.addValue(InternalRelation internalRelation) |
boolean |
AddedRelationsContainer.remove(InternalRelation relation) |
boolean |
EmptyAddedRelations.remove(InternalRelation relation) |
boolean |
ConcurrentAddedRelations.remove(InternalRelation relation) |
boolean |
SimpleAddedRelations.remove(InternalRelation relation) |
int |
AddedPropertiesSingleValue.removeValue(InternalRelation internalRelation) |
int |
AddedPropertiesSetValue.removeValue(InternalRelation internalRelation) |
int |
AddedPropertiesValue.removeValue(InternalRelation internalRelation) |
int |
AddedPropertiesListValue.removeValue(InternalRelation internalRelation) |
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
AddedRelationsContainer.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
EmptyAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
ConcurrentAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
SimpleAddedRelations.getView(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
AddedRelationsContainer.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
EmptyAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
ConcurrentAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Iterable<InternalRelation> |
SimpleAddedRelations.getViewOfProperties(com.google.common.base.Predicate<InternalRelation> filter) |
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
EmptyVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
EmptyVertex.findPreviousRelation(long id) |
Iterable<InternalRelation> |
EmptyVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Modifier and Type | Method and Description |
---|---|
boolean |
EmptyVertex.addRelation(InternalRelation e) |
void |
EmptyVertex.removeRelation(InternalRelation e) |
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
EmptyVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
EmptyVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
StandardVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
PreloadedVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
StandardVertex.findPreviousRelation(long id) |
Iterable<InternalRelation> |
PreloadedVertex.findPreviousRelation(long id) |
Iterable<InternalRelation> |
StandardVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
PreloadedVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
StandardVertex.getDuplicatedAddedRelation(PropertyKey key,
Object value)
Returns duplicated properties for the given key and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StandardVertex.addRelation(InternalRelation r) |
boolean |
PreloadedVertex.addRelation(InternalRelation e) |
void |
StandardVertex.removeRelation(InternalRelation r) |
void |
PreloadedVertex.removeRelation(InternalRelation e) |
Modifier and Type | Method and Description |
---|---|
Iterable<InternalRelation> |
StandardVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
PreloadedVertex.findAddedProperty(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
StandardVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Iterable<InternalRelation> |
PreloadedVertex.getAddedRelations(com.google.common.base.Predicate<InternalRelation> query) |
Copyright © 2012–2024. All rights reserved.