Package com.alibaba.graphscope.ds
Class VertexArray_cxx_0xbe45efc3
- java.lang.Object
-
- com.alibaba.fastffi.FFIPointerImpl
-
- com.alibaba.graphscope.ds.VertexArray_cxx_0xbe45efc3
-
- All Implemented Interfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.FFIPointer
,FFIType
,VertexArray<Long,Double>
,Serializable
public class VertexArray_cxx_0xbe45efc3 extends FFIPointerImpl implements VertexArray<Long,Double>
- 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_0xbe45efc3(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(Object o)
Double
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, Double 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 double
nativeGet(long ptr, long arg00)
static void
nativeInit0(long ptr, long arg00)
static void
nativeInit1(long ptr, long arg00, double arg11)
static void
nativeSetValue0(long ptr, long arg00, double arg11)
static void
nativeSetValue1(long ptr, long arg00, double arg11)
static void
nativeSetValue2(long ptr, double arg00)
void
setValue(Vertex<Long> arg0, Double arg1)
Bind a specific vertex with one value.void
setValue(VertexRange<Long> arg0, Double arg1)
Full fill the vertex array with specified value in a specific range.void
setValue(Double 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,Double>
- 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 Double get(Vertex<Long> arg0)
Description copied from interface:VertexArray
Get the data bound to a vertex.- Specified by:
get
in interfaceVertexArray<Long,Double>
- Parameters:
arg0
- querying vertex.- Returns:
- bound value.
-
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:VertexArray
Init a vertex array with a range of vertices.- Specified by:
init
in interfaceVertexArray<Long,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:VertexArray
Init a vertex array with a range of vertices, with initial value specified.- Specified by:
init
in interfaceVertexArray<Long,Double>
- Parameters:
arg0
- vertex range.arg1
- initial 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:VertexArray
Bind a specific vertex with one value.- Specified by:
setValue
in interfaceVertexArray<Long,Double>
- Parameters:
arg0
- vertex.arg1
- value to bind.
-
nativeSetValue0
public static void nativeSetValue0(long ptr, long arg00, double arg11)
-
setValue
public void setValue(VertexRange<Long> arg0, Double arg1)
Description copied from interface:VertexArray
Full fill the vertex array with specified value in a specific range.- Specified by:
setValue
in interfaceVertexArray<Long,Double>
- Parameters:
arg0
- value to fill in this array.arg1
- vertex range.
-
nativeSetValue1
public static void nativeSetValue1(long ptr, long arg00, double arg11)
-
setValue
public void setValue(Double arg0)
Description copied from interface:VertexArray
Full fill the vertex array with specified value.- Specified by:
setValue
in interfaceVertexArray<Long,Double>
- Parameters:
arg0
- value to fill in this array.
-
nativeSetValue2
public static void nativeSetValue2(long ptr, double arg00)
-
nativeCreateFactory0
public static long nativeCreateFactory0()
-
-