diff --git a/community/bolt/src/main/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverter.java b/community/bolt/src/main/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverter.java index 91b19d1754c9a..5d0f7dd30c152 100644 --- a/community/bolt/src/main/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverter.java +++ b/community/bolt/src/main/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverter.java @@ -25,7 +25,7 @@ import java.util.Map; import org.neo4j.graphdb.ExecutionPlanDescription; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.virtual.ListValue; import org.neo4j.values.virtual.MapValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/logging/BoltMessageLoggerImplTest.java b/community/bolt/src/test/java/org/neo4j/bolt/logging/BoltMessageLoggerImplTest.java index f1f33fa518cad..afa07402d3125 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/logging/BoltMessageLoggerImplTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/logging/BoltMessageLoggerImplTest.java @@ -19,8 +19,6 @@ */ package org.neo4j.bolt.logging; -import java.net.InetSocketAddress; - import io.netty.channel.Channel; import io.netty.channel.unix.DomainSocketAddress; import io.netty.util.Attribute; @@ -30,6 +28,8 @@ import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; +import java.net.InetSocketAddress; + import org.neo4j.bolt.v1.runtime.Neo4jError; import org.neo4j.kernel.DeadlockDetectedException; @@ -37,10 +37,9 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; - import static org.neo4j.bolt.logging.BoltMessageLoggerImpl.CORRELATION_ATTRIBUTE_KEY; -import static org.neo4j.helpers.ValueUtils.asMapValue; import static org.neo4j.helpers.collection.MapUtil.map; +import static org.neo4j.kernel.impl.util.ValueUtils.asMapValue; @RunWith( MockitoJUnitRunner.class ) public class BoltMessageLoggerImplTest diff --git a/community/bolt/src/test/java/org/neo4j/bolt/testing/BoltMatchers.java b/community/bolt/src/test/java/org/neo4j/bolt/testing/BoltMatchers.java index 0ef9b9b00aef2..ae15245550e1c 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/testing/BoltMatchers.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/testing/BoltMatchers.java @@ -33,8 +33,8 @@ import org.neo4j.cypher.result.QueryResult; import org.neo4j.function.ThrowingAction; import org.neo4j.function.ThrowingBiConsumer; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.storable.TextValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageTest.java index 73564940e9473..96617373141b6 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageTest.java @@ -30,8 +30,8 @@ import org.neo4j.bolt.v1.messaging.message.RunMessage; import org.neo4j.bolt.v1.packstream.BufferedChannelInput; import org.neo4j.bolt.v1.packstream.BufferedChannelOutput; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.impl.util.HexPrinter; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.virtual.EdgeValue; import org.neo4j.values.virtual.MapValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageWriter.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageWriter.java index f18c08326d339..34bd8c8f24616 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageWriter.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltRequestMessageWriter.java @@ -24,7 +24,7 @@ import org.neo4j.bolt.v1.messaging.message.RequestMessage; import org.neo4j.bolt.v1.runtime.Neo4jError; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.virtual.MapValue; import static org.neo4j.bolt.v1.messaging.BoltRequestMessage.ACK_FAILURE; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltResponseMessageTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltResponseMessageTest.java index 406e85cf04270..1e9da491dfd5b 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltResponseMessageTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/BoltResponseMessageTest.java @@ -34,9 +34,9 @@ import org.neo4j.bolt.v1.messaging.message.SuccessMessage; import org.neo4j.bolt.v1.packstream.BufferedChannelInput; import org.neo4j.bolt.v1.packstream.BufferedChannelOutput; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; import org.neo4j.kernel.impl.util.HexPrinter; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.virtual.EdgeValue; import org.neo4j.values.virtual.NodeValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/Neo4jPackTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/Neo4jPackTest.java index f7c888415047d..5c6b7bc79809b 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/Neo4jPackTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/messaging/Neo4jPackTest.java @@ -33,8 +33,8 @@ import org.neo4j.bolt.v1.packstream.PackedInputArray; import org.neo4j.bolt.v1.packstream.PackedOutputArray; import org.neo4j.bolt.v1.runtime.Neo4jError; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.storable.TextArray; import org.neo4j.values.storable.TextValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverterTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverterTest.java index 7ad1a25f9d767..d4e7e95c0b4a3 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverterTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ExecutionPlanConverterTest.java @@ -27,9 +27,9 @@ import java.util.Set; import org.neo4j.graphdb.ExecutionPlanDescription; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.Iterators; import org.neo4j.helpers.collection.MapUtil; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.storable.DoubleValue; import org.neo4j.values.virtual.MapValue; import org.neo4j.values.virtual.VirtualValues; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ResetFuzzTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ResetFuzzTest.java index f557f49379725..b8362699e332a 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ResetFuzzTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/ResetFuzzTest.java @@ -19,6 +19,9 @@ */ package org.neo4j.bolt.v1.runtime; +import org.junit.After; +import org.junit.Test; + import java.io.IOException; import java.time.Clock; import java.util.Collections; @@ -28,9 +31,6 @@ import java.util.Random; import java.util.concurrent.atomic.AtomicLong; -import org.junit.After; -import org.junit.Test; - import org.neo4j.bolt.BoltChannel; import org.neo4j.bolt.BoltConnectionDescriptor; import org.neo4j.bolt.logging.NullBoltMessageLogger; @@ -44,23 +44,21 @@ import org.neo4j.bolt.v1.runtime.concurrent.ThreadedWorkerFactory; import org.neo4j.concurrent.Runnables; import org.neo4j.cypher.result.QueryResult; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.Iterables; import org.neo4j.helpers.collection.MapUtil; import org.neo4j.kernel.api.exceptions.Status; import org.neo4j.kernel.impl.logging.NullLogService; import org.neo4j.kernel.impl.util.Neo4jJobScheduler; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.kernel.lifecycle.LifeSupport; import org.neo4j.logging.NullLog; import org.neo4j.values.virtual.MapValue; import static java.util.Arrays.asList; import static java.util.Collections.singletonList; - import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import static org.mockito.Mockito.mock; - import static org.neo4j.bolt.testing.NullResponseHandler.nullResponseHandler; import static org.neo4j.bolt.v1.messaging.BoltResponseMessage.SUCCESS; import static org.neo4j.bolt.v1.messaging.message.DiscardAllMessage.discardAll; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/TransactionStateMachineTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/TransactionStateMachineTest.java index 8aa463b9525fe..0c1b2cf279452 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/TransactionStateMachineTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/TransactionStateMachineTest.java @@ -22,9 +22,9 @@ import org.junit.Before; import org.junit.Test; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.MapUtil; import org.neo4j.kernel.impl.query.QueryExecutionKernelException; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.time.FakeClock; import org.neo4j.values.virtual.MapValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/bookmarking/BookmarkTest.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/bookmarking/BookmarkTest.java index d10849d75351b..4124815bc3b7b 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/bookmarking/BookmarkTest.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/bookmarking/BookmarkTest.java @@ -25,7 +25,7 @@ import java.util.HashMap; import java.util.Map; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.virtual.MapValue; import org.neo4j.values.virtual.VirtualValues; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/BoltConnectionIT.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/BoltConnectionIT.java index f3974e006486c..687ecec625f35 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/BoltConnectionIT.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/BoltConnectionIT.java @@ -36,9 +36,9 @@ import org.neo4j.bolt.v1.runtime.Neo4jError; import org.neo4j.bolt.v1.runtime.spi.BoltResult; import org.neo4j.cypher.result.QueryResult.Record; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.MapUtil; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.storable.LongValue; import org.neo4j.values.virtual.MapValue; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/TransactionIT.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/TransactionIT.java index 5eff5005eb582..963332400681a 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/TransactionIT.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/runtime/integration/TransactionIT.java @@ -28,7 +28,6 @@ import java.io.IOException; import java.io.PrintWriter; -import java.net.InetSocketAddress; import java.util.regex.Pattern; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; @@ -36,15 +35,14 @@ import org.neo4j.bolt.BoltChannel; import org.neo4j.bolt.testing.BoltResponseRecorder; -import org.neo4j.bolt.BoltConnectionDescriptor; import org.neo4j.bolt.v1.runtime.BoltConnectionFatality; import org.neo4j.bolt.v1.runtime.BoltStateMachine; import org.neo4j.concurrent.BinaryLatch; import org.neo4j.graphdb.Label; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Transaction; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.test.Barrier; import org.neo4j.test.DoubleLatch; import org.neo4j.test.rule.SuppressOutput; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/AuthenticationIT.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/AuthenticationIT.java index ddb6a416a8dd7..dacbe7897b8fb 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/AuthenticationIT.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/AuthenticationIT.java @@ -51,8 +51,8 @@ import org.neo4j.function.Factory; import org.neo4j.graphdb.factory.GraphDatabaseSettings; import org.neo4j.helpers.HostnamePort; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.kernel.internal.Version; import org.neo4j.test.TestGraphDatabaseFactory; import org.neo4j.test.rule.fs.EphemeralFileSystemRule; diff --git a/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/TransportSessionIT.java b/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/TransportSessionIT.java index 71a6f28d8824a..d3c16c8f0382e 100644 --- a/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/TransportSessionIT.java +++ b/community/bolt/src/test/java/org/neo4j/bolt/v1/transport/integration/TransportSessionIT.java @@ -40,8 +40,8 @@ import org.neo4j.graphdb.SeverityLevel; import org.neo4j.graphdb.factory.GraphDatabaseSettings; import org.neo4j.helpers.HostnamePort; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.api.exceptions.Status; +import org.neo4j.kernel.impl.util.ValueUtils; import static java.util.Arrays.asList; import static java.util.Collections.emptyMap; diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v2_3/ExecutionResultWrapper.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v2_3/ExecutionResultWrapper.scala index 633e818f24da3..40a809d5a06eb 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v2_3/ExecutionResultWrapper.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v2_3/ExecutionResultWrapper.scala @@ -42,7 +42,7 @@ import org.neo4j.cypher.result.QueryResult.Record import org.neo4j.graphdb.Result.ResultVisitor import org.neo4j.graphdb._ import org.neo4j.graphdb.impl.notification.{NotificationCode, NotificationDetail} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import scala.collection.JavaConverters._ diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_1/ExecutionResultWrapper.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_1/ExecutionResultWrapper.scala index 957de168e91f6..367f1cd55d77c 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_1/ExecutionResultWrapper.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_1/ExecutionResultWrapper.scala @@ -43,7 +43,7 @@ import org.neo4j.graphdb import org.neo4j.graphdb.Result.{ResultRow, ResultVisitor} import org.neo4j.graphdb.impl.notification.{NotificationCode, NotificationDetail} import org.neo4j.graphdb.{InputPosition, Notification, ResourceIterator} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import scala.collection.JavaConverters._ diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_2/ExecutionResultWrapper.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_2/ExecutionResultWrapper.scala index e020d4ff5002f..ee96e5b289eed 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_2/ExecutionResultWrapper.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_2/ExecutionResultWrapper.scala @@ -44,7 +44,7 @@ import org.neo4j.graphdb import org.neo4j.graphdb.Result.{ResultRow, ResultVisitor} import org.neo4j.graphdb.impl.notification.{NotificationCode, NotificationDetail} import org.neo4j.graphdb.{Notification, ResourceIterator} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import scala.collection.JavaConverters._ diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PointFunction.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PointFunction.scala index 0864272a9f681..aae52f6bfa2aa 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PointFunction.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PointFunction.scala @@ -25,7 +25,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.helpers.IsMap import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryState import org.neo4j.cypher.internal.frontend.v3_3.CypherTypeException -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.MapValue diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/ShortestPathExpression.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/ShortestPathExpression.scala index 88a6a7462a230..3dca46246fe04 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/ShortestPathExpression.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/ShortestPathExpression.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryState import org.neo4j.cypher.internal.frontend.v3_3.helpers.NonEmptyList import org.neo4j.cypher.internal.frontend.v3_3.{ShortestPathCommonEndNodesForbiddenException, SyntaxException} import org.neo4j.graphdb.{Path, PropertyContainer} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.{NodeValue, VirtualValues} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/executionplan/procs/ProcedureExecutionResult.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/executionplan/procs/ProcedureExecutionResult.scala index cbaf254e1244d..cf4d37d4eaa6a 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/executionplan/procs/ProcedureExecutionResult.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/executionplan/procs/ProcedureExecutionResult.scala @@ -33,8 +33,7 @@ import org.neo4j.cypher.internal.{InternalExecutionResult, QueryStatistics} import org.neo4j.cypher.result.QueryResult.{QueryResultVisitor, Record} import org.neo4j.graphdb.Notification import org.neo4j.graphdb.spatial.{Geometry, Point} -import org.neo4j.helpers.ValueUtils -import org.neo4j.helpers.ValueUtils._ +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.storable.Values.{of => _, _} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/helpers/ValueConversion.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/helpers/ValueConversion.scala index c15c3f770995f..6befe9d9fa1ba 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/helpers/ValueConversion.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/helpers/ValueConversion.scala @@ -24,7 +24,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.symbols import org.neo4j.cypher.internal.frontend.v3_3.symbols.CypherType import org.neo4j.graphdb.spatial.{Geometry, Point} import org.neo4j.graphdb.{Node, Path, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.storable.Values.byteArray diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/AllNodesScanPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/AllNodesScanPipe.scala index f83df9088e412..d815e2ae4c7fd 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/AllNodesScanPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/AllNodesScanPipe.scala @@ -21,7 +21,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils case class AllNodesScanPipe(ident: String)(val id: LogicalPlanId = LogicalPlanId.DEFAULT) extends Pipe { diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CachingExpandInto.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CachingExpandInto.scala index 89250aef9bc44..71b0ae1acad1f 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CachingExpandInto.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CachingExpandInto.scala @@ -22,8 +22,8 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} import org.neo4j.cypher.internal.spi.v3_3.QueryContext -import org.neo4j.helpers.ValueUtils import org.neo4j.helpers.collection.PrefetchingIterator +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.NO_VALUE import org.neo4j.values.virtual.{EdgeValue, NodeValue} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateNodePipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateNodePipe.scala index ef90a98c77c5b..baf7c7bbd0c98 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateNodePipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateNodePipe.scala @@ -25,10 +25,10 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Expression import org.neo4j.cypher.internal.compatibility.v3_3.runtime.helpers.IsMap import org.neo4j.cypher.internal.compatibility.v3_3.runtime.mutation.{GraphElementPropertyFunctions, makeValueNeoSafe} -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{CypherTypeException, InvalidSemanticsException} import org.neo4j.cypher.internal.spi.v3_3.QueryContext -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.{EdgeValue, NodeValue} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateRelationshipPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateRelationshipPipe.scala index 0049c2c791454..40b513b0beeae 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateRelationshipPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/CreateRelationshipPipe.scala @@ -25,10 +25,10 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Expression import org.neo4j.cypher.internal.compatibility.v3_3.runtime.helpers.IsMap import org.neo4j.cypher.internal.compatibility.v3_3.runtime.mutation.{GraphElementPropertyFunctions, makeValueNeoSafe} -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{CypherTypeException, InternalException, InvalidSemanticsException} import org.neo4j.cypher.internal.spi.v3_3.QueryContext -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.{EdgeValue, NodeValue} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipe.scala index c022f8ffb4925..b2047f7aff9a1 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipe.scala @@ -20,10 +20,10 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.Relationship -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.NodeValue diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FullPruningVarLengthExpandPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FullPruningVarLengthExpandPipe.scala index 1292a75253b45..8e019942771ab 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FullPruningVarLengthExpandPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FullPruningVarLengthExpandPipe.scala @@ -21,9 +21,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.collection.primitive.{Primitive, PrimitiveLongObjectMap} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.virtual.{EdgeValue, NodeValue} case class FullPruningVarLengthExpandPipe(source: Pipe, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/IdSeekIterator.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/IdSeekIterator.scala index e91dd5dd6acfe..c76deb630b41b 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/IdSeekIterator.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/IdSeekIterator.scala @@ -23,7 +23,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.NumericHelper import org.neo4j.cypher.internal.spi.v3_3.Operations import org.neo4j.graphdb.{Node, PropertyContainer, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue abstract class IdSeekIterator[T <: PropertyContainer] diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipe.scala index fffd700bfdd6c..966c5424711a2 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipe.scala @@ -21,7 +21,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils case class NodeByLabelScanPipe(ident: String, label: LazyLabel) (val id: LogicalPlanId = LogicalPlanId.DEFAULT) extends Pipe { diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexContainsScanPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexContainsScanPipe.scala index 4f602f57364dc..81cc52b4c2c66 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexContainsScanPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexContainsScanPipe.scala @@ -22,11 +22,11 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Expression import org.neo4j.cypher.internal.compiler.v3_3._ -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.CypherTypeException import org.neo4j.cypher.internal.frontend.v3_3.ast.{LabelToken, PropertyKeyToken} +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.storable.{TextValue, Values} abstract class AbstractNodeIndexStringScanPipe(ident: String, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipe.scala index ec2a5c386b1dc..08a3a67055850 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipe.scala @@ -21,9 +21,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compiler.v3_3._ -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.ast.{LabelToken, PropertyKeyToken} -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils case class NodeIndexScanPipe(ident: String, label: LabelToken, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipe.scala index 59f5b8c9c491a..99c0b38a65dc3 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipe.scala @@ -25,7 +25,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.indexQuery import org.neo4j.cypher.internal.compiler.v3_3._ import org.neo4j.cypher.internal.frontend.v3_3.ast.{LabelToken, PropertyKeyToken} import org.neo4j.cypher.internal.v3_3.logical.plans.{LogicalPlanId, QueryExpression} -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy case class NodeIndexSeekPipe(ident: String, label: LabelToken, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipe.scala index 876ba80ceee71..0d56c160fb0a1 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipe.scala @@ -21,9 +21,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.predicates.Predicate -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values import org.neo4j.values.virtual.NodeValue diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PruningVarLengthExpandPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PruningVarLengthExpandPipe.scala index 9eeddd9adbbf0..bdc6ab10a0b0a 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PruningVarLengthExpandPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PruningVarLengthExpandPipe.scala @@ -21,9 +21,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.collection.primitive.{Primitive, PrimitiveLongObjectMap} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.virtual.{EdgeValue, NodeValue} case class PruningVarLengthExpandPipe(source: Pipe, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/StartPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/StartPipe.scala index fb75e1ebd179b..aa71f3287e006 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/StartPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/StartPipe.scala @@ -21,10 +21,10 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.executionplan.{Effects, ReadsAllNodes} -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.symbols._ +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.{Node, PropertyContainer, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue sealed abstract class StartPipe[T <: PropertyContainer](source: Pipe, diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/VarLengthExpandPipe.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/VarLengthExpandPipe.scala index 2d95271b159ad..17219ad65eeda 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/VarLengthExpandPipe.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/VarLengthExpandPipe.scala @@ -20,9 +20,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.storable.Values import org.neo4j.values.virtual.{EdgeValue, NodeValue, VirtualValues} diff --git a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/matching/PatternRelationship.scala b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/matching/PatternRelationship.scala index d342c93cb54b9..37238a4a09065 100644 --- a/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/matching/PatternRelationship.scala +++ b/community/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/matching/PatternRelationship.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection.{BOTH, INCOMING, OUTGOING} import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.graphdb.Path -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.virtual.{EdgeValue, NodeValue} import scala.collection.JavaConverters._ diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/MatchingContextTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/MatchingContextTest.scala index 31d5530e64a22..5c2034844b386 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/MatchingContextTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/MatchingContextTest.scala @@ -32,7 +32,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.symbols.SymbolTable import org.neo4j.cypher.internal.compiler.v3_3.QueryStateTestSupport import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.symbols._ -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import scala.collection.Map diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/ImplicitValueConversion.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/ImplicitValueConversion.scala index 01d6d5b009391..4eecb2eec591e 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/ImplicitValueConversion.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/ImplicitValueConversion.scala @@ -21,7 +21,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.PathImpl import org.neo4j.graphdb.{Node, Path, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values._ import org.neo4j.values.storable.Values._ import org.neo4j.values.storable._ diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/LengthFunctionTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/LengthFunctionTest.scala index 70dd927711873..05e186ec050d5 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/LengthFunctionTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/LengthFunctionTest.scala @@ -25,7 +25,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryStateHelper import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.storable.Values.intValue class LengthFunctionTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PathValueBuilderTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PathValueBuilderTest.scala index 95b72c5188e52..f81a87c1339cf 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PathValueBuilderTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/commands/expressions/PathValueBuilderTest.scala @@ -23,7 +23,7 @@ import org.mockito.Mockito import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ImplicitValueConversion._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.graphdb.{Node, Relationship, RelationshipType} -import org.neo4j.helpers.ValueUtils.asPathValue +import org.neo4j.kernel.impl.util.ValueUtils.asPathValue import org.neo4j.values.storable.Values.NO_VALUE class PathValueBuilderTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/mutation/GraphElementPropertyFunctionsTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/mutation/GraphElementPropertyFunctionsTest.scala index d9e0c47d2fa6b..ff38b6d2974c1 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/mutation/GraphElementPropertyFunctionsTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/mutation/GraphElementPropertyFunctionsTest.scala @@ -20,7 +20,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.mutation import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.storable.ArrayValue import org.neo4j.values.storable.Values._ diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipeTest.scala index cdc4b2c22a9a5..6041e66c283ad 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandAllPipeTest.scala @@ -19,7 +19,6 @@ */ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes -import org.mockito.Matchers import org.mockito.Matchers._ import org.mockito.Mockito._ import org.mockito.invocation.InvocationOnMock @@ -29,8 +28,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils class ExpandAllPipeTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandIntoPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandIntoPipeTest.scala index 4c1f5f06a5c36..382aa39fd25ad 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandIntoPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ExpandIntoPipeTest.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.graphdb.Relationship -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} class ExpandIntoPipeTest extends CypherFunSuite with PipeTestSupport { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FakePipe.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FakePipe.scala index e9d339bf4877d..8c8789c90efb2 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FakePipe.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/FakePipe.scala @@ -20,9 +20,9 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.symbols.CypherType -import org.neo4j.helpers.ValueUtils +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId +import org.neo4j.kernel.impl.util.ValueUtils import org.scalatest.mock.MockitoSugar import scala.collection.Map diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByIdSeekPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByIdSeekPipeTest.scala index 203ed4930a82e..dcad7a4e48bf3 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByIdSeekPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByIdSeekPipeTest.scala @@ -24,7 +24,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.{Operations, QueryContext} import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy class NodeByIdSeekPipeTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipeTest.scala index abc3ee26ecd9a..742a7d65f7919 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeByLabelScanPipeTest.scala @@ -24,7 +24,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.frontend.v3_3.{LabelId, SemanticTable} import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy class NodeByLabelScanPipeTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeHashJoinPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeHashJoinPipeTest.scala index 0192dc91cdda2..80d704dae64ea 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeHashJoinPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeHashJoinPipeTest.scala @@ -29,7 +29,7 @@ import org.neo4j.cypher.internal.compiler.v3_3.test_helpers.TestableIterator import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.{NO_VALUE, intValue} diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipeTest.scala index e42ba9bb89242..3045418168f6b 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexScanPipeTest.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.frontend.v3_3.{LabelId, PropertyKeyId} import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy class NodeIndexScanPipeTest extends CypherFunSuite with AstConstructionTestSupport { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipeTest.scala index cb2edf043b75e..eac42c738af57 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeIndexSeekPipeTest.scala @@ -31,7 +31,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.{CypherTypeException, LabelId, Pr import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.cypher.internal.v3_3.logical.plans.{CompositeQueryExpression, ManyQueryExpression, SingleQueryExpression} import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.storable.Values.stringValue class NodeIndexSeekPipeTest extends CypherFunSuite with AstConstructionTestSupport { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeOuterHashJoinPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeOuterHashJoinPipeTest.scala index 88fbc07876106..c66d2d87c89b7 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeOuterHashJoinPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/NodeOuterHashJoinPipeTest.scala @@ -26,7 +26,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ImplicitValueConvers import org.neo4j.cypher.internal.compiler.v3_3.test_helpers.TestableIterator import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.{NO_VALUE, intValue} diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipeTest.scala index eeb5242d4da19..527e2ff65e561 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandAllPipeTest.scala @@ -30,7 +30,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.NO_VALUE diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandIntoPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandIntoPipeTest.scala index ba16ec71a23d1..4e9a570c2509c 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandIntoPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/OptionalExpandIntoPipeTest.scala @@ -30,7 +30,7 @@ import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.NO_VALUE diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PipeTestSupport.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PipeTestSupport.scala index f202d3f9e2c76..3e3769a3075d9 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PipeTestSupport.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/PipeTestSupport.scala @@ -24,13 +24,13 @@ import org.mockito.Mockito._ import org.mockito.invocation.InvocationOnMock import org.mockito.stubbing.Answer import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.symbols.{CypherType, _} import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherTestSupport import org.neo4j.cypher.internal.spi.v3_3.QueryContext +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.scalatest.mock.MockitoSugar trait PipeTestSupport extends CypherTestSupport with MockitoSugar { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ProjectEndpointsPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ProjectEndpointsPipeTest.scala index 64c3cfebe6886..a99f8313afe5c 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ProjectEndpointsPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/ProjectEndpointsPipeTest.scala @@ -29,7 +29,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ImplicitValueConvers import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.QueryContext import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils.{asListOfEdges, fromNodeProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{asListOfEdges, fromNodeProxy} import org.neo4j.values.AnyValue class ProjectEndpointsPipeTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TopPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TopPipeTest.scala index bb7772428b3f1..3cf5a1dd894be 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TopPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TopPipeTest.scala @@ -22,7 +22,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Literal import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import scala.util.Random diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TriadicSelectionPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TriadicSelectionPipeTest.scala index f824855c6a73b..1d6a6ab3e36b2 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TriadicSelectionPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/TriadicSelectionPipeTest.scala @@ -23,8 +23,8 @@ import org.neo4j.collection.primitive.PrimitiveLongIterable import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils import org.neo4j.kernel.impl.core.NodeProxy +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.virtual.NodeValue diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/UndirectedDirectedRelationshipByIdSeekPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/UndirectedDirectedRelationshipByIdSeekPipeTest.scala index e18e0614182dc..d1ca1f27114c2 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/UndirectedDirectedRelationshipByIdSeekPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/UndirectedDirectedRelationshipByIdSeekPipeTest.scala @@ -26,7 +26,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite import org.neo4j.cypher.internal.spi.v3_3.{Operations, QueryContext} import org.neo4j.graphdb.{Node, Relationship} -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} class UndirectedDirectedRelationshipByIdSeekPipeTest extends CypherFunSuite { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/PercentileFunctionsTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/PercentileFunctionsTest.scala index 8e41dfc2d782b..4e25673bc1a46 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/PercentileFunctionsTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/PercentileFunctionsTest.scala @@ -23,7 +23,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.{Expression, Literal, NumericHelper, Variable} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryStateHelper import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable.Values.doubleValue diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/StdevFunctionTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/StdevFunctionTest.scala index a8c342aee6462..075e02d89c8c8 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/StdevFunctionTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/pipes/aggregation/StdevFunctionTest.scala @@ -23,7 +23,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.{Expression, NumericHelper, Variable} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryStateHelper import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.storable.DoubleValue trait StdevTest { diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/AllShortestPathsPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/AllShortestPathsPipeTest.scala index b07591e16a729..0f6b46698b9ed 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/AllShortestPathsPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/AllShortestPathsPipeTest.scala @@ -26,7 +26,7 @@ import org.neo4j.cypher.internal.compiler.v3_3.QueryStateHelper.withQueryState import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.virtual.PathValue import org.neo4j.values.virtual.VirtualValues.EMPTY_MAP diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/PathExpressionTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/PathExpressionTest.scala index 460a8c7f65635..71cfd3da309d1 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/PathExpressionTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/PathExpressionTest.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.predicates.{NonEmpty, True} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.values.UnresolvedLabel import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.storable.Values.{FALSE, TRUE} import org.neo4j.values.virtual.PathValue diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/SingleShortestPathPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/SingleShortestPathPipeTest.scala index 7d6637e76fa7f..58ea9b438bff4 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/SingleShortestPathPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/SingleShortestPathPipeTest.scala @@ -26,7 +26,7 @@ import org.neo4j.cypher.internal.compiler.v3_3.QueryStateHelper.withQueryState import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.{fromNodeProxy, fromRelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils.{fromNodeProxy, fromRelationshipProxy} import org.neo4j.values.virtual.PathValue import org.neo4j.values.virtual.VirtualValues.EMPTY_MAP diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/FullPruningVarLengthExpandPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/FullPruningVarLengthExpandPipeTest.scala index 3c6c8e06b94da..2950e1e5f613f 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/FullPruningVarLengthExpandPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/FullPruningVarLengthExpandPipeTest.scala @@ -29,9 +29,9 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes._ import org.neo4j.cypher.internal.compiler.v3_3.QueryStateHelper.withQueryState import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils.fromNodeProxy import org.neo4j.kernel.api.KernelTransaction.Type import org.neo4j.kernel.api.security.SecurityContext +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.virtual.VirtualValues.EMPTY_MAP import org.neo4j.values.virtual.{EdgeValue, NodeValue} diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/PruningVarLengthExpandPipeTest.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/PruningVarLengthExpandPipeTest.scala index ac04b9eb273db..d3ab3a8e3b8f5 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/PruningVarLengthExpandPipeTest.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v3_3/pipes/PruningVarLengthExpandPipeTest.scala @@ -28,9 +28,9 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes._ import org.neo4j.cypher.internal.compiler.v3_3.QueryStateHelper.withQueryState import org.neo4j.cypher.internal.frontend.v3_3.SemanticDirection import org.neo4j.graphdb.Node -import org.neo4j.helpers.ValueUtils._ import org.neo4j.kernel.api.KernelTransaction.Type import org.neo4j.kernel.api.security.SecurityContext +import org.neo4j.kernel.impl.util.ValueUtils._ import org.neo4j.values.virtual.VirtualValues.EMPTY_MAP import org.neo4j.values.virtual.{EdgeValue, NodeValue} diff --git a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/helpers/GraphIcing.scala b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/helpers/GraphIcing.scala index d087036270170..ce2078ab37a8e 100644 --- a/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/helpers/GraphIcing.scala +++ b/community/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/helpers/GraphIcing.scala @@ -27,7 +27,6 @@ import org.neo4j.cypher.internal.isGraphKernelResultValue import org.neo4j.cypher.javacompat.internal.GraphDatabaseCypherService import org.neo4j.graphdb.Label._ import org.neo4j.graphdb._ -import org.neo4j.helpers.ValueUtils.asMapValue import org.neo4j.kernel.GraphDatabaseQueryService import org.neo4j.kernel.api.KernelTransaction.Type import org.neo4j.kernel.api.Statement @@ -38,6 +37,7 @@ import org.neo4j.kernel.impl.factory.GraphDatabaseFacade import org.neo4j.kernel.impl.query._ import org.neo4j.kernel.impl.query.clientconnection.ClientConnectionInfo import org.neo4j.kernel.impl.transaction.TransactionStats +import org.neo4j.kernel.impl.util.ValueUtils.asMapValue import scala.collection.JavaConverters._ diff --git a/community/kernel/src/main/java/org/neo4j/helpers/NodeProxyWrappingNodeValue.java b/community/kernel/src/main/java/org/neo4j/helpers/NodeProxyWrappingNodeValue.java index 365e7eb1be802..d80a27632e76d 100644 --- a/community/kernel/src/main/java/org/neo4j/helpers/NodeProxyWrappingNodeValue.java +++ b/community/kernel/src/main/java/org/neo4j/helpers/NodeProxyWrappingNodeValue.java @@ -24,6 +24,7 @@ import org.neo4j.graphdb.Label; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.NotFoundException; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValueWriter; import org.neo4j.values.storable.TextArray; import org.neo4j.values.storable.Values; diff --git a/community/kernel/src/main/java/org/neo4j/helpers/RelationshipProxyWrappingEdgeValue.java b/community/kernel/src/main/java/org/neo4j/helpers/RelationshipProxyWrappingEdgeValue.java index 8fdf29088a533..4485350170bba 100644 --- a/community/kernel/src/main/java/org/neo4j/helpers/RelationshipProxyWrappingEdgeValue.java +++ b/community/kernel/src/main/java/org/neo4j/helpers/RelationshipProxyWrappingEdgeValue.java @@ -21,6 +21,7 @@ import org.neo4j.graphdb.NotFoundException; import org.neo4j.graphdb.Relationship; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValueWriter; import org.neo4j.values.storable.TextValue; import org.neo4j.values.storable.Values; diff --git a/community/kernel/src/main/java/org/neo4j/kernel/impl/factory/GraphDatabaseFacade.java b/community/kernel/src/main/java/org/neo4j/kernel/impl/factory/GraphDatabaseFacade.java index a03c9dd1dcb8f..9ba013508c11f 100644 --- a/community/kernel/src/main/java/org/neo4j/kernel/impl/factory/GraphDatabaseFacade.java +++ b/community/kernel/src/main/java/org/neo4j/kernel/impl/factory/GraphDatabaseFacade.java @@ -52,7 +52,6 @@ import org.neo4j.graphdb.security.URLAccessValidationError; import org.neo4j.graphdb.traversal.BidirectionalTraversalDescription; import org.neo4j.graphdb.traversal.TraversalDescription; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.PrefetchingResourceIterator; import org.neo4j.helpers.collection.ResourceClosingIterator; import org.neo4j.kernel.GraphDatabaseQueryService; @@ -100,6 +99,7 @@ import org.neo4j.kernel.impl.store.StoreId; import org.neo4j.kernel.impl.traversal.BidirectionalTraversalDescriptionImpl; import org.neo4j.kernel.impl.traversal.MonoDirectionalTraversalDescription; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.kernel.internal.GraphDatabaseAPI; import org.neo4j.storageengine.api.EntityType; import org.neo4j.values.storable.Value; diff --git a/community/kernel/src/main/java/org/neo4j/helpers/ValueUtils.java b/community/kernel/src/main/java/org/neo4j/kernel/impl/util/ValueUtils.java similarity index 98% rename from community/kernel/src/main/java/org/neo4j/helpers/ValueUtils.java rename to community/kernel/src/main/java/org/neo4j/kernel/impl/util/ValueUtils.java index ff2621638f49e..77ffacd5d3598 100644 --- a/community/kernel/src/main/java/org/neo4j/helpers/ValueUtils.java +++ b/community/kernel/src/main/java/org/neo4j/kernel/impl/util/ValueUtils.java @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.neo4j.helpers; +package org.neo4j.kernel.impl.util; import java.util.ArrayList; import java.util.HashMap; @@ -34,6 +34,8 @@ import org.neo4j.graphdb.Relationship; import org.neo4j.graphdb.spatial.Geometry; import org.neo4j.graphdb.spatial.Point; +import org.neo4j.helpers.NodeProxyWrappingNodeValue; +import org.neo4j.helpers.RelationshipProxyWrappingEdgeValue; import org.neo4j.helpers.collection.Iterables; import org.neo4j.values.AnyValue; import org.neo4j.values.AnyValueWriter; diff --git a/community/kernel/src/test/java/org/neo4j/helpers/ValueUtilsTest.java b/community/kernel/src/test/java/org/neo4j/helpers/ValueUtilsTest.java index 7d8ab9b5144f1..a571ceaf9f756 100644 --- a/community/kernel/src/test/java/org/neo4j/helpers/ValueUtilsTest.java +++ b/community/kernel/src/test/java/org/neo4j/helpers/ValueUtilsTest.java @@ -27,6 +27,7 @@ import java.util.Map; import org.neo4j.helpers.collection.MapUtil; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.values.AnyValue; import org.neo4j.values.virtual.ListValue; import org.neo4j.values.virtual.MapValue; diff --git a/community/server/src/main/java/org/neo4j/server/database/CypherExecutor.java b/community/server/src/main/java/org/neo4j/server/database/CypherExecutor.java index 8d9a7f22d9ea7..d41c85920f7d5 100644 --- a/community/server/src/main/java/org/neo4j/server/database/CypherExecutor.java +++ b/community/server/src/main/java/org/neo4j/server/database/CypherExecutor.java @@ -39,8 +39,8 @@ import org.neo4j.logging.LogProvider; import org.neo4j.server.rest.web.HttpConnectionInfoFactory; -import static org.neo4j.helpers.ValueUtils.asMapValue; import static org.neo4j.kernel.api.security.SecurityContext.AUTH_DISABLED; +import static org.neo4j.kernel.impl.util.ValueUtils.asMapValue; import static org.neo4j.server.web.HttpHeaderUtils.getTransactionTimeout; public class CypherExecutor extends LifecycleAdapter diff --git a/community/server/src/main/java/org/neo4j/server/rest/transactional/TransitionalPeriodTransactionMessContainer.java b/community/server/src/main/java/org/neo4j/server/rest/transactional/TransitionalPeriodTransactionMessContainer.java index 06bea11d0d8c9..09337090cf7b0 100644 --- a/community/server/src/main/java/org/neo4j/server/rest/transactional/TransitionalPeriodTransactionMessContainer.java +++ b/community/server/src/main/java/org/neo4j/server/rest/transactional/TransitionalPeriodTransactionMessContainer.java @@ -22,7 +22,6 @@ import java.util.Map; import javax.servlet.http.HttpServletRequest; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.GraphDatabaseQueryService; import org.neo4j.kernel.api.KernelTransaction.Type; import org.neo4j.kernel.api.security.SecurityContext; @@ -34,6 +33,7 @@ import org.neo4j.kernel.impl.query.TransactionalContext; import org.neo4j.kernel.impl.query.TransactionalContextFactory; import org.neo4j.kernel.impl.query.clientconnection.ClientConnectionInfo; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.server.rest.web.HttpConnectionInfoFactory; public class TransitionalPeriodTransactionMessContainer diff --git a/community/shell/src/main/java/org/neo4j/shell/kernel/apps/cypher/Start.java b/community/shell/src/main/java/org/neo4j/shell/kernel/apps/cypher/Start.java index 71ca2cebfd0da..df9767cbff01b 100644 --- a/community/shell/src/main/java/org/neo4j/shell/kernel/apps/cypher/Start.java +++ b/community/shell/src/main/java/org/neo4j/shell/kernel/apps/cypher/Start.java @@ -27,7 +27,6 @@ import org.neo4j.graphdb.DependencyResolver; import org.neo4j.graphdb.Result; import org.neo4j.helpers.Service; -import org.neo4j.helpers.ValueUtils; import org.neo4j.kernel.GraphDatabaseQueryService; import org.neo4j.kernel.api.KernelTransaction; import org.neo4j.kernel.api.security.SecurityContext; @@ -39,6 +38,7 @@ import org.neo4j.kernel.impl.query.TransactionalContext; import org.neo4j.kernel.impl.query.TransactionalContextFactory; import org.neo4j.kernel.impl.query.clientconnection.ShellConnectionInfo; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.shell.App; import org.neo4j.shell.AppCommandParser; import org.neo4j.shell.Continuation; diff --git a/enterprise/causal-clustering/src/test/java/org/neo4j/causalclustering/scenarios/ServerPoliciesLoadBalancingIT.java b/enterprise/causal-clustering/src/test/java/org/neo4j/causalclustering/scenarios/ServerPoliciesLoadBalancingIT.java index c23b2227b4d54..1ec22af17f491 100644 --- a/enterprise/causal-clustering/src/test/java/org/neo4j/causalclustering/scenarios/ServerPoliciesLoadBalancingIT.java +++ b/enterprise/causal-clustering/src/test/java/org/neo4j/causalclustering/scenarios/ServerPoliciesLoadBalancingIT.java @@ -48,12 +48,12 @@ import org.neo4j.function.ThrowingSupplier; import org.neo4j.graphdb.Result; import org.neo4j.helpers.AdvertisedSocketAddress; -import org.neo4j.helpers.ValueUtils; import org.neo4j.helpers.collection.MapUtil; import org.neo4j.kernel.api.KernelTransaction; import org.neo4j.kernel.enterprise.api.security.EnterpriseSecurityContext; import org.neo4j.kernel.impl.coreapi.InternalTransaction; import org.neo4j.kernel.impl.store.format.standard.Standard; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.test.rule.TestDirectory; import org.neo4j.test.rule.fs.DefaultFileSystemRule; diff --git a/enterprise/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/spi/v3_3/codegen/GeneratedMethodStructure.scala b/enterprise/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/spi/v3_3/codegen/GeneratedMethodStructure.scala index eb6a564c9c4a5..928ef4417736b 100644 --- a/enterprise/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/spi/v3_3/codegen/GeneratedMethodStructure.scala +++ b/enterprise/cypher/cypher/src/main/scala/org/neo4j/cypher/internal/spi/v3_3/codegen/GeneratedMethodStructure.scala @@ -34,7 +34,6 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.convert.Dir import org.neo4j.cypher.internal.compatibility.v3_3.runtime.compiled.codegen.ir.expressions.{BoolType, CodeGenType, CypherCodeGenType, FloatType, ListReferenceType, LongType, ReferenceType, RepresentationType, Parameter => _} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.compiled.codegen.spi._ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.compiled.codegen.{CodeGenContext, QueryExecutionEvent} -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.compiler.v3_3.spi.{NodeIdWrapper, RelationshipIdWrapper} import org.neo4j.cypher.internal.frontend.v3_3.helpers._ import org.neo4j.cypher.internal.frontend.v3_3.symbols.{CTInteger, CTNode, CTRelationship, ListType} @@ -42,13 +41,14 @@ import org.neo4j.cypher.internal.frontend.v3_3.{ParameterNotFoundException, Sema import org.neo4j.cypher.internal.spi.v3_3.codegen.GeneratedMethodStructure.CompletableFinalizer import org.neo4j.cypher.internal.spi.v3_3.codegen.Methods._ import org.neo4j.cypher.internal.spi.v3_3.codegen.Templates._ +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.{Direction, Node, Relationship} -import org.neo4j.helpers.ValueUtils import org.neo4j.kernel.api.ReadOperations import org.neo4j.kernel.api.schema.index.{IndexDescriptor, IndexDescriptorFactory} import org.neo4j.kernel.api.schema.{IndexQuery, LabelSchemaDescriptor} import org.neo4j.kernel.impl.api.RelationshipDataExtractor import org.neo4j.kernel.impl.api.store.RelationshipIterator +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable._ import org.neo4j.values.virtual.{EdgeValue, MapValue, NodeValue} diff --git a/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CodeGeneratorTest.scala b/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CodeGeneratorTest.scala index a10d721a8f196..7203a38b2f65b 100644 --- a/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CodeGeneratorTest.scala +++ b/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CodeGeneratorTest.scala @@ -44,11 +44,11 @@ import org.neo4j.cypher.internal.v3_3.logical.plans import org.neo4j.cypher.internal.v3_3.logical.plans.{Ascending, Descending, _} import org.neo4j.graphdb.Result.{ResultRow, ResultVisitor} import org.neo4j.graphdb._ -import org.neo4j.helpers.ValueUtils import org.neo4j.kernel.api.ReadOperations import org.neo4j.kernel.impl.api.RelationshipVisitor import org.neo4j.kernel.impl.api.store.RelationshipIterator import org.neo4j.kernel.impl.core.{NodeManager, NodeProxy, RelationshipProxy} +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.time.Clocks import org.neo4j.values.AnyValue import org.neo4j.values.storable._ diff --git a/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CompiledExecutionResultTest.scala b/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CompiledExecutionResultTest.scala index 37e10247736c9..99eee3efa178d 100644 --- a/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CompiledExecutionResultTest.scala +++ b/enterprise/cypher/cypher/src/test/scala/org/neo4j/cypher/internal/compiled_runtime/v3_3/codegen/CompiledExecutionResultTest.scala @@ -37,8 +37,8 @@ import org.neo4j.cypher.internal.v3_3.executionplan.GeneratedQueryExecution import org.neo4j.cypher.result.QueryResult.QueryResultVisitor import org.neo4j.graphdb.NotFoundException import org.neo4j.graphdb.Result.{ResultRow, ResultVisitor} -import org.neo4j.helpers.ValueUtils import org.neo4j.helpers.collection.Iterators +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue import org.neo4j.values.storable._ import org.neo4j.values.virtual.{ListValue, MapValue} diff --git a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/PrimitiveExecutionContext.scala b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/PrimitiveExecutionContext.scala index f5feda072a9f2..9efe101a2ff2b 100644 --- a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/PrimitiveExecutionContext.scala +++ b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/PrimitiveExecutionContext.scala @@ -21,7 +21,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.slotted import org.neo4j.cypher.internal.compatibility.v3_3.runtime.{ExecutionContext, PipelineInformation} import org.neo4j.cypher.internal.frontend.v3_3.InternalException -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.AnyValue object PrimitiveExecutionContext { diff --git a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/NodeFromSlot.scala b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/NodeFromSlot.scala index ff0654df22004..1cb013f89fc32 100644 --- a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/NodeFromSlot.scala +++ b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/NodeFromSlot.scala @@ -22,7 +22,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.slotted.expressions import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Expression import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryState -import org.neo4j.helpers.ValueUtils.fromNodeProxy +import org.neo4j.kernel.impl.util.ValueUtils.fromNodeProxy import org.neo4j.values.virtual.NodeValue case class NodeFromSlot(offset: Int) extends Expression with SlottedExpression { diff --git a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/RelationshipFromSlot.scala b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/RelationshipFromSlot.scala index af2f766f6c534..b10cd657e422a 100644 --- a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/RelationshipFromSlot.scala +++ b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/expressions/RelationshipFromSlot.scala @@ -22,7 +22,7 @@ package org.neo4j.cypher.internal.compatibility.v3_3.runtime.slotted.expressions import org.neo4j.cypher.internal.compatibility.v3_3.runtime.ExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.expressions.Expression import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.QueryState -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import org.neo4j.values.virtual.EdgeValue case class RelationshipFromSlot(offset: Int) extends Expression with SlottedExpression { diff --git a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/VarLengthExpandSlottedPipe.scala b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/VarLengthExpandSlottedPipe.scala index 44b563230916d..766e51f432ffa 100644 --- a/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/VarLengthExpandSlottedPipe.scala +++ b/enterprise/cypher/slotted-runtime/src/main/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/VarLengthExpandSlottedPipe.scala @@ -23,12 +23,12 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.commands.predicates. import org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.{LazyTypes, Pipe, PipeWithSource, QueryState} import org.neo4j.cypher.internal.compatibility.v3_3.runtime.slotted.PrimitiveExecutionContext import org.neo4j.cypher.internal.compatibility.v3_3.runtime.{ExecutionContext, PipelineInformation} -import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.cypher.internal.frontend.v3_3.{InternalException, SemanticDirection} +import org.neo4j.cypher.internal.v3_3.logical.plans.LogicalPlanId import org.neo4j.graphdb.Relationship -import org.neo4j.helpers.ValueUtils import org.neo4j.kernel.impl.api.RelationshipVisitor import org.neo4j.kernel.impl.api.store.RelationshipIterator +import org.neo4j.kernel.impl.util.ValueUtils import scala.collection.mutable diff --git a/enterprise/cypher/slotted-runtime/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/TopSlottedPipeTest.scala b/enterprise/cypher/slotted-runtime/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/TopSlottedPipeTest.scala index 7670f8e80c700..7d549805c73b8 100644 --- a/enterprise/cypher/slotted-runtime/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/TopSlottedPipeTest.scala +++ b/enterprise/cypher/slotted-runtime/src/test/scala/org/neo4j/cypher/internal/compatibility/v3_3/runtime/slotted/pipes/TopSlottedPipeTest.scala @@ -27,7 +27,7 @@ import org.neo4j.cypher.internal.compatibility.v3_3.runtime.slotted.pipes.TopSlo import org.neo4j.cypher.internal.compatibility.v3_3.runtime.{LongSlot, PipelineInformation, RefSlot} import org.neo4j.cypher.internal.frontend.v3_3.symbols._ import org.neo4j.cypher.internal.frontend.v3_3.test_helpers.CypherFunSuite -import org.neo4j.helpers.ValueUtils +import org.neo4j.kernel.impl.util.ValueUtils import scala.util.Random diff --git a/enterprise/query-logging/src/test/java/org/neo4j/kernel/impl/query/QueryLoggerTest.java b/enterprise/query-logging/src/test/java/org/neo4j/kernel/impl/query/QueryLoggerTest.java index c264f81a35621..01ad8b59f35ef 100644 --- a/enterprise/query-logging/src/test/java/org/neo4j/kernel/impl/query/QueryLoggerTest.java +++ b/enterprise/query-logging/src/test/java/org/neo4j/kernel/impl/query/QueryLoggerTest.java @@ -29,11 +29,11 @@ import java.util.Map; import java.util.concurrent.TimeUnit; -import org.neo4j.helpers.ValueUtils; import org.neo4j.io.pagecache.tracing.cursor.PageCursorCounters; import org.neo4j.kernel.api.query.ExecutingQuery; import org.neo4j.kernel.impl.query.clientconnection.ClientConnectionInfo; import org.neo4j.kernel.impl.query.clientconnection.ShellConnectionInfo; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.logging.AssertableLogProvider; import org.neo4j.logging.LogProvider; import org.neo4j.test.FakeCpuClock; diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltAuthScenariosInteractionIT.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltAuthScenariosInteractionIT.java index 00975dbb61e21..7242e08ffb6db 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltAuthScenariosInteractionIT.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltAuthScenariosInteractionIT.java @@ -24,7 +24,7 @@ import java.util.Map; import org.neo4j.graphdb.mockfs.UncloseableDelegatingFileSystemAbstraction; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.test.rule.fs.EphemeralFileSystemRule; public class BoltAuthScenariosInteractionIT extends AuthScenariosInteractionTestBase diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltBuiltInProceduresInteractionIT.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltBuiltInProceduresInteractionIT.java index 65c1e9380fdf8..d028fa8be6601 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltBuiltInProceduresInteractionIT.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltBuiltInProceduresInteractionIT.java @@ -21,7 +21,7 @@ import java.util.Map; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; public class BoltBuiltInProceduresInteractionIT extends BuiltInProceduresInteractionTestBase { diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredAuthScenariosInteractionIT.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredAuthScenariosInteractionIT.java index fc0937dc27f2c..7a6b91796a8fa 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredAuthScenariosInteractionIT.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredAuthScenariosInteractionIT.java @@ -21,7 +21,7 @@ import java.util.Map; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; public class BoltConfiguredAuthScenariosInteractionIT extends ConfiguredAuthScenariosInteractionTestBase { diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredProceduresIT.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredProceduresIT.java index ce8e1d3ed2e14..e0f1cbcc2a812 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredProceduresIT.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltConfiguredProceduresIT.java @@ -21,7 +21,7 @@ import java.util.Map; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; public class BoltConfiguredProceduresIT extends ConfiguredProceduresTestBase { diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltInteraction.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltInteraction.java index b1f436c1059c5..1b07c89365a56 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltInteraction.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltInteraction.java @@ -45,7 +45,6 @@ import org.neo4j.graphdb.factory.GraphDatabaseSettings; import org.neo4j.graphdb.mockfs.EphemeralFileSystemAbstraction; import org.neo4j.helpers.HostnamePort; -import org.neo4j.helpers.ValueUtils; import org.neo4j.io.fs.FileSystemAbstraction; import org.neo4j.kernel.api.KernelTransaction; import org.neo4j.kernel.api.exceptions.Status; @@ -54,6 +53,7 @@ import org.neo4j.kernel.enterprise.api.security.EnterpriseAuthManager; import org.neo4j.kernel.impl.coreapi.InternalTransaction; import org.neo4j.kernel.impl.factory.GraphDatabaseFacade; +import org.neo4j.kernel.impl.util.ValueUtils; import org.neo4j.test.TestEnterpriseGraphDatabaseFactory; import org.neo4j.values.AnyValue; import org.neo4j.values.storable.TextValue; diff --git a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltUserManagementProceduresInteractionIT.java b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltUserManagementProceduresInteractionIT.java index a4a2cebe37213..5e126d0270b1b 100644 --- a/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltUserManagementProceduresInteractionIT.java +++ b/enterprise/security/src/test/java/org/neo4j/server/security/enterprise/auth/BoltUserManagementProceduresInteractionIT.java @@ -21,7 +21,7 @@ import java.util.Map; -import org.neo4j.helpers.ValueUtils; +import org.neo4j.kernel.impl.util.ValueUtils; public class BoltUserManagementProceduresInteractionIT extends AuthProceduresInteractionTestBase {