Class DomainDefinition
java.lang.Object
org.impulsegraph.builder.api.DomainDefinition
Definition of a Node Domain within the Impulse graph schema. Represents an
independent dense ID space (0 .. cardinality - 1).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainDefinition.Builderbuilder(long cardinality) Returns an immutable map of attribute names to their chunked data sources.longReturns the exact physical node count in this domain (not a capacity bound).Returns the primitive integer width for node IDs in this domain.Returns the name of the attribute serving as the primary key, or null if none.booleanReturns true if a primary key reverse lookup index (String/UUID -> Dense ID) is materialized.
-
Method Details
-
builder
-
getCardinality
public long getCardinality()Returns the exact physical node count in this domain (not a capacity bound). -
getIdWidth
Returns the primitive integer width for node IDs in this domain. -
hasPrimaryKeyIndex
public boolean hasPrimaryKeyIndex()Returns true if a primary key reverse lookup index (String/UUID -> Dense ID) is materialized. -
getPrimaryKeyAttribute
Returns the name of the attribute serving as the primary key, or null if none. -
getAttributes
Returns an immutable map of attribute names to their chunked data sources.
-