Package com.alibaba.graphscope.ds
Class GrapeNbr_cxx_0xa3660297Factory
- java.lang.Object
-
- com.alibaba.graphscope.ds.GrapeNbr_cxx_0xa3660297Factory
-
- All Implemented Interfaces:
GrapeNbr.Factory<Long,Double>
public class GrapeNbr_cxx_0xa3660297Factory extends Object implements GrapeNbr.Factory<Long,Double>
-
-
Field Summary
Fields Modifier and Type Field Description static GrapeNbr.Factory<Long,Double>
INSTANCE
-
Constructor Summary
Constructors Constructor Description GrapeNbr_cxx_0xa3660297Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrapeNbr<Long,Double>
create()
Create a default Nbr.GrapeNbr<Long,Double>
create(Long arg0)
Create a Nbr with adjacent vertex.GrapeNbr<Long,Double>
create(Long arg0, Double arg1)
Create a Nbr with adjacent vertex and edge data.
-
-
-
Field Detail
-
INSTANCE
public static final GrapeNbr.Factory<Long,Double> INSTANCE
-
-
Method Detail
-
create
public GrapeNbr<Long,Double> create()
Description copied from interface:GrapeNbr.Factory
Create a default Nbr.- Specified by:
create
in interfaceGrapeNbr.Factory<Long,Double>
- Returns:
- Nbr instance.
-
create
public GrapeNbr<Long,Double> create(Long arg0)
Description copied from interface:GrapeNbr.Factory
Create a Nbr with adjacent vertex.- Specified by:
create
in interfaceGrapeNbr.Factory<Long,Double>
- Parameters:
arg0
- vertex id.- Returns:
- Nbr instance.
-
create
public GrapeNbr<Long,Double> create(Long arg0, Double arg1)
Description copied from interface:GrapeNbr.Factory
Create a Nbr with adjacent vertex and edge data.- Specified by:
create
in interfaceGrapeNbr.Factory<Long,Double>
- Parameters:
arg0
- vertex id.arg1
- edge data.- Returns:
- Nbr instance.
-
-