Package com.alibaba.graphscope.ds
Interface ProjectedNbr<VID_T,EDATA_T>
-
- Type Parameters:
VID_T
- vertex id type.EDATA_T
- edge data type.
- All Superinterfaces:
com.alibaba.fastffi.FFIPointer
,FFIType
,NbrBase<VID_T,EDATA_T>
,Serializable
- All Known Implementing Classes:
ProjectedNbr_cxx_0x86e8f01
,ProjectedNbr_cxx_0x8900456
,ProjectedNbr_cxx_0xd37d5fa7
,ProjectedNbr_cxx_0xd3a88ee8
public interface ProjectedNbr<VID_T,EDATA_T> extends NbrBase<VID_T,EDATA_T>
Definition of Nbr for projected fragment ProjectedNbr. Representing the neighboring vertex.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectedNbr<VID_T,EDATA_T>
dec()
Self decrement.@com.alibaba.fastffi.FFINameAlias("edge_id") long
edgeId()
Edge id for this Nbr, inherited from property graph.boolean
eq(ProjectedNbr<VID_T,EDATA_T> rhs)
Check equality.ProjectedNbr<VID_T,EDATA_T>
inc()
Self increment.Vertex<VID_T>
neighbor()
Get the neighbor vertex.
-
-
-
Method Detail
-
edgeId
@com.alibaba.fastffi.FFINameAlias("edge_id") long edgeId()
Edge id for this Nbr, inherited from property graph.- Returns:
- edge id.
-
inc
ProjectedNbr<VID_T,EDATA_T> inc()
Self increment.- Returns:
- incremented pointer.
-
eq
boolean eq(ProjectedNbr<VID_T,EDATA_T> rhs)
Check equality.- Parameters:
rhs
- Nbr to be compared with- Returns:
- true if is the same pointer.
-
dec
ProjectedNbr<VID_T,EDATA_T> dec()
Self decrement.- Returns:
- decreased pointer
-
-