Package com.alibaba.graphscope.ds
Interface ProjectedAdjList<VID_T,EDATA_T>
-
- Type Parameters:
VID_T- vertex id type.EDATA_T- edge data type.
- All Superinterfaces:
com.alibaba.fastffi.FFIPointer,FFIType,Serializable
- All Known Implementing Classes:
ProjectedAdjList_cxx_0x4c794de0,ProjectedAdjList_cxx_0x4ca47d21,ProjectedAdjList_cxx_0xa9082e0f,ProjectedAdjList_cxx_0xf38f75a8
public interface ProjectedAdjList<VID_T,EDATA_T> extends com.alibaba.fastffi.FFIPointerAdjList used byArrowProjectedFragment, java wrapper for ProjectedAdjList.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProjectedNbr<VID_T,EDATA_T>begin()Get the first Nbr.@com.alibaba.fastffi.FFINameAlias("Empty") booleanempty()Check empty.ProjectedNbr<VID_T,EDATA_T>end()Get the last Nbr.default Iterable<ProjectedNbr<VID_T,EDATA_T>>iterable()The iterator for ProjectedAdjList.@com.alibaba.fastffi.FFINameAlias("NotEmpty") booleannotEmpty()Check no-empty.@com.alibaba.fastffi.FFINameAlias("Size") longsize()Size for this AdjList, i.e.
-
-
-
Method Detail
-
begin
ProjectedNbr<VID_T,EDATA_T> begin()
Get the first Nbr.- Returns:
- first Nbr.
-
end
ProjectedNbr<VID_T,EDATA_T> end()
Get the last Nbr.- Returns:
- last Nbr.
-
size
@com.alibaba.fastffi.FFINameAlias("Size") long size()Size for this AdjList, i.e. number of nbrs.- Returns:
- size.
-
empty
@com.alibaba.fastffi.FFINameAlias("Empty") boolean empty()Check empty.- Returns:
- true if no nbr.
-
notEmpty
@com.alibaba.fastffi.FFINameAlias("NotEmpty") boolean notEmpty()Check no-empty.- Returns:
- false if empty.
-
iterable
default Iterable<ProjectedNbr<VID_T,EDATA_T>> iterable()
The iterator for ProjectedAdjList. You can use enhanced for loop instead of directly using this.- Returns:
- the iterator.
-
-