class EdgeInfo extends AnyRef
Edge info is a class to store the edge meta information.
- Alphabetic
- By Inheritance
- EdgeInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EdgeInfo()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var adj_lists: ArrayList[AdjList]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var chunk_size: Long
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
containAdjList(adj_list_type: AdjListType.Value): Boolean
Check if the edge info supports the adj list type.
Check if the edge info supports the adj list type.
- adj_list_type
adjList type in gar to check.
- returns
true if edge info supports the adj list type, otherwise return false.
-
def
containProperty(property_name: String): Boolean
Check if the edge info contains the property.
Check if the edge info contains the property.
- property_name
name of the property.
- returns
true if edge info contains the property, otherwise false.
-
def
containPropertyGroup(property_group: PropertyGroup): Boolean
Check if the edge info contains the property group.
Check if the edge info contains the property group.
- property_group
the property group to check.
- returns
true if the edge info contains the property group in certain adj list structure. If edge info not support the given adj list type or not contains the property group in the adj list structure, return false.
- var directed: Boolean
- var dst_chunk_size: Long
- var dst_label: String
-
def
dump(): String
Dump to Yaml string.
- var edge_label: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getAdjListFilePath(vertex_chunk_index: Long, chunk_index: Long, adj_list_type: AdjListType.Value): String
Get the file path of adj list topology chunk.
Get the file path of adj list topology chunk.
- vertex_chunk_index
index of vertex chunk.
- chunk_index
index of edge chunk.
- adj_list_type
type of adj list structure.
- returns
adj list chunk file path.
-
def
getAdjListFileType(adj_list_type: AdjListType.Value): FileType.Value
Get the adj list topology chunk file type of adj list type.
Get the adj list topology chunk file type of adj list type.
- adj_list_type
the input adj list type.
- returns
file format type in gar of the adj list type, if edge info not support the adj list type, raise an IllegalArgumentException error.
-
def
getAdjListOffsetFilePath(chunk_index: Long, adj_list_type: AdjListType.Value): String
Get the adj list offset chunk file path of vertex chunk the offset chunks is aligned with the vertex chunks
Get the adj list offset chunk file path of vertex chunk the offset chunks is aligned with the vertex chunks
- chunk_index
index of vertex chunk.
- adj_list_type
type of adj list structure.
- returns
the offset chunk file path. If edge info not support the adj list type, raise an IllegalArgumentException error.
-
def
getAdjListPathPrefix(adj_list_type: AdjListType.Value): String
Get the path prefix of the adjacency list topology chunk for the given adjacency list type.
Get the path prefix of the adjacency list topology chunk for the given adjacency list type.
- adj_list_type
type of adj list structure.
- returns
path prefix of of the adjacency list topology.
-
def
getAdjListPathPrefix(vertex_chunk_index: Long, adj_list_type: AdjListType.Value): String
Get the path prefix of adj list topology chunk of certain vertex chunk.
Get the path prefix of adj list topology chunk of certain vertex chunk.
- vertex_chunk_index
index of vertex chunk.
- adj_list_type
type of adj list structure.
- returns
path prefix of the edge chunk of vertices of given vertex chunk.
-
def
getAdjListPrefix(adj_list_type: AdjListType.Value): String
Get path prefix of adj list type.
Get path prefix of adj list type.
- adj_list_type
The input adj list type in gar.
- returns
path prefix of the adj list type, if edge info not support the adj list type, raise an IllegalArgumentException error.
- def getAdj_lists(): ArrayList[AdjList]
- def getChunk_size(): Long
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getConcatKey(): String
- def getDirected(): Boolean
- def getDst_chunk_size(): Long
- def getDst_label(): String
- def getEdge_label(): String
-
def
getEdgesNumFilePath(chunk_index: Long, adj_list_type: AdjListType.Value): String
Get the edge num file path of the vertex chunk
Get the edge num file path of the vertex chunk
- chunk_index
index of vertex chunk.
- adj_list_type
type of adj list structure.
- returns
the edge num file path. If edge info not support the adj list type, raise an IllegalArgumentException error.
-
def
getEdgesNumPathPrefix(adj_list_type: AdjListType.Value): String
Get the path prefix of the edge num file path
Get the path prefix of the edge num file path
- adj_list_type
type of adj list structure.
- returns
the edge num file path. If edge info not support the adj list type, raise an IllegalArgumentException error.
-
def
getOffsetPathPrefix(adj_list_type: AdjListType.Value): String
Get the path prefix of the adjacency list offset for the given adjacency list type.
Get the path prefix of the adjacency list offset for the given adjacency list type.
- adj_list_type
type of adj list structure.
- returns
the path prefix of the offset. If edge info not support the adj list type, raise an IllegalArgumentException error.
- def getPrefix(): String
-
def
getPrimaryKey(): String
Get Primary key of edge info.
-
def
getPropertyFilePath(property_group: PropertyGroup, adj_list_type: AdjListType.Value, vertex_chunk_index: Long, chunk_index: Long): String
Get the chunk file path of adj list property group.
Get the chunk file path of adj list property group. the property group chunks is aligned with the adj list topology chunks
- property_group
property group
- adj_list_type
type of adj list structure.
- vertex_chunk_index
index of vertex chunk.
- chunk_index
index of edge chunk.
- returns
property group chunk file path. If edge info not contains the property group, raise an IllegalArgumentException error.
-
def
getPropertyGroup(property_name: String): PropertyGroup
Get the property group that contains property.
Get the property group that contains property.
- property_name
name of the property.
- returns
property group that contains the property, otherwise raise IllegalArgumentException error.
-
def
getPropertyGroupPathPrefix(property_group: PropertyGroup, adj_list_type: AdjListType.Value): String
Get the path prefix of the property group chunk for the given adjacency list type
Get the path prefix of the property group chunk for the given adjacency list type
- property_group
property group.
- adj_list_type
type of adj list structure.
- returns
path prefix of property group chunks. If edge info not contains the property group, raise an IllegalArgumentException error.
-
def
getPropertyGroupPathPrefix(property_group: PropertyGroup, adj_list_type: AdjListType.Value, vertex_chunk_index: Long): String
Get path prefix of adj list property group of certain vertex chunk.
Get path prefix of adj list property group of certain vertex chunk.
- property_group
property group.
- adj_list_type
type of adj list structure.
- vertex_chunk_index
index of vertex chunk.
- returns
path prefix of property group chunks of of vertices of given vertex chunk. If edge info not contains the property group, raise an IllegalArgumentException error.
-
def
getPropertyType(property_name: String): GarType.Value
Get the data type of property.
Get the data type of property.
- property_name
name of the property.
- returns
data type in gar of the property. If edge info not contains the property, raise an IllegalArgumentException error.
- def getProperty_groups(): ArrayList[PropertyGroup]
- def getSrc_chunk_size(): Long
- def getSrc_label(): String
- def getVersion(): String
-
def
getVerticesNumFilePath(adj_list_type: AdjListType.Value): String
Get the vertex num file path
Get the vertex num file path
- adj_list_type
type of adj list structure.
- returns
the vertex num file path. If edge info not support the adj list type, raise an IllegalArgumentException error.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNullableKey(property_name: String): Boolean
Check the property is nullable key of edge info.
Check the property is nullable key of edge info.
- property_name
name of the property.
- returns
true if the property is the nullable key of edge info, false if not. If edge info not contains the property, raise an IllegalArgumentException error.
-
def
isPrimaryKey(property_name: String): Boolean
Check the property is primary key of edge info.
Check the property is primary key of edge info.
- property_name
name of the property.
- returns
true if the property is the primary key of edge info, false if not. If edge info not contains the property, raise an IllegalArgumentException error.
-
def
isValidated(): Boolean
Check if the edge info is validated.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var prefix: String
- var property_groups: ArrayList[PropertyGroup]
- def setAdj_lists(arg0: ArrayList[AdjList]): Unit
- def setChunk_size(arg0: Long): Unit
- def setDirected(arg0: Boolean): Unit
- def setDst_chunk_size(arg0: Long): Unit
- def setDst_label(arg0: String): Unit
- def setEdge_label(arg0: String): Unit
- def setPrefix(arg0: String): Unit
- def setProperty_groups(arg0: ArrayList[PropertyGroup]): Unit
- def setSrc_chunk_size(arg0: Long): Unit
- def setSrc_label(arg0: String): Unit
- def setVersion(arg0: String): Unit
- var src_chunk_size: Long
- var src_label: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- var version: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated