From 8f452f36a6375d9b4bcfe922dd58458a0d46dd6f Mon Sep 17 00:00:00 2001 From: Anqi Date: Fri, 20 Oct 2023 18:02:44 +0800 Subject: [PATCH] fix typo --- .../com/vesoft/nebula/algorithm/AlgoPerformanceTest.scala | 2 +- .../scala/com/vesoft/nebula/algorithm/DeepQueryTest.scala | 2 +- .../src/main/scala/com/vesoft/nebula/algorithm/ReadData.scala | 2 +- .../scala/com/vesoft/nebula/algorithm/reader/DataReader.scala | 4 ++-- .../scala/com/vesoft/nebula/algorithm/writer/AlgoWriter.scala | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/src/main/scala/com/vesoft/nebula/algorithm/AlgoPerformanceTest.scala b/example/src/main/scala/com/vesoft/nebula/algorithm/AlgoPerformanceTest.scala index 7900b12..93b6ade 100644 --- a/example/src/main/scala/com/vesoft/nebula/algorithm/AlgoPerformanceTest.scala +++ b/example/src/main/scala/com/vesoft/nebula/algorithm/AlgoPerformanceTest.scala @@ -44,7 +44,7 @@ object AlgoPerformanceTest { .builder() .withMetaAddress("127.0.0.0.1:9559") .withTimeout(6000) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() val nebulaReadEdgeConfig: ReadNebulaConfig = ReadNebulaConfig .builder() diff --git a/example/src/main/scala/com/vesoft/nebula/algorithm/DeepQueryTest.scala b/example/src/main/scala/com/vesoft/nebula/algorithm/DeepQueryTest.scala index 3feaea5..505f007 100644 --- a/example/src/main/scala/com/vesoft/nebula/algorithm/DeepQueryTest.scala +++ b/example/src/main/scala/com/vesoft/nebula/algorithm/DeepQueryTest.scala @@ -39,7 +39,7 @@ object DeepQueryTest { .builder() .withMetaAddress("192.168.15.5:9559") .withTimeout(6000) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() val nebulaReadEdgeConfig: ReadNebulaConfig = ReadNebulaConfig .builder() diff --git a/example/src/main/scala/com/vesoft/nebula/algorithm/ReadData.scala b/example/src/main/scala/com/vesoft/nebula/algorithm/ReadData.scala index 8f0e070..7efd81e 100644 --- a/example/src/main/scala/com/vesoft/nebula/algorithm/ReadData.scala +++ b/example/src/main/scala/com/vesoft/nebula/algorithm/ReadData.scala @@ -67,7 +67,7 @@ object ReadData { .builder() .withMetaAddress("127.0.0.1:9559") .withTimeout(6000) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() val nebulaReadEdgeConfig: ReadNebulaConfig = ReadNebulaConfig .builder() diff --git a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/reader/DataReader.scala b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/reader/DataReader.scala index f351aa3..b1cbe28 100644 --- a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/reader/DataReader.scala +++ b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/reader/DataReader.scala @@ -43,7 +43,7 @@ class NebulaReader extends DataReader { NebulaConnectionConfig .builder() .withMetaAddress(metaAddress) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() val noColumn = weights.isEmpty @@ -99,7 +99,7 @@ final class NebulaNgqlReader extends NebulaReader { .builder() .withMetaAddress(metaAddress) .withGraphAddress(graphAddress) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() var dataset: DataFrame = null diff --git a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/writer/AlgoWriter.scala b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/writer/AlgoWriter.scala index 4af1dd0..e4da34d 100644 --- a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/writer/AlgoWriter.scala +++ b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/writer/AlgoWriter.scala @@ -42,7 +42,7 @@ final class NebulaWriter extends AlgoWriter { .builder() .withMetaAddress(metaAddress) .withGraphAddress(graphAddress) - .withConenctionRetry(2) + .withConnectionRetry(2) .build() val nebulaWriteVertexConfig = WriteNebulaVertexConfig .builder()