Skip to content

Commit

Permalink
Add some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Jul 14, 2023
1 parent 6c34a87 commit 06a8bc7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions spark/src/main/scala/com/alibaba/graphar/EdgeInfo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ class EdgeInfo() {
return getSrc_label + GeneralParams.regularSeperator + getEdge_label + GeneralParams.regularSeperator + getDst_label
}

/** Dump to Json string. */
def dump(): String = {
val data = new java.util.HashMap[String, Object]()
data.put("src_label", src_label)
Expand Down
1 change: 1 addition & 0 deletions spark/src/main/scala/com/alibaba/graphar/GraphInfo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ class GraphInfo() {
return edgeInfos
}

/** Dump to Json string. */
def dump(): String = {
val data = new java.util.HashMap[String, Object]()
data.put("name", name)
Expand Down
1 change: 1 addition & 0 deletions spark/src/main/scala/com/alibaba/graphar/VertexInfo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ class VertexInfo() {
return prefix + str
}

/** Dump to Json string. */
def dump(): String = {
val data = new java.util.HashMap[String, Object]()
data.put("label", label)
Expand Down

0 comments on commit 06a8bc7

Please sign in to comment.