Package com.alibaba.graphscope.ds
Class GSVertexArray_cxx_0x2ceb3d1f
- java.lang.Object
-
- com.alibaba.fastffi.FFIPointerImpl
-
- com.alibaba.graphscope.ds.GSVertexArray_cxx_0x2ceb3d1f
-
- All Implemented Interfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.FFIPointer
,FFIType
,GSVertexArray<Integer>
,Serializable
public class GSVertexArray_cxx_0x2ceb3d1f extends FFIPointerImpl implements GSVertexArray<Integer>
- 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 int
HASH_SHIFT
static int
SIZE
-
Fields inherited from class com.alibaba.fastffi.FFIPointerImpl
address
-
-
Constructor Summary
Constructors Constructor Description GSVertexArray_cxx_0x2ceb3d1f(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(Object o)
Integer
get(Vertex<Long> arg0)
Get the data bound to the querying vertex.VertexRange<Long>
GetVertexRange()
Get the vertex range for this vertex array.int
hashCode()
void
init(VertexRange<Long> arg0)
Init a vertex Array with a range of vertices.void
init(VertexRange<Long> arg0, Integer 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>") long
native_GetVertexRange(long ptr)
static long
nativeCreateFactory0()
static void
nativeDelete(long ptr)
static @com.alibaba.fastffi.FFINameAlias("GetValue"),@com.alibaba.fastffi.CXXReference int
nativeGet(long ptr, long arg00)
static void
nativeInit0(long ptr, long arg00)
static void
nativeInit1(long ptr, long arg00, int arg11)
static void
nativeSetValue0(long ptr, long arg00, int arg11)
static void
nativeSetValue1(long ptr, long arg00, int arg11)
static void
nativeSetValue2(long ptr, int arg00)
static @com.alibaba.fastffi.FFINameAlias("size") long
nativeSize(long ptr)
static void
nativeSwap(long ptr, long arg00)
void
setValue(Vertex<Long> arg0, Integer arg1)
Set the data for a specific vertex.void
setValue(VertexRange<Long> arg0, Integer arg1)
Set the data for a range of vertices.void
setValue(Integer arg0)
Full fill the vertex array with the specified value.@com.alibaba.fastffi.FFINameAlias("size") long
size()
Inherited from grape::Arrayvoid
swap(GSVertexArray<Integer> arg0)
String
toString()
-
Methods inherited from class com.alibaba.fastffi.FFIPointerImpl
getAddress
-
-
-
-
Method Detail
-
GetVertexRange
public VertexRange<Long> GetVertexRange()
Description copied from interface:GSVertexArray
Get the vertex range for this vertex array.- Specified by:
GetVertexRange
in interfaceGSVertexArray<Integer>
- 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:
delete
in interfacecom.alibaba.fastffi.CXXPointer
-
nativeDelete
public static void nativeDelete(long ptr)
-
get
public Integer get(Vertex<Long> arg0)
Description copied from interface:GSVertexArray
Get the data bound to the querying vertex.- Specified by:
get
in interfaceGSVertexArray<Integer>
- Parameters:
arg0
- querying vertex.- Returns:
- vertex data.
-
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:GSVertexArray
Init a vertex Array with a range of vertices.- Specified by:
init
in interfaceGSVertexArray<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:GSVertexArray
Init a vertex Array with a range of vertices, with default value.- Specified by:
init
in interfaceGSVertexArray<Integer>
- Parameters:
arg0
- vertex range.arg1
- default 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:GSVertexArray
Set the data for a specific vertex.- Specified by:
setValue
in interfaceGSVertexArray<Integer>
- Parameters:
arg0
- vertex.arg1
- vertex data.
-
nativeSetValue0
public static void nativeSetValue0(long ptr, long arg00, int arg11)
-
setValue
public void setValue(VertexRange<Long> arg0, Integer arg1)
Description copied from interface:GSVertexArray
Set the data for a range of vertices.- Specified by:
setValue
in interfaceGSVertexArray<Integer>
- Parameters:
arg0
- vertex range.arg1
- value to set.
-
nativeSetValue1
public static void nativeSetValue1(long ptr, long arg00, int arg11)
-
setValue
public void setValue(Integer arg0)
Description copied from interface:GSVertexArray
Full fill the vertex array with the specified value.- Specified by:
setValue
in interfaceGSVertexArray<Integer>
- Parameters:
arg0
- vertex data.
-
nativeSetValue2
public static void nativeSetValue2(long ptr, int arg00)
-
size
public @com.alibaba.fastffi.FFINameAlias("size") long size()
Description copied from interface:GSVertexArray
Inherited from grape::Array- Specified by:
size
in interfaceGSVertexArray<Integer>
-
nativeSize
public static @com.alibaba.fastffi.FFINameAlias("size") long nativeSize(long ptr)
-
swap
public void swap(GSVertexArray<Integer> arg0)
- Specified by:
swap
in interfaceGSVertexArray<Integer>
-
nativeSwap
public static void nativeSwap(long ptr, long arg00)
-
nativeCreateFactory0
public static long nativeCreateFactory0()
-
-