Package com.alibaba.graphscope.ds
Class VertexArray_cxx_0xd8921725
- java.lang.Object
-
- com.alibaba.fastffi.FFIPointerImpl
-
- com.alibaba.graphscope.ds.VertexArray_cxx_0xd8921725
-
- All Implemented Interfaces:
com.alibaba.fastffi.CXXPointer,com.alibaba.fastffi.FFIPointer,FFIType,VertexArray<Long,Integer>,Serializable
public class VertexArray_cxx_0xd8921725 extends FFIPointerImpl implements VertexArray<Long,Integer>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.graphscope.ds.VertexArray
VertexArray.Factory<VID,T>
-
-
Field Summary
Fields Modifier and Type Field Description static intHASH_SHIFTstatic intSIZE-
Fields inherited from class com.alibaba.fastffi.FFIPointerImpl
address
-
-
Constructor Summary
Constructors Constructor Description VertexArray_cxx_0xd8921725(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()booleanequals(Object o)Integerget(Vertex<Long> arg0)Get the data bound to a vertex.VertexRange<Long>GetVertexRange()Get the underlying vertex range.inthashCode()voidinit(VertexRange<Long> arg0)Init a vertex array with a range of vertices.voidinit(VertexRange<Long> arg0, Integer arg1)Init a vertex array with a range of vertices, with initial value specified.static @com.alibaba.fastffi.CXXReference longnative_GetVertexRange(long ptr)static longnativeCreateFactory0()static voidnativeDelete(long ptr)static @com.alibaba.fastffi.FFINameAlias("GetValue"),@com.alibaba.fastffi.CXXReference intnativeGet(long ptr, long arg00)static voidnativeInit0(long ptr, long arg00)static voidnativeInit1(long ptr, long arg00, int arg11)static voidnativeSetValue0(long ptr, long arg00, int arg11)static voidnativeSetValue1(long ptr, long arg00, int arg11)static voidnativeSetValue2(long ptr, int arg00)voidsetValue(Vertex<Long> arg0, Integer arg1)Bind a specific vertex with one value.voidsetValue(VertexRange<Long> arg0, Integer arg1)Full fill the vertex array with specified value in a specific range.voidsetValue(Integer arg0)Full fill the vertex array with specified value.StringtoString()-
Methods inherited from class com.alibaba.fastffi.FFIPointerImpl
getAddress
-
-
-
-
Method Detail
-
GetVertexRange
public VertexRange<Long> GetVertexRange()
Description copied from interface:VertexArrayGet the underlying vertex range.- Specified by:
GetVertexRangein interfaceVertexArray<Long,Integer>- Returns:
- the underlying vertex range.
-
native_GetVertexRange
public static @com.alibaba.fastffi.CXXReference long native_GetVertexRange(long ptr)
-
delete
public void delete()
- Specified by:
deletein interfacecom.alibaba.fastffi.CXXPointer
-
nativeDelete
public static void nativeDelete(long ptr)
-
get
public Integer get(Vertex<Long> arg0)
Description copied from interface:VertexArrayGet the data bound to a vertex.- Specified by:
getin interfaceVertexArray<Long,Integer>- Parameters:
arg0- querying vertex.- Returns:
- bound value.
-
nativeGet
public static @com.alibaba.fastffi.FFINameAlias("GetValue"),@com.alibaba.fastffi.CXXReference int nativeGet(long ptr, long arg00)
-
init
public void init(VertexRange<Long> arg0)
Description copied from interface:VertexArrayInit a vertex array with a range of vertices.- Specified by:
initin interfaceVertexArray<Long,Integer>- Parameters:
arg0- vertex range.
-
nativeInit0
public static void nativeInit0(long ptr, long arg00)
-
init
public void init(VertexRange<Long> arg0, Integer arg1)
Description copied from interface:VertexArrayInit a vertex array with a range of vertices, with initial value specified.- Specified by:
initin interfaceVertexArray<Long,Integer>- Parameters:
arg0- vertex range.arg1- initial value.
-
nativeInit1
public static void nativeInit1(long ptr, long arg00, int arg11)
-
setValue
public void setValue(Vertex<Long> arg0, Integer arg1)
Description copied from interface:VertexArrayBind a specific vertex with one value.- Specified by:
setValuein interfaceVertexArray<Long,Integer>- Parameters:
arg0- vertex.arg1- value to bind.
-
nativeSetValue0
public static void nativeSetValue0(long ptr, long arg00, int arg11)
-
setValue
public void setValue(VertexRange<Long> arg0, Integer arg1)
Description copied from interface:VertexArrayFull fill the vertex array with specified value in a specific range.- Specified by:
setValuein interfaceVertexArray<Long,Integer>- Parameters:
arg0- value to fill in this array.arg1- vertex range.
-
nativeSetValue1
public static void nativeSetValue1(long ptr, long arg00, int arg11)
-
setValue
public void setValue(Integer arg0)
Description copied from interface:VertexArrayFull fill the vertex array with specified value.- Specified by:
setValuein interfaceVertexArray<Long,Integer>- Parameters:
arg0- value to fill in this array.
-
nativeSetValue2
public static void nativeSetValue2(long ptr, int arg00)
-
nativeCreateFactory0
public static long nativeCreateFactory0()
-
-