Skip to content

Commit

Permalink
update comment & parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Jan 15, 2021
1 parent c620a79 commit c4ab44e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ object NebulaSparkReaderExample {
.config(sparkConf)
.getOrCreate()

// readVertex(spark)
// readEdges(spark)
readVertex(spark)
readEdges(spark)
readVertexGraph(spark)
readEdgeGraph(spark)

Expand Down Expand Up @@ -91,7 +91,7 @@ object NebulaSparkReaderExample {
val config =
NebulaConnectionConfig
.builder()
.withMetaAddress("192.168.8.172:45509")
.withMetaAddress("127.0.0.1:45500")
.withTimeout(6000)
.withConenctionRetry(2)
.build()
Expand All @@ -115,7 +115,7 @@ object NebulaSparkReaderExample {
val config =
NebulaConnectionConfig
.builder()
.withMetaAddress("192.168.8.172:45509")
.withMetaAddress("127.0.0.1:45500")
.withTimeout(6000)
.withConenctionRetry(2)
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ package object connector {

/**
* read nebula vertex edge to graphx's vertex
* only support Long vId
* use hash() for String type vertex id.
*/
def loadVerticesToGraphx(): RDD[NebulaGraphxVertex] = {
val vertexDataset = loadVerticesToDF()
Expand Down Expand Up @@ -179,7 +179,7 @@ package object connector {

/**
* read nebula edge edge to graphx's edge
* only support edge with Long srcId and Long dstId
* use hash() for String type srcId and dstId.
*/
def loadEdgesToGraphx(): RDD[NebulaGraphxEdge] = {
val edgeDataset = loadEdgesToDF()
Expand Down

0 comments on commit c4ab44e

Please sign in to comment.