Modifier and Type | Interface and Description |
---|---|
interface |
EdgeLabel
EdgeLabel is an extension of
RelationType for edges. |
interface |
JanusGraphEdge
A JanusGraphEdge connects two
JanusGraphVertex . |
interface |
JanusGraphRelation
JanusGraphRelation is the most abstract form of a relation between a vertex and some other entity, where
relation is understood in its mathematical sense.
|
interface |
JanusGraphVertex
JanusGraphVertex is the basic unit of a
JanusGraph . |
interface |
JanusGraphVertexProperty<V>
JanusGraphProperty is a
JanusGraphRelation connecting a vertex to a value. |
interface |
PropertyKey
PropertyKey is an extension of
RelationType for properties. |
interface |
RelationType
RelationType defines the schema for
JanusGraphRelation . |
interface |
VertexLabel
A vertex label is a label attached to vertices in a JanusGraph graph.
|
Modifier and Type | Class and Description |
---|---|
class |
EmptyJanusGraphVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
JanusGraphElement |
InvalidElementException.getElement()
Returns the element causing the exception
|
Modifier and Type | Method and Description |
---|---|
static IllegalStateException |
InvalidElementException.removedException(JanusGraphElement element) |
Constructor and Description |
---|
InvalidElementException(String msg,
JanusGraphElement element) |
Modifier and Type | Method and Description |
---|---|
Condition<JanusGraphElement> |
IndexQuery.getCondition() |
Modifier and Type | Method and Description |
---|---|
Set<IndexUpdate<StaticBuffer,Entry>> |
IndexSerializer.reindexElement(JanusGraphElement element,
CompositeIndexType index) |
boolean |
IndexSerializer.reindexElement(JanusGraphElement element,
MixedIndexType index,
Map<String,Map<String,List<IndexEntry>>> documentsPerStore) |
Modifier and Type | Method and Description |
---|---|
JanusGraphElement |
IndexUpdate.getElement() |
Constructor and Description |
---|
IndexUpdate(IndexType index,
IndexMutationType mutationType,
K key,
E entry,
JanusGraphElement element) |
Modifier and Type | Method and Description |
---|---|
static String |
IndexRecordUtil.element2String(JanusGraphElement element) |
static void |
StaleIndexRecordUtil.forceRemoveElementFromGraphIndex(JanusGraphElement elementToRemoveFromIndex,
IndexRecordEntry[] indexRecord,
StandardJanusGraph graph,
String graphIndexName)
Force removes element record from a graph index.
|
static IndexUpdate<StaticBuffer,Entry> |
IndexRecordUtil.getCompositeIndexUpdate(CompositeIndexType index,
IndexMutationType indexMutationType,
IndexRecordEntry[] record,
JanusGraphElement element,
Serializer serializer,
boolean hashKeys,
HashingUtil.HashLength hashLength) |
static IndexUpdate<String,IndexEntry> |
IndexRecordUtil.getMixedIndexUpdate(JanusGraphElement element,
PropertyKey key,
Object value,
MixedIndexType index,
IndexMutationType updateType) |
boolean |
IndexAppliesToFunction.indexAppliesTo(IndexType index,
JanusGraphElement element) |
static boolean |
IndexRecordUtil.indexAppliesTo(IndexType index,
JanusGraphElement element) |
static boolean |
IndexRecordUtil.indexAppliesToWithoutConstraints(IndexType index,
JanusGraphElement element) |
static boolean |
IndexRecordUtil.indexMatchesConstraints(IndexType index,
JanusGraphElement element) |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalElement
Internal Element interface adding methods that should only be used by JanusGraph
|
interface |
InternalRelation
Internal Relation interface adding methods that should only be used by JanusGraph.
|
interface |
InternalRelationType
Internal Type interface adding methods that should only be used by JanusGraph
|
interface |
InternalVertex
Internal Vertex interface adding methods that should only be used by JanusGraph
|
interface |
InternalVertexLabel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractElement
AbstractElement is the base class for all elements in JanusGraph.
|
Modifier and Type | Method and Description |
---|---|
JanusGraphElement |
ElementCategory.retrieve(Object elementId,
JanusGraphTransaction tx) |
Modifier and Type | Method and Description |
---|---|
int |
OrderList.compare(JanusGraphElement o1,
JanusGraphElement o2) |
int |
OrderList.OrderEntry.compare(JanusGraphElement o1,
JanusGraphElement o2) |
static int |
AbstractElement.compare(JanusGraphElement e1,
JanusGraphElement e2) |
int |
AbstractElement.compareTo(JanusGraphElement other) |
boolean |
ElementCategory.isInstance(JanusGraphElement element) |
boolean |
ElementCategory.matchesConstraint(JanusGraphSchemaType type,
JanusGraphElement element) |
Modifier and Type | Class and Description |
---|---|
class |
FulgoraVertexProperty<V> |
Modifier and Type | Interface and Description |
---|---|
interface |
ElementQuery<R extends JanusGraphElement,B extends BackendQuery<B>>
A query that returns
JanusGraphElement s. |
class |
MetricsQueryExecutor<Q extends ElementQuery,R extends JanusGraphElement,B extends BackendQuery>
Wraps a
QueryExecutor to gather metrics on the query execution and forward them to METRICS. |
interface |
QueryExecutor<Q extends ElementQuery,R extends JanusGraphElement,B extends BackendQuery>
Executes a given query and its subqueries against an underlying data store and transaction.
|
class |
QueryProcessor<Q extends ElementQuery<R,B>,R extends JanusGraphElement,B extends BackendQuery<B>>
Executes a given
ElementQuery against a provided QueryExecutor to produce the result set of elements. |
class |
ResultSetIterator<R extends JanusGraphElement>
Wraps around a result set iterator to return up to the specified limit number of elements
and implement the
Iterator.remove() method based on element's remove method. |
Modifier and Type | Method and Description |
---|---|
static <E extends JanusGraphElement> |
QueryUtil.constraints2QNF(StandardJanusGraphTx tx,
List<PredicateCondition<String,E>> constraints)
Prepares the constraints from the query builder into a QNF compliant condition.
|
static <E extends JanusGraphElement> |
QueryUtil.simplifyAnd(And<E> condition) |
static <R extends JanusGraphElement> |
ResultSetIterator.wrap(Iterable<R> inner,
int limit) |
Modifier and Type | Class and Description |
---|---|
class |
And<E extends JanusGraphElement>
Combines multiple conditions under semantic AND, i.e.
|
interface |
Condition<E extends JanusGraphElement>
A logical condition which evaluates against a provided element to true or false.
|
class |
FixedCondition<E extends JanusGraphElement>
A fixed valued literal, which always returns either true or false irrespective of the element which is evaluated.
|
class |
Literal<E extends JanusGraphElement>
Abstract literal condition.
|
class |
MultiCondition<E extends JanusGraphElement>
Abstract condition element that combines multiple conditions (for instance, AND, OR).
|
class |
Not<E extends JanusGraphElement>
Negates the wrapped condition, i.e.
|
class |
Or<E extends JanusGraphElement>
Combines multiple conditions under semantic OR, i.e.
|
class |
PredicateCondition<K,E extends JanusGraphElement> |
class |
RelationTypeCondition<E extends JanusGraphElement> |
class |
VisibilityFilterCondition<E extends JanusGraphElement>
Evaluates elements based on their visibility
|
Modifier and Type | Method and Description |
---|---|
static <E extends JanusGraphElement> |
ConditionUtil.literalTransformation(Condition<E> condition,
com.google.common.base.Function<Condition<E>,Condition<E>> transformation) |
static <E extends JanusGraphElement> |
And.of(Condition<E>... elements) |
static <E extends JanusGraphElement> |
Or.of(Condition<E>... elements) |
static <E extends JanusGraphElement> |
Not.of(Condition<E> element) |
static <K,E extends JanusGraphElement> |
PredicateCondition.of(K key,
JanusGraphPredicate janusgraphPredicate,
Object condition) |
static <E extends JanusGraphElement> |
ConditionUtil.transformation(Condition<E> condition,
com.google.common.base.Function<Condition<E>,Condition<E>> transformation) |
static <E extends JanusGraphElement> |
ConditionUtil.traversal(Condition<E> condition,
Predicate<Condition<E>> evaluator) |
Modifier and Type | Method and Description |
---|---|
<E extends JanusGraphElement> |
GraphCentricQueryBuilder.iterables(GraphCentricQuery query,
Class<E> aClass) |
Modifier and Type | Method and Description |
---|---|
Condition<JanusGraphElement> |
GraphCentricQuery.getCondition() |
List<PredicateCondition<String,JanusGraphElement>> |
GraphCentricQueryBuilder.getConstraints() |
Comparator<JanusGraphElement> |
GraphCentricQuery.getSortOrder() |
Modifier and Type | Method and Description |
---|---|
boolean |
GraphCentricQuery.matches(JanusGraphElement element) |
Constructor and Description |
---|
GraphCentricQuery(ElementCategory resultType,
Condition<JanusGraphElement> condition,
OrderList orders,
BackendQueryHolder<JointIndexQuery> indexQuery,
int limit) |
Modifier and Type | Method and Description |
---|---|
protected IndexCandidate |
AbstractIndexSelectionStrategy.createIndexCandidate(IndexType index,
MultiCondition<JanusGraphElement> conditions,
IndexSerializer serializer)
Creates an
IndexCandidate from a MultiCondition which it covers. |
protected Set<IndexType> |
AbstractIndexSelectionStrategy.createIndexRawCandidates(MultiCondition<JanusGraphElement> conditions,
ElementCategory resultType,
IndexSerializer serializer) |
static boolean |
IndexSelectionUtil.existsMatchingIndex(MultiCondition<JanusGraphElement> conditions) |
static boolean |
IndexSelectionUtil.existsMatchingIndex(MultiCondition<JanusGraphElement> conditions,
Predicate<IndexType> filter) |
static Set<IndexType> |
IndexSelectionUtil.getMatchingIndexes(MultiCondition<JanusGraphElement> conditions) |
static Set<IndexType> |
IndexSelectionUtil.getMatchingIndexes(MultiCondition<JanusGraphElement> conditions,
Predicate<IndexType> filter) |
IndexSelectionStrategy.SelectedIndexQuery |
AbstractIndexSelectionStrategy.selectIndices(ElementCategory resultType,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer) |
IndexSelectionStrategy.SelectedIndexQuery |
IndexSelectionStrategy.selectIndices(ElementCategory resultType,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer) |
IndexSelectionStrategy.SelectedIndexQuery |
IndexSelectionStrategy.selectIndices(Set<IndexType> indexCandidates,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer) |
IndexSelectionStrategy.SelectedIndexQuery |
BruteForceIndexSelectionStrategy.selectIndices(Set<IndexType> rawCandidates,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer)
Determine the best jointIndexQuery by enumerating all possibilities with exponential time
complexity.
|
IndexSelectionStrategy.SelectedIndexQuery |
ApproximateIndexSelectionStrategy.selectIndices(Set<IndexType> rawCandidates,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer)
Iterate over all potential indexes and compute a score based on how many clauses
this index covers.
|
IndexSelectionStrategy.SelectedIndexQuery |
ThresholdBasedIndexSelectionStrategy.selectIndices(Set<IndexType> indexCandidates,
MultiCondition<JanusGraphElement> conditions,
Set<Condition> coveredClauses,
OrderList orders,
IndexSerializer serializer) |
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 |
---|---|
JanusGraphElement |
SimpleJanusGraphProperty.element() |
Modifier and Type | Method and Description |
---|---|
protected Map<JanusGraphVertex,Iterable<? extends JanusGraphElement>> |
VertexStepBatchFetcher.makeQueryAndExecute(JanusGraphMultiVertexQuery multiQuery) |
Modifier and Type | Field and Description |
---|---|
QueryExecutor<GraphCentricQuery,JanusGraphElement,JointIndexQuery> |
StandardJanusGraphTx.elementProcessor |
QueryExecutor<GraphCentricQuery,JanusGraphElement,JointIndexQuery> |
StandardJanusGraphTx.elementProcessorImpl |
Modifier and Type | Method and Description |
---|---|
Function<Object,? extends JanusGraphElement> |
StandardJanusGraphTx.getConversionFunction(ElementCategory elementCategory) |
Modifier and Type | Class and Description |
---|---|
class |
VertexLabelVertex |
Modifier and Type | Interface and Description |
---|---|
interface |
SystemRelationType |
Modifier and Type | Class and Description |
---|---|
class |
BaseKey |
class |
BaseLabel |
class |
BaseRelationType |
class |
BaseVertexLabel |
class |
EmptyRelationType |
class |
EmptyVertex |
class |
ImplicitKey |
Modifier and Type | Class and Description |
---|---|
class |
EdgeLabelVertex |
class |
JanusGraphSchemaVertex |
class |
PropertyKeyVertex |
class |
RelationTypeVertex |
Modifier and Type | Class and Description |
---|---|
class |
ProfiledIterator<E extends JanusGraphElement> |
Modifier and Type | Method and Description |
---|---|
protected JanusGraphElement |
SubqueryIterator.computeNext() |
Modifier and Type | Method and Description |
---|---|
static Iterable<Object> |
ElementHelper.getValues(JanusGraphElement element,
PropertyKey key) |
Constructor and Description |
---|
SubqueryIterator(JointIndexQuery.Subquery subQuery,
IndexSerializer indexSerializer,
BackendTransaction tx,
SubqueryCache indexCache,
int limit,
Function<Object,? extends JanusGraphElement> function,
List<Object> otherResults) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVertex |
class |
CacheVertex |
class |
PreloadedVertex |
class |
StandardVertex |
Copyright © 2012–2024. All rights reserved.