Package com.alibaba.graphscope.context
Class VertexDataContext<FRAG_T extends IFragment,DATA_T>
- java.lang.Object
-
- com.alibaba.graphscope.context.VertexDataContext<FRAG_T,DATA_T>
-
- Direct Known Subclasses:
BFSContext
,GiraphComputationAdaptorContext
,GraphXParallelAdaptorContext
,PageRankContext
,SSSPContext
,StringAppContext
,TraverseContext
,WCCContext
public abstract class VertexDataContext<FRAG_T extends IFragment,DATA_T> extends Object
-
-
Constructor Summary
Constructors Constructor Description VertexDataContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createFFIContext(FRAG_T fragment, Class<? extends DATA_T> dataClass, boolean includeOuter)
Must be called by jni, to create ffi context.GSVertexArray<DATA_T>
data()
Class<? extends DATA_T>
getDataClass()
-
-
-
Method Detail
-
createFFIContext
protected void createFFIContext(FRAG_T fragment, Class<? extends DATA_T> dataClass, boolean includeOuter)
Must be called by jni, to create ffi context.- Parameters:
fragment
- fragmentdataClass
- the class obj for the data type.includeOuter
- whether to include outer vertices or not.
-
data
public GSVertexArray<DATA_T> data()
-
-