# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Enum Constants

- 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`.

- 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.jsr223.ImportCustomizer.GREMLIN_CORE As of release 3.2.4, not replaced.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.GREMLIN_REMOTE As of release 3.3.5, replaced by `RemoteConnection.GREMLIN_REMOTE`.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.GREMLIN_REMOTE_CONNECTION_CLASS As of release 3.3.5, replaced by `RemoteConnection.GREMLIN_REMOTE_CONNECTION_CLASS`.

- Deprecated Methods
  Method and Description
  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.driver.Cluster.Builder.keyCertChainFile(String) As of release 3.2.10, replaced by `Cluster.Builder.keyStore`
  org.apache.tinkerpop.gremlin.driver.Cluster.Builder.keyFile(String) As of release 3.2.10, replaced by `Cluster.Builder.keyStore`
  org.apache.tinkerpop.gremlin.driver.Cluster.Builder.keyPassword(String) As of release 3.2.10, replaced by `Cluster.Builder.keyStorePassword`
  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.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.driver.Cluster.Builder.trustCertificateChainFile(String) As of release 3.2.10, replaced by `Cluster.Builder.trustStore`
  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.dsl.graph.GraphTraversalSource.withRemote(Configuration) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(Configuration)`.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.withRemote(Configuration) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(Configuration)`.
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.withRemote(RemoteConnection) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(RemoteConnection)`.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.withRemote(RemoteConnection) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(RemoteConnection)`.
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.withRemote(String) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(String)`.
  org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.withRemote(String) As of release 3.3.5, replaced by `AnonymousTraversalSource.withRemote(String)`.

- Deprecated Enum Constants
  Enum Constant and Description
  org.apache.tinkerpop.gremlin.process.traversal.Order.decr As of release 3.3.4, replaced by `Order.desc`.
  org.apache.tinkerpop.gremlin.process.traversal.Order.incr As of release 3.3.4, replaced by `Order.asc`.

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