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 interface
LabelInformation.Builder
static interface
LabelInformation.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.Builder
builder(long expectedCapacity)
static LabelInformation.Builder
builder(long expectedCapacity, com.carrotsearch.hppc.IntObjectMap<java.util.List<org.neo4j.gds.NodeLabel>> labelTokenNodeLabelMapping)
LabelInformation
filter(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
void
forEach(LabelInformation.LabelInformationConsumer consumer)
void
forEachNodeLabel(long nodeId, IdMap.NodeLabelConsumer consumer)
boolean
hasLabel(long nodeId, org.neo4j.gds.NodeLabel nodeLabel)
boolean
isEmpty()
java.util.Set<org.neo4j.gds.NodeLabel>
labelSet()
java.util.PrimitiveIterator.OfLong
nodeIterator(java.util.Collection<org.neo4j.gds.NodeLabel> labels, long nodeCount)
java.util.List<org.neo4j.gds.NodeLabel>
nodeLabelsForNodeId(long nodeId)
static LabelInformation.Builder
single(org.neo4j.gds.NodeLabel singleLabel)
com.carrotsearch.hppc.BitSet
unionBitSet(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels, long nodeCount)
void
validateNodeLabelFilter(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)
-
-