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 int
HASH_SHIFT
static int
SIZE
-
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 void
delete()
boolean
equals(Object o)
Integer
get(Vertex<Long> arg0)
Get the data bound to a vertex.VertexRange<Long>
GetVertexRange()
Get the underlying vertex range.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 initial value specified.static @com.alibaba.fastffi.CXXReference 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)
void
setValue(Vertex<Long> arg0, Integer arg1)
Bind a specific vertex with one value.void
setValue(VertexRange<Long> arg0, Integer arg1)
Full fill the vertex array with specified value in a specific range.void
setValue(Integer arg0)
Full fill the vertex array with specified value.String
toString()
-
Methods inherited from class com.alibaba.fastffi.FFIPointerImpl
getAddress
-
-
-
-
Method Detail
-
GetVertexRange
public VertexRange<Long> GetVertexRange()
Description copied from interface:VertexArray
Get the underlying vertex range.- Specified by:
GetVertexRange
in 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:
delete
in interfacecom.alibaba.fastffi.CXXPointer
-
nativeDelete
public static void nativeDelete(long ptr)
-
get
public Integer get(Vertex<Long> arg0)
Description copied from interface:VertexArray
Get the data bound to a vertex.- Specified by:
get
in 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:VertexArray
Init a vertex array with a range of vertices.- Specified by:
init
in 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:VertexArray
Init a vertex array with a range of vertices, with initial value specified.- Specified by:
init
in 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:VertexArray
Bind a specific vertex with one value.- Specified by:
setValue
in 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:VertexArray
Full fill the vertex array with specified value in a specific range.- Specified by:
setValue
in 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:VertexArray
Full fill the vertex array with specified value.- Specified by:
setValue
in 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()
-
-