org.commonjava.tensor.data.idx
Class AllByTargetIndex

java.lang.Object
  extended by org.commonjava.tensor.data.idx.AllByTargetIndex
All Implemented Interfaces:
Index<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>>

@ApplicationScoped
@Named(value="tensorIdx-all-by-target")
public class AllByTargetIndex
extends Object
implements Index<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>>


Field Summary
static String ALL_BY_TARGET_NAME
           
 
Constructor Summary
AllByTargetIndex()
           
AllByTargetIndex(IndexStore<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>> store)
           
 
Method Summary
 void clear()
           
 Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> get(org.apache.maven.graph.common.ref.ProjectRef query)
           
 void injectCache()
           
 boolean update(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_BY_TARGET_NAME

public static final String ALL_BY_TARGET_NAME
See Also:
Constant Field Values
Constructor Detail

AllByTargetIndex

public AllByTargetIndex()

AllByTargetIndex

public AllByTargetIndex(IndexStore<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>> store)
Method Detail

injectCache

@PostConstruct
public void injectCache()

update

public boolean update(Object value)
               throws TensorDataException
Specified by:
update in interface Index<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>>
Throws:
TensorDataException

get

public Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> get(org.apache.maven.graph.common.ref.ProjectRef query)
                                                                     throws TensorDataException
Specified by:
get in interface Index<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>>
Throws:
TensorDataException

clear

public void clear()
           throws TensorDataException
Specified by:
clear in interface Index<org.apache.maven.graph.common.ref.ProjectRef,Set<org.apache.maven.graph.effective.rel.ProjectRelationship<?>>>
Throws:
TensorDataException


Copyright © 2013. All Rights Reserved.