Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update PropertyType class #40

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package com.vesoft.nebula.exchange

import com.google.common.net.HostAndPort
import com.vesoft.nebula.PropertyType
import com.vesoft.nebula.client.graph.data.{
CASignedSSLParam,
HostAddress,
Expand All @@ -14,7 +15,7 @@ import com.vesoft.nebula.client.graph.data.{
}
import com.vesoft.nebula.client.meta.MetaClient
import com.vesoft.nebula.exchange.config.{SslConfigEntry, SslType, Type}
import com.vesoft.nebula.meta.{EdgeItem, PropertyType, TagItem}
import com.vesoft.nebula.meta.{EdgeItem, TagItem}
import org.apache.log4j.Logger

import scala.collection.JavaConverters._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
package com.vesoft.nebula.exchange.processor

import com.vesoft.nebula.{
Coordinate,
Date,
DateTime,
NullType,
Time,
Value,
Geography,
Coordinate,
Point,
LineString,
Polygon
NullType,
Point,
Polygon,
PropertyType,
Time,
Value
}
import com.vesoft.nebula.exchange.utils.NebulaUtils.DEFAULT_EMPTY_VALUE
import com.vesoft.nebula.exchange.utils.{HDFSUtils, NebulaUtils}
import com.vesoft.nebula.meta.PropertyType
import org.apache.spark.sql.Row
import org.apache.spark.sql.types.{IntegerType, LongType, StringType}

import scala.collection.JavaConverters._
import scala.collection.mutable.ListBuffer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ package scala.com.vesoft.nebula.exchange.processor

import com.vesoft.nebula.exchange.processor.Processor
import com.vesoft.nebula.{
Coordinate,
Date,
DateTime,
NullType,
Time,
Value,
Geography,
Coordinate,
Point,
LineString,
Polygon
NullType,
Point,
Polygon,
PropertyType,
Time,
Value
}
import com.vesoft.nebula.meta.PropertyType
import org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema
import org.apache.spark.sql.types.{
BooleanType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
package scala.com.vesoft.nebula.exchange.utils

import com.google.common.net.HostAndPort
import com.vesoft.nebula.PropertyType
import com.vesoft.nebula.client.graph.NebulaPoolConfig
import com.vesoft.nebula.client.graph.data.HostAddress
import com.vesoft.nebula.client.graph.net.NebulaPool
import com.vesoft.nebula.client.storage.StorageClient
import com.vesoft.nebula.exchange.config.{
NebulaSinkConfigEntry,
SinkCategory,
Expand All @@ -18,7 +18,6 @@ import com.vesoft.nebula.exchange.config.{
}
import com.vesoft.nebula.exchange.utils.NebulaUtils
import com.vesoft.nebula.exchange.{KeyPolicy, MetaProvider, VidType}
import com.vesoft.nebula.meta.PropertyType
import org.apache.log4j.Logger
import org.junit.{After, Before, Test}

Expand Down