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