org.reco4j.graph.neo4j.filter
Class Neo4JPreFilter
java.lang.Object
org.reco4j.graph.neo4j.filter.Neo4JPreFilter
- All Implemented Interfaces:
- org.reco4j.filter.IPreFilter
public class Neo4JPreFilter
- extends Object
- implements org.reco4j.filter.IPreFilter
- Author:
- Alessandro Negro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Neo4JPreFilter
public Neo4JPreFilter()
setGraph
public void setGraph(org.reco4j.graph.IGraph graph)
- Specified by:
setGraph in interface org.reco4j.filter.IPreFilter
getItemNodesMap
public ConcurrentHashMap<Long,org.reco4j.graph.INode> getItemNodesMap()
- Specified by:
getItemNodesMap in interface org.reco4j.filter.IPreFilter
getUserNodesMap
public ConcurrentHashMap<Long,org.reco4j.graph.INode> getUserNodesMap()
- Specified by:
getUserNodesMap in interface org.reco4j.filter.IPreFilter
getRatingList
public List<org.reco4j.graph.IEdge> getRatingList()
- Specified by:
getRatingList in interface org.reco4j.filter.IPreFilter
getCommonNodeIds
public org.apache.mahout.cf.taste.impl.common.FastIDSet getCommonNodeIds(org.reco4j.graph.INode item)
- Specified by:
getCommonNodeIds in interface org.reco4j.filter.IPreFilter
getItemNodesId
public org.apache.mahout.cf.taste.impl.common.FastIDSet getItemNodesId()
- Specified by:
getItemNodesId in interface org.reco4j.filter.IPreFilter
setUsersQuery
public void setUsersQuery(String usersQuery)
setItemsQuery
public void setItemsQuery(String itemsQuery)
setRatingsQuery
public void setRatingsQuery(String ratingsQuery)
setCommonsNodeQuery
public void setCommonsNodeQuery(String commonsNodeQuery)
getCommonNodes
public ConcurrentHashMap<Long,org.reco4j.graph.INode> getCommonNodes(org.reco4j.graph.INode item)
- Specified by:
getCommonNodes in interface org.reco4j.filter.IPreFilter
Copyright © 2013. All Rights Reserved.