org.commonjava.tensor.data
Interface TensorDataManager
public interface TensorDataManager
|
Method Summary |
boolean |
contains(org.apache.maven.graph.common.ref.ProjectVersionRef ref)
|
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> |
getAllDirectRelationshipsWithExactSource(org.apache.maven.graph.common.ref.ProjectVersionRef source,
org.apache.maven.graph.common.RelationshipType... types)
|
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> |
getAllDirectRelationshipsWithExactTarget(org.apache.maven.graph.common.ref.ProjectVersionRef target,
org.apache.maven.graph.common.RelationshipType... types)
|
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> |
getAllDirectRelationshipsWithGATarget(org.apache.maven.graph.common.ref.ProjectRef target,
org.apache.maven.graph.common.RelationshipType... types)
|
Set<org.apache.maven.graph.common.ref.ProjectVersionRef> |
getAllStoredProjectRefs()
|
List<org.apache.maven.graph.common.ref.ProjectVersionRef> |
getAncestry(org.apache.maven.graph.common.ref.ProjectVersionRef source)
|
Set<org.apache.maven.graph.common.ref.ProjectVersionRef> |
getKnownChildren(org.apache.maven.graph.common.ref.ProjectVersionRef parent)
|
org.apache.maven.graph.common.ref.ProjectVersionRef |
getParent(org.apache.maven.graph.common.ref.ProjectVersionRef source)
|
org.apache.maven.graph.effective.EProjectGraph |
getProjectGraph(org.apache.maven.graph.effective.ref.EProjectKey key)
|
org.apache.maven.graph.effective.EProjectGraph |
getProjectGraph(org.apache.maven.graph.common.ref.ProjectVersionRef ref)
|
org.apache.maven.graph.effective.EProjectRelationships |
getProjectRelationships(org.apache.maven.graph.effective.ref.EProjectKey key)
|
org.apache.maven.graph.effective.EProjectRelationships |
getProjectRelationships(org.apache.maven.graph.common.ref.ProjectVersionRef projectRef)
|
void |
reindex()
|
boolean |
storeGraph(boolean skipIfExists,
org.apache.maven.graph.effective.EProjectGraph graph)
|
boolean |
storeRelationships(boolean skipIfExists,
org.apache.maven.graph.effective.EProjectRelationships relationships)
|
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> |
storeRelationships(Collection<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> relationships)
|
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> |
storeRelationships(org.apache.maven.graph.effective.rel.ProjectRelationship<?>... relationships)
|
PROJECT_RELATIONSHIPS_CACHE
static final String PROJECT_RELATIONSHIPS_CACHE
- See Also:
- Constant Field Values
GRAPH_CACHE
static final String GRAPH_CACHE
- See Also:
- Constant Field Values
storeGraph
boolean storeGraph(boolean skipIfExists,
org.apache.maven.graph.effective.EProjectGraph graph)
throws TensorDataException
- Throws:
TensorDataException
storeRelationships
boolean storeRelationships(boolean skipIfExists,
org.apache.maven.graph.effective.EProjectRelationships relationships)
throws TensorDataException
- Throws:
TensorDataException
storeRelationships
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> storeRelationships(org.apache.maven.graph.effective.rel.ProjectRelationship<?>... relationships)
throws TensorDataException
- Throws:
TensorDataException
storeRelationships
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> storeRelationships(Collection<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> relationships)
throws TensorDataException
- Throws:
TensorDataException
getProjectGraph
org.apache.maven.graph.effective.EProjectGraph getProjectGraph(org.apache.maven.graph.effective.ref.EProjectKey key)
throws TensorDataException
- Throws:
TensorDataException
getProjectGraph
org.apache.maven.graph.effective.EProjectGraph getProjectGraph(org.apache.maven.graph.common.ref.ProjectVersionRef ref)
throws TensorDataException
- Throws:
TensorDataException
getAncestry
List<org.apache.maven.graph.common.ref.ProjectVersionRef> getAncestry(org.apache.maven.graph.common.ref.ProjectVersionRef source)
throws TensorDataException
- Throws:
TensorDataException
getParent
org.apache.maven.graph.common.ref.ProjectVersionRef getParent(org.apache.maven.graph.common.ref.ProjectVersionRef source)
throws TensorDataException
- Throws:
TensorDataException
getKnownChildren
Set<org.apache.maven.graph.common.ref.ProjectVersionRef> getKnownChildren(org.apache.maven.graph.common.ref.ProjectVersionRef parent)
throws TensorDataException
- Throws:
TensorDataException
getAllDirectRelationshipsWithExactSource
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> getAllDirectRelationshipsWithExactSource(org.apache.maven.graph.common.ref.ProjectVersionRef source,
org.apache.maven.graph.common.RelationshipType... types)
throws TensorDataException
- Throws:
TensorDataException
getAllDirectRelationshipsWithExactTarget
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> getAllDirectRelationshipsWithExactTarget(org.apache.maven.graph.common.ref.ProjectVersionRef target,
org.apache.maven.graph.common.RelationshipType... types)
throws TensorDataException
- Throws:
TensorDataException
getAllDirectRelationshipsWithGATarget
Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> getAllDirectRelationshipsWithGATarget(org.apache.maven.graph.common.ref.ProjectRef target,
org.apache.maven.graph.common.RelationshipType... types)
throws TensorDataException
- Throws:
TensorDataException
getProjectRelationships
org.apache.maven.graph.effective.EProjectRelationships getProjectRelationships(org.apache.maven.graph.effective.ref.EProjectKey key)
throws TensorDataException
- Throws:
TensorDataException
getProjectRelationships
org.apache.maven.graph.effective.EProjectRelationships getProjectRelationships(org.apache.maven.graph.common.ref.ProjectVersionRef projectRef)
throws TensorDataException
- Throws:
TensorDataException
reindex
void reindex()
throws TensorDataException
- Throws:
TensorDataException
contains
boolean contains(org.apache.maven.graph.common.ref.ProjectVersionRef ref)
getAllStoredProjectRefs
Set<org.apache.maven.graph.common.ref.ProjectVersionRef> getAllStoredProjectRefs()
throws TensorDataException
- Throws:
TensorDataException
Copyright © 2013. All Rights Reserved.