# Deprecated API

## Contents

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

- Deprecated Classes
  Class and Description
  org.apache.tinkerpop.gremlin.structure.io.IoCore As of release 3.4.0, replaced by `GraphTraversalSource.io(String)`.

- Deprecated Fields
  Field and Description
  org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_AGGREGATE_TO As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_SCRIPT_EVAL_TIMEOUT As of release 3.3.9, replaced by `Tokens.ARGS_EVAL_TIMEOUT`.
  org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_SIDE_EFFECT As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_SIDE_EFFECT_KEY As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.OPS_GATHER As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.OPS_KEYS As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols.store As of release 3.4.3, replaced by `GraphTraversal.aggregate(java.lang.String)` with a `Scope.local`.
  org.apache.tinkerpop.gremlin.driver.Tokens.VAL_AGGREGATE_TO_BULKSET As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.VAL_AGGREGATE_TO_LIST As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.VAL_AGGREGATE_TO_MAP As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.VAL_AGGREGATE_TO_NONE As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.
  org.apache.tinkerpop.gremlin.driver.Tokens.VAL_AGGREGATE_TO_SET As of release 3.3.8, not directly replaced in the protocol as side-effect retrieval after traversal iteration is not being promoted anymore as a feature.

- Deprecated Methods
  Method and Description
  org.apache.tinkerpop.gremlin.structure.Graph.io(Io.Builder<I>) As of release 3.4.0, replaced by `GraphTraversalSource.io(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.process.traversal.dsl.graph.GraphTraversal.store(String) As of release 3.4.3, replaced by `GraphTraversal.aggregate(Scope, String)` using `Scope.local`.
  org.apache.tinkerpop.gremlin.driver.Client.submitAsync(String, Map<String, String>, Map<String, Object>) As of release 3.4.0, replaced by `Client.submitAsync(String, RequestOptions)`.
  org.apache.tinkerpop.gremlin.driver.Client.submitAsync(String, String, Map<String, Object>) As of release 3.4.0, replaced by `Client.submitAsync(String, RequestOptions)`.
  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.driver.Cluster.Builder.trustCertificateChainFile(String) As of release 3.2.10, replaced by `Cluster.Builder.trustStore`
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.valueMap(boolean, String...) As of release 3.4.0, deprecated in favor of `GraphTraversal.valueMap(String...)` in conjunction with `GraphTraversal.with(String, Object)` or simple prefer `GraphTraversal.elementMap(String...)`.
  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.