Interface RelationSnapshot
- All Known Implementing Classes:
MockRelationSnapshot, RelationSnapshot
public interface RelationSnapshot
Read-only interface for a relation's physical memory layout.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInTargetsSimd(int nodeId, ImpulseBitSet frontier) voidcopyTargetsSimd(int nodeId, ImpulseBitSet frontier) voidcopyTargetsSimdFilteredFloat(int nodeId, MemorySegment attrSegment, float threshold, byte cmpOp, ImpulseBitSet outBs) default intintgetDegree(int nodeId) longbyteintgetInDegree(int nodeId) default int[]getInTargets(int nodeId) intbytedefault intdefault intbytedefault intgetTargetAt(int nodeId, int index) int[]getTargets(int nodeId) default intbooleanhasCsc()booleanhasCsr()default booleanlongreadEdgeIndex(MemorySegment segment, long nodeId) intreadNodeId(MemorySegment segment, long index) intreadSrcNodeId(MemorySegment segment, long index) voidsetCscSegments(MemorySegment rowOffsets, MemorySegment colTargets)
-
Field Details
-
CMP_GT
static final byte CMP_GT- See Also:
-
CMP_GTE
static final byte CMP_GTE- See Also:
-
CMP_LT
static final byte CMP_LT- See Also:
-
CMP_LTE
static final byte CMP_LTE- See Also:
-
CMP_EQ
static final byte CMP_EQ- See Also:
-
CMP_NEQ
static final byte CMP_NEQ- See Also:
-
-
Method Details
-
getEdgeCount
long getEdgeCount() -
getRowOffsetsSegment
MemorySegment getRowOffsetsSegment() -
getColumnTargetsSegment
MemorySegment getColumnTargetsSegment() -
getCscColumnTargetsSegment
MemorySegment getCscColumnTargetsSegment() -
getCscRowOffsetsSegment
MemorySegment getCscRowOffsetsSegment() -
hasCsc
boolean hasCsc() -
hasCsr
boolean hasCsr() -
getNodeCount
int getNodeCount() -
getCscNodeCount
default int getCscNodeCount() -
getDegree
int getDegree(int nodeId) -
getInDegree
int getInDegree(int nodeId) -
getTargets
int[] getTargets(int nodeId) -
getTargetAt
default int getTargetAt(int nodeId, int index) -
getInTargets
default int[] getInTargets(int nodeId) -
getRelationId
default int getRelationId() -
getSrcDomainId
default int getSrcDomainId() -
getTgtDomainId
default int getTgtDomainId() -
isVirtual
default boolean isVirtual() -
copyTargetsSimd
-
copyInTargetsSimd
-
copyTargetsSimdFilteredFloat
void copyTargetsSimdFilteredFloat(int nodeId, MemorySegment attrSegment, float threshold, byte cmpOp, ImpulseBitSet outBs) -
getAttributeSegments
List<MemorySegment> getAttributeSegments() -
setCscSegments
-
getStatistics
RelationStatistics getStatistics() -
readEdgeIndex
-
readNodeId
-
readSrcNodeId
-
getSrcNodeIdWidth
byte getSrcNodeIdWidth() -
getNodeIdWidth
byte getNodeIdWidth() -
getEdgeIndexWidth
byte getEdgeIndexWidth()
-