com.atlassian.confluence.plugins.edgeindex.model
Class ContentEntityEdgeCountQuery

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.model.ContentEntityEdgeCountQuery
All Implemented Interfaces:
EdgeCountQuery
Direct Known Subclasses:
CommentCountQuery, LikeCountQuery, NestedCommentCountQuery

public abstract class ContentEntityEdgeCountQuery
extends Object
implements EdgeCountQuery


Field Summary
static com.google.common.base.Function<EdgeTargetId,Long> EDGE_TARGET_ID_TO_ID
           
 
Constructor Summary
ContentEntityEdgeCountQuery()
           
 
Method Summary
protected abstract  Map<Long,Integer> getEdgeCountForContentIds(List<Long> contentIds)
           
 Map<EdgeTargetId,Integer> getEdgeCountForTargetIds(List<EdgeTargetId> targetIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDGE_TARGET_ID_TO_ID

public static final com.google.common.base.Function<EdgeTargetId,Long> EDGE_TARGET_ID_TO_ID
Constructor Detail

ContentEntityEdgeCountQuery

public ContentEntityEdgeCountQuery()
Method Detail

getEdgeCountForTargetIds

public Map<EdgeTargetId,Integer> getEdgeCountForTargetIds(List<EdgeTargetId> targetIds)
Specified by:
getEdgeCountForTargetIds in interface EdgeCountQuery

getEdgeCountForContentIds

protected abstract Map<Long,Integer> getEdgeCountForContentIds(List<Long> contentIds)


Copyright © 2003–2015 Atlassian. All rights reserved.