Package com.alibaba.graphscope.ds
Class GSVertexArray_cxx_0x13932289
- java.lang.Object
-
- com.alibaba.fastffi.FFIPointerImpl
-
- com.alibaba.graphscope.ds.GSVertexArray_cxx_0x13932289
-
- All Implemented Interfaces:
com.alibaba.fastffi.CXXPointer,com.alibaba.fastffi.FFIPointer,FFIType,GSVertexArray<Double>,Serializable
public class GSVertexArray_cxx_0x13932289 extends FFIPointerImpl implements GSVertexArray<Double>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.graphscope.ds.GSVertexArray
GSVertexArray.Factory<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 GSVertexArray_cxx_0x13932289(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()booleanequals(Object o)Doubleget(Vertex<Long> arg0)Get the data bound to the querying vertex.VertexRange<Long>GetVertexRange()Get the vertex range for this vertex array.inthashCode()voidinit(VertexRange<Long> arg0)Init a vertex Array with a range of vertices.voidinit(VertexRange<Long> arg0, Double arg1)Init a vertex Array with a range of vertices, with default value.static @com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("grape::VertexRange<uint64_t>") longnative_GetVertexRange(long ptr)static longnativeCreateFactory0()static voidnativeDelete(long ptr)static @com.alibaba.fastffi.FFINameAlias("GetValue"),@com.alibaba.fastffi.CXXReference doublenativeGet(long ptr, long arg00)static voidnativeInit0(long ptr, long arg00)static voidnativeInit1(long ptr, long arg00, double arg11)static voidnativeSetValue0(long ptr, long arg00, double arg11)static voidnativeSetValue1(long ptr, long arg00, double arg11)static voidnativeSetValue2(long ptr, double arg00)static @com.alibaba.fastffi.FFINameAlias("size") longnativeSize(long ptr)static voidnativeSwap(long ptr, long arg00)voidsetValue(Vertex<Long> arg0, Double arg1)Set the data for a specific vertex.voidsetValue(VertexRange<Long> arg0, Double arg1)Set the data for a range of vertices.voidsetValue(Double arg0)Full fill the vertex array with the specified value.@com.alibaba.fastffi.FFINameAlias("size") longsize()Inherited from grape::Arrayvoidswap(GSVertexArray<Double> arg0)StringtoString()-
Methods inherited from class com.alibaba.fastffi.FFIPointerImpl
getAddress
-
-
-
-
Method Detail
-
GetVertexRange
public VertexRange<Long> GetVertexRange()
Description copied from interface:GSVertexArrayGet the vertex range for this vertex array.- Specified by:
GetVertexRangein interfaceGSVertexArray<Double>- Returns:
- the range of vertices.
-
native_GetVertexRange
public static @com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("grape::VertexRange<uint64_t>") 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 Double get(Vertex<Long> arg0)
Description copied from interface:GSVertexArrayGet the data bound to the querying vertex.- Specified by:
getin interfaceGSVertexArray<Double>- Parameters:
arg0- querying vertex.- Returns:
- vertex data.
-
nativeGet
public static @com.alibaba.fastffi.FFINameAlias("GetValue"),@com.alibaba.fastffi.CXXReference double nativeGet(long ptr, long arg00)
-
init
public void init(VertexRange<Long> arg0)
Description copied from interface:GSVertexArrayInit a vertex Array with a range of vertices.- Specified by:
initin interfaceGSVertexArray<Double>- Parameters:
arg0- vertex range.
-
nativeInit0
public static void nativeInit0(long ptr, long arg00)
-
init
public void init(VertexRange<Long> arg0, Double arg1)
Description copied from interface:GSVertexArrayInit a vertex Array with a range of vertices, with default value.- Specified by:
initin interfaceGSVertexArray<Double>- Parameters:
arg0- vertex range.arg1- default value.
-
nativeInit1
public static void nativeInit1(long ptr, long arg00, double arg11)
-
setValue
public void setValue(Vertex<Long> arg0, Double arg1)
Description copied from interface:GSVertexArraySet the data for a specific vertex.- Specified by:
setValuein interfaceGSVertexArray<Double>- Parameters:
arg0- vertex.arg1- vertex data.
-
nativeSetValue0
public static void nativeSetValue0(long ptr, long arg00, double arg11)
-
setValue
public void setValue(VertexRange<Long> arg0, Double arg1)
Description copied from interface:GSVertexArraySet the data for a range of vertices.- Specified by:
setValuein interfaceGSVertexArray<Double>- Parameters:
arg0- vertex range.arg1- value to set.
-
nativeSetValue1
public static void nativeSetValue1(long ptr, long arg00, double arg11)
-
setValue
public void setValue(Double arg0)
Description copied from interface:GSVertexArrayFull fill the vertex array with the specified value.- Specified by:
setValuein interfaceGSVertexArray<Double>- Parameters:
arg0- vertex data.
-
nativeSetValue2
public static void nativeSetValue2(long ptr, double arg00)
-
size
public @com.alibaba.fastffi.FFINameAlias("size") long size()Description copied from interface:GSVertexArrayInherited from grape::Array- Specified by:
sizein interfaceGSVertexArray<Double>
-
nativeSize
public static @com.alibaba.fastffi.FFINameAlias("size") long nativeSize(long ptr)
-
swap
public void swap(GSVertexArray<Double> arg0)
- Specified by:
swapin interfaceGSVertexArray<Double>
-
nativeSwap
public static void nativeSwap(long ptr, long arg00)
-
nativeCreateFactory0
public static long nativeCreateFactory0()
-
-