Class NodeFilterSpecFactory
- java.lang.Object
-
- org.neo4j.gds.similarity.filtering.NodeFilterSpecFactory
-
public final class NodeFilterSpecFactory extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeFilterSpeccreate(java.lang.Object input)Create aNodeFilterSpecbased on user input.static java.lang.Stringrender(NodeFilterSpec spec)
-
-
-
Method Detail
-
create
public static NodeFilterSpec create(java.lang.Object input)
Create aNodeFilterSpecbased on user input. User input can be a label represented as aString, or scalar or list ofLongorNode.- Parameters:
input- One ofString,Long,Node,ListofLong,ListofNode- Returns:
- A
NodeFilterSpecthat can be used to create aNodeFilterover anIdMap
-
render
public static java.lang.String render(NodeFilterSpec spec)
-
-