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_T
data()
Get the edge data.Nbr<VID_T,EDATA_T>
dec()
boolean
eq(Nbr<VID_T,EDATA_T> rhs)
long
getAddress()
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.void
setAddress(long address)
String
type()
-
-
-
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:Nbr
Get the neighboring vertex.
-
-