# Deprecated API

## Contents

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

- Deprecated Classes
  Class and Description
  org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0.JsonBuilderJacksonSerializer As of release 3.5.2, not replaced.
  org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0.JsonBuilderJacksonSerializer As of release 3.5.2, not replaced.
  org.apache.tinkerpop.gremlin.driver.ser.AbstractGryoMessageSerializerV1d0 As of release 3.4.3, replaced by `GraphBinaryMessageSerializerV1`.
  org.apache.tinkerpop.gremlin.driver.ser.AbstractGryoMessageSerializerV3d0 As of release 3.4.3, replaced by `GraphBinaryMessageSerializerV1`.
  org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0 As for release 3.4.0, replaced by `GraphSONMessageSerializerV2d0`.
  org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyTranslator As of release 3.4.9, moved to `GroovyTranslator` in `gremlin-core`.
  org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0 As of release 3.2.6, not directly replaced - supported through `HaltedTraverserStrategy`.
  org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 As of release 3.4.3, replaced by `GraphBinaryMessageSerializerV1`.
  org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 As of release 3.4.3, replaced by `GraphBinaryMessageSerializerV1`.
  org.apache.tinkerpop.gremlin.structure.io.IoCore As of release 3.4.0, partially replaced by `GraphTraversalSource.io(String)`. Notice `GraphTraversalSource.io(String)` doesn't support read operation from `java.io.InputStream` or write operation to `java.io.OutputStream`. Thus for readers or writers which need this functionality are safe to use this deprecated method. There is no intention to remove this method unless all the functionality is replaced by the `io` step of `GraphTraversalSource`.
  org.apache.tinkerpop.gremlin.driver.ser.JsonBuilderGryoSerializer As of release 3.5.2, not replaced.

- Deprecated Fields
  Field and Description
  org.apache.tinkerpop.gremlin.server.Settings.AuthenticationSettings.enableAuditLog As of release 3.5.0, replaced by `Settings.enableAuditLog` with slight changes in the log message format.
  org.apache.tinkerpop.gremlin.driver.ser.SerTokens.MIME_GRYO_LITE_V1D0 As of release 3.2.6, not directly replaced - supported through `HaltedTraverserStrategy`.
  org.apache.tinkerpop.gremlin.driver.ser.SerTokens.MIME_GRYO_V1D0 As of release 3.4.3, replaced by `SerTokens.MIME_GRAPHBINARY_V1D0`.
  org.apache.tinkerpop.gremlin.driver.ser.SerTokens.MIME_GRYO_V3D0 As of release 3.4.3, replaced by `SerTokens.MIME_GRAPHBINARY_V1D0`.
  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.language.grammar.GremlinLexer.tokenNames Use `GremlinLexer.VOCABULARY` instead.
  org.apache.tinkerpop.gremlin.language.grammar.GremlinParser.tokenNames Use `GremlinParser.VOCABULARY` instead.

- Deprecated Methods
  Method and Description
  org.apache.tinkerpop.gremlin.process.traversal.util.TraversalHelper.applySingleLevelStrategies(Traversal.Admin<?, ?>, Traversal.Admin<?, ?>, Class<? extends TraversalStrategy>) As of release 3.5.2, not replaced as strategies are not applied in this fashion after 3.5.0
  org.apache.tinkerpop.gremlin.language.grammar.GremlinLexer.getTokenNames()
  org.apache.tinkerpop.gremlin.language.grammar.GremlinParser.getTokenNames()
  org.apache.tinkerpop.gremlin.structure.Graph.io(Io.Builder<I>) As of release 3.4.0, partially replaced by `GraphTraversalSource.io(String)`. Notice `GraphTraversalSource.io(String)` doesn't support read operation from `java.io.InputStream` or write operation to `java.io.OutputStream`. Thus for readers or writers which need this functionality are safe to use this deprecated method. There is no intention to remove this method unless all the functionality is replaced by the `io` step of `GraphTraversalSource`.
  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.process.traversal.dsl.graph.__.store(String) As of release 3.4.3, replaced by `__.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.traversal.util.SideEffectHelper.validateSideEffectKeyValue(String, Object) As of release 3.5.3, not replaced as there is really no general validation anymore for values since `null` is now accepted.
  org.apache.tinkerpop.gremlin.process.traversal.util.SideEffectHelper.validateSideEffectValue(Object) As of release 3.5.3, not replaced as there is really no general validation anymore for values since `null` is now accepted.
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.valueMap(boolean, String...) As of release 3.4.0, deprecated in favor of `__.valueMap(String...)` in conjunction with `GraphTraversal.with(String, Object)`.
  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.traversal.AnonymousTraversalSource.withGraph(Graph) As of release 3.4.9, replaced by `AnonymousTraversalSource.withEmbedded(Graph)`

- Deprecated Constructors
  Constructor and Description
  org.apache.tinkerpop.gremlin.server.handler.AbstractAuthenticationHandler(Authenticator) As of release 3.5.0, replaced by `AbstractAuthenticationHandler(Authenticator, Authorizer)`.
  org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0(GraphSONMapper)
  org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0(GraphSONMapper)
  org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0(GraphSONMapper)
  org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0(GraphSONMapper)
  org.apache.tinkerpop.gremlin.server.handler.HttpBasicAuthenticationHandler(Authenticator, Settings) As of release 3.5.0, replaced by `HttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)`.
  org.apache.tinkerpop.gremlin.server.handler.SaslAndHttpBasicAuthenticationHandler(Authenticator, Settings) As of release 3.5.0, replaced by `SaslAndHttpBasicAuthenticationHandler(Authenticator, Authorizer, Settings)`.
  org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler(Authenticator, Settings) As of release 3.5.0, replaced by `SaslAuthenticationHandler(Authenticator, Authorizer, Settings)`.

- Deprecated Enum Constants
  Enum Constant and Description
  org.apache.tinkerpop.gremlin.driver.ser.Serializers.GRYO_LITE_V1D0 As of release 3.2.6, not directly replaced - supported through `HaltedTraverserStrategy`.
  org.apache.tinkerpop.gremlin.driver.ser.Serializers.GRYO_V1D0 As of release 3.4.3, replaced by `Serializers.GRAPHBINARY_V1D0`.
  org.apache.tinkerpop.gremlin.driver.ser.Serializers.GRYO_V3D0 As of release 3.4.3, replaced by `Serializers.GRAPHBINARY_V1D0`.

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