Class GrapeNbrAdaptor<VID_T,EDATA_T>
- java.lang.Object
-
- com.alibaba.graphscope.ds.adaptor.GrapeNbrAdaptor<VID_T,EDATA_T>
-
-
Constructor Summary
Constructors Constructor Description GrapeNbrAdaptor(GrapeNbr<VID_T,EDATA_T> n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EDATA_Tdata()Get the edge data.Nbr<VID_T,EDATA_T>dec()booleaneq(Nbr<VID_T,EDATA_T> rhs)longgetAddress()GrapeNbr<VID_T,EDATA_T>getGrapeNbr()Get the underlying grape nbr.Nbr<VID_T,EDATA_T>inc()Vertex<VID_T>neighbor()Get the neighboring vertex.voidsetAddress(long address)Stringtype()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAddress
public void setAddress(long address)
-
getAddress
public long getAddress()
-
getGrapeNbr
public GrapeNbr<VID_T,EDATA_T> getGrapeNbr()
Get the underlying grape nbr.- Returns:
- the underlying grape nbr.
-
neighbor
public Vertex<VID_T> neighbor()
Description copied from interface:NbrGet the neighboring vertex.
-
-