Package com.alibaba.graphscope.context
Class LabeledVertexDataContext<OID_T,DATA_T>
- java.lang.Object
-
- com.alibaba.graphscope.context.LabeledVertexDataContext<OID_T,DATA_T>
-
public abstract class LabeledVertexDataContext<OID_T,DATA_T> extends Object
-
-
Constructor Summary
Constructors Constructor Description LabeledVertexDataContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createFFIContext(ArrowFragment<OID_T> fragment, Class<?> oidClass, Class<?> dataClass)
ust be called by jni, to create ffi context.StdVector<GSVertexArray<DATA_T>>
data()
DATA_T
getValue(Vertex<Long> vertex)
-
-
-
Method Detail
-
createFFIContext
protected void createFFIContext(ArrowFragment<OID_T> fragment, Class<?> oidClass, Class<?> dataClass)
ust be called by jni, to create ffi context.- Parameters:
fragment
- fragment query fragment.oidClass
- dataClass class object for data type.dataClass
- class object for data.
-
data
public StdVector<GSVertexArray<DATA_T>> data()
-
-