Package org.neo4j.gds.core.loading
Interface LabelInformation
-
- All Known Implementing Classes:
MultiLabelInformation
public interface LabelInformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLabelInformation.Builderstatic interfaceLabelInformation.LabelInformationConsumer
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<org.neo4j.gds.NodeLabel>availableNodeLabels()static LabelInformation.Builderbuilder(long expectedCapacity)static LabelInformation.Builderbuilder(long expectedCapacity, com.carrotsearch.hppc.IntObjectMap<java.util.List<org.neo4j.gds.NodeLabel>> labelTokenNodeLabelMapping)LabelInformationfilter(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)voidforEach(LabelInformation.LabelInformationConsumer consumer)voidforEachNodeLabel(long nodeId, IdMap.NodeLabelConsumer consumer)booleanhasLabel(long nodeId, org.neo4j.gds.NodeLabel nodeLabel)booleanisEmpty()java.util.Set<org.neo4j.gds.NodeLabel>labelSet()java.util.PrimitiveIterator.OfLongnodeIterator(java.util.Collection<org.neo4j.gds.NodeLabel> labels, long nodeCount)java.util.List<org.neo4j.gds.NodeLabel>nodeLabelsForNodeId(long nodeId)static LabelInformation.Buildersingle(org.neo4j.gds.NodeLabel singleLabel)com.carrotsearch.hppc.BitSetunionBitSet(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels, long nodeCount)voidvalidateNodeLabelFilter(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
-
-
-
Method Detail
-
single
static LabelInformation.Builder single(org.neo4j.gds.NodeLabel singleLabel)
-
builder
static LabelInformation.Builder builder(long expectedCapacity)
-
builder
static LabelInformation.Builder builder(long expectedCapacity, com.carrotsearch.hppc.IntObjectMap<java.util.List<org.neo4j.gds.NodeLabel>> labelTokenNodeLabelMapping)
-
isEmpty
boolean isEmpty()
-
labelSet
java.util.Set<org.neo4j.gds.NodeLabel> labelSet()
-
forEach
void forEach(LabelInformation.LabelInformationConsumer consumer)
-
filter
LabelInformation filter(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
-
unionBitSet
com.carrotsearch.hppc.BitSet unionBitSet(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels, long nodeCount)
-
hasLabel
boolean hasLabel(long nodeId, org.neo4j.gds.NodeLabel nodeLabel)
-
availableNodeLabels
java.util.Set<org.neo4j.gds.NodeLabel> availableNodeLabels()
-
nodeLabelsForNodeId
java.util.List<org.neo4j.gds.NodeLabel> nodeLabelsForNodeId(long nodeId)
-
forEachNodeLabel
void forEachNodeLabel(long nodeId, IdMap.NodeLabelConsumer consumer)
-
validateNodeLabelFilter
void validateNodeLabelFilter(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
-
nodeIterator
java.util.PrimitiveIterator.OfLong nodeIterator(java.util.Collection<org.neo4j.gds.NodeLabel> labels, long nodeCount)
-
-