# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Enums
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  org.apache.tinkerpop.gremlin.process.traversal.TraversalEngine As of release 3.2.0, replaced by `Computer`.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalEngine.Builder

- Deprecated Classes
  Class and Description
  org.apache.tinkerpop.gremlin.driver.Client.ReboundClusteredClient As of release 3.1.1-incubating, replaced by `Client.AliasClusteredClient`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential.CredentialGraph As of release 3.3.3, replaced by `CredentialTraversalDsl`.
  org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0 As of release 3.2.6, not directly replaced - supported through `HaltedTraverserStrategy`.
  org.apache.tinkerpop.gremlin.process.remote.RemoteGraph As for release 3.2.2, replaced by `TraversalSource#withRemote(RemoteConnection)` or its overloads.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.Builder As of release 3.2.0. Please use `Graph.traversal(Class)`.

- Deprecated Enums
  Enum and Description
  org.apache.tinkerpop.gremlin.process.traversal.step.map.LambdaCollectingBarrierStep.Consumers As of release 3.2.0, replaced by use of `NoOpBarrierStep`.

- Deprecated Fields
  Field and Description
  org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_REBINDINGS As of release 3.1.0-incubating, replaced by `Tokens.ARGS_ALIASES`.
  org.apache.tinkerpop.gremlin.server.Settings.AuthenticationSettings.className As of release 3.2.5, replaced by `Settings.AuthenticationSettings.authenticator`.
  org.apache.tinkerpop.gremlin.jsr223.ImportCustomizer.GREMLIN_CORE As of release 3.2.4, not replaced.
  org.apache.tinkerpop.gremlin.server.Settings.serializedResponseTimeout As of release 3.2.1, replaced wholly by `Settings.scriptEvaluationTimeout`.

- Deprecated Methods
  Method and Description
  org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.PartitionStrategy.Builder.addReadPartition(String) As of release 3.2.3, replaced by `PartitionStrategy.Builder.readPartitions(List)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.build() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.build() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.close() As of release 3.2.4, not replaced as this class will not implement `AutoCloseable` in the future.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.computer(Class<? extends GraphComputer>) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.Builder.create(Graph) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.create(Graph) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.create(GraphTraversalSource) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.SubgraphStrategy.Builder.edgeCriterion(Traversal<Edge, ?>) As of release 3.2.2, replaced by `Builder#edges`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.edges(Traversal<Vertex, Edge>) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.structure.Element.Exceptions.elementAlreadyRemoved(Class<? extends Element>, Object) As of release 3.1.0, not replaced - this exception is no longer enforced by the test suite.
  org.apache.tinkerpop.gremlin.structure.Graph.Exceptions.elementNotFound(Class<? extends Element>, Object)
  org.apache.tinkerpop.gremlin.structure.Graph.Exceptions.elementNotFound(Class<? extends Element>, Object, Exception)
  org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngine.eval(Bytecode) As of release 3.2.7, replaced by `GremlinScriptEngine.eval(Bytecode, String)`.
  org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngine.eval(Bytecode, Bindings) As of release 3.2.7, replaced by `GremlinScriptEngine.eval(Bytecode, Bindings, String)`.
  org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.eval(Bytecode, Bindings, String, String) As of release 3.2.7, replaced by `GremlinExecutor.eval(Bytecode, Bindings, String, String)`
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.getGraphComputer() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.getGraphComputer() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.hadoop.structure.HadoopConfiguration.getGraphInputFormat() As of release 3.2.0, replaced by `HadoopConfiguration.getGraphReader()`.
  org.apache.tinkerpop.gremlin.hadoop.structure.HadoopConfiguration.getGraphOutputFormat() As of release 3.2.0, replaced by `HadoopConfiguration.getGraphWriter()`.
  org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager.getGraphs() As of release 3.2.5, replaced by a combination of `DefaultGraphManager.getGraphNames()` and `DefaultGraphManager.getGraph(String)`
  org.apache.tinkerpop.gremlin.server.GraphManager.getGraphs() As of release 3.2.5, replaced by a combination of `GraphManager.getGraphNames()` and `GraphManager.getGraph(String)` - note that the expectation is this method return an immutable `Map` which was not the expectation prior to 3.2.5.
  org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager.getTraversalSources() As of release 3.2.5, replaced by a combination of `DefaultGraphManager.getTraversalSourceNames()` and `DefaultGraphManager.getTraversalSource(String)`
  org.apache.tinkerpop.gremlin.server.GraphManager.getTraversalSources() As of release 3.2.5, replaced by a combination of `GraphManager.getTraversalSourceNames()` and `GraphManager.getTraversalSource(String)` - note that the expectation is this method return an immutable `Map` which was not the expectation prior to 3.2.5.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.getType() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.getType() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.getWithStrategies() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.remote.traversal.strategy.decoration.RemoteStrategy.instance() As of release 3.2.2, replaced by `RemoteStrategy.RemoteStrategy(RemoteConnection)` where this method should only be used by `RemoteGraph` for backward compatibility.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.instance() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.server.op.AbstractOpProcessor.makeFrame(ChannelHandlerContext, RequestMessage, MessageSerializer, boolean, List<Object>, ResponseStatusCode) As of release 3.2.2, replaced by `AbstractOpProcessor.makeFrame(ChannelHandlerContext, RequestMessage, MessageSerializer, boolean, List, ResponseStatusCode, Map)`.
  org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer.makeHasContainers(String, P<?>) As of release 3.2.4. Providers should handle composite `P.and(java.util.function.Predicate<? super V>)` predicates and not rely on splitting.
  org.apache.tinkerpop.gremlin.driver.Client.rebind(Map<String, String>)
  org.apache.tinkerpop.gremlin.driver.Client.ClusteredClient.rebind(Map<String, String>)
  org.apache.tinkerpop.gremlin.driver.Client.rebind(String) As of release 3.1.0, replaced by `Client.alias(String)`
  org.apache.tinkerpop.gremlin.driver.Client.ClusteredClient.rebind(String)
  org.apache.tinkerpop.gremlin.driver.Client.ReboundClusteredClient.rebind(String)
  org.apache.tinkerpop.gremlin.process.remote.RemoteConnection.submit(Bytecode) As of release 3.2.4, replaced by `RemoteConnection.submitAsync(Bytecode)`.
  org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.submit(Bytecode) As of release 3.2.4, replaced by `DriverRemoteConnection.submitAsync(Bytecode)`.
  org.apache.tinkerpop.gremlin.process.remote.RemoteConnection.submit(Traversal<?, E>) As of release 3.2.2, replaced by `RemoteConnection.submitAsync(Bytecode)`.
  org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.submit(Traversal<?, E>) As of release 3.2.2, replaced by `DriverRemoteConnection.submitAsync(Bytecode)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.toString() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.toString() As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure.PeerPressureVertexProgram.Builder.traversal(Traversal.Admin<Vertex, Edge>) As of release 3.2.0, replaced by `PeerPressureVertexProgram.Builder.edges(Traversal.Admin)`
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankVertexProgram.Builder.traversal(Traversal.Admin<Vertex, Edge>) As of release 3.2.0, replaced by `PageRankVertexProgram.Builder.edges(Traversal.Admin)`
  org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure.PeerPressureVertexProgram.Builder.traversal(TraversalSource, String, String, Object...) As of release 3.2.0, replaced by `PeerPressureVertexProgram.Builder.edges(Traversal.Admin)`
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankVertexProgram.Builder.traversal(TraversalSource, String, String, Object...) As of release 3.2.0, replaced by `PageRankVertexProgram.Builder.edges(Traversal.Admin)`
  org.apache.tinkerpop.gremlin.structure.Graph.Exceptions.traversalEngineNotSupported(TraversalEngine)
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankVertexProgram.Builder.vertexCount(long) As of release 3.2.0, replaced by `PageRankVertexProgram.Builder.initialRank(Traversal.Admin)`
  org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.SubgraphStrategy.Builder.vertexCriterion(Traversal<Vertex, ?>)
  org.apache.tinkerpop.gremlin.process.traversal.step.util.event.MutationListener.vertexPropertyChanged(Vertex, Property, Object, Object...) As of release 3.2.7, replaced by `MutationListener.vertexPropertyChanged(Vertex, VertexProperty, Object, Object...)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.vertices(Traversal<Vertex, Vertex>) As of release 3.2.0. Please use `Graph.traversal(Class)`.
  org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.workers(int) As of release 3.2.0. Please use `Graph.traversal(Class)`.

- Deprecated Constructors
  Constructor and Description
  org.apache.tinkerpop.gremlin.server.handler.OpSelectorHandler(Settings, GraphManager, GremlinExecutor, ScheduledExecutorService) As of release 3.2.8, replaced by `OpSelectorHandler.OpSelectorHandler(Settings, GraphManager, GremlinExecutor, ScheduledExecutorService, Channelizer)`

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.