Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1278 b2f42b83e -> 9cf493b2f
Deprecated control ops related tokens. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9cf493b2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9cf493b2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9cf493b2 Branch: refs/heads/TINKERPOP-1278 Commit: 9cf493b2f8e382ed5766a8362e9771e8a6246be2 Parents: b2f42b8 Author: Stephen Mallette <[email protected]> Authored: Thu Jul 21 11:24:50 2016 -0400 Committer: Stephen Mallette <[email protected]> Committed: Thu Jul 21 11:24:50 2016 -0400 ---------------------------------------------------------------------- .../apache/tinkerpop/gremlin/driver/Tokens.java | 92 +++++++++++++++++--- 1 file changed, 81 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9cf493b2/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Tokens.java ---------------------------------------------------------------------- diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Tokens.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Tokens.java index be1192e..8da7ff4 100644 --- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Tokens.java +++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Tokens.java @@ -29,56 +29,126 @@ import java.util.List; public final class Tokens { private Tokens() {} + public static final String OPS_AUTHENTICATION = "authentication"; + public static final String OPS_BYTECODE = "bytecode"; + public static final String OPS_EVAL = "eval"; + public static final String OPS_INVALID = "invalid"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_SHOW = "show"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_CLOSE = "close"; - public static final String OPS_EVAL = "eval"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_IMPORT = "import"; - public static final String OPS_INVALID = "invalid"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_RESET = "reset"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_USE = "use"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String OPS_VERSION = "version"; - public static final String OPS_AUTHENTICATION = "authentication"; /** * @deprecated As of release 3.2.2, replaced by {@link #OPS_BYTECODE}. */ @Deprecated public static final String OPS_TRAVERSE = "traverse"; - public static final String OPS_BYTECODE = "bytecode"; public static final String ARGS_BATCH_SIZE = "batchSize"; public static final String ARGS_BINDINGS = "bindings"; public static final String ARGS_ALIASES = "aliases"; - public static final String ARGS_COORDINATES = "coordinates"; public static final String ARGS_GREMLIN = "gremlin"; - public static final String ARGS_IMPORTS = "imports"; - public static final String ARGS_INFO_TYPE = "infoType"; public static final String ARGS_LANGUAGE = "language"; public static final String ARGS_SCRIPT_EVAL_TIMEOUT = "scriptEvaluationTimeout"; + public static final String ARGS_SESSION = "session"; + public static final String ARGS_MANAGE_TRANSACTION = "manageTransaction"; + public static final String ARGS_SASL = "sasl"; + public static final String ARGS_SASL_MECHANISM = "saslMechanism"; /** * @deprecated As of release 3.1.0-incubating, replaced by {@link #ARGS_ALIASES}. */ @Deprecated public static final String ARGS_REBINDINGS = "rebindings"; - public static final String ARGS_SESSION = "session"; - public static final String ARGS_MANAGE_TRANSACTION = "manageTransaction"; - public static final String ARGS_SASL = "sasl"; - public static final String ARGS_SASL_MECHANISM = "saslMechanism"; + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + public static final String ARGS_COORDINATES = "coordinates"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String ARGS_COORDINATES_GROUP = "group"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String ARGS_COORDINATES_ARTIFACT = "artifact"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String ARGS_COORDINATES_VERSION = "version"; + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated + public static final String ARGS_IMPORTS = "imports"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String ARGS_INFO_TYPE_DEPENDENCIES = "dependencies"; /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + public static final String ARGS_INFO_TYPE = "infoType"; + + /** * @deprecated As of release 3.1.1-incubating, replaced by {@link #ARGS_INFO_TYPE_DEPENDENCIES} */ @Deprecated public static final String ARGS_INFO_TYPE_DEPDENENCIES = "dependencies"; + + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final String ARGS_INFO_TYPE_IMPORTS = "imports"; + /** + * @deprecated As for release 3.2.2, not replaced as this feature was never really published as official. + */ + @Deprecated public static final List<String> INFO_TYPES = Arrays.asList(ARGS_INFO_TYPE_DEPENDENCIES, ARGS_INFO_TYPE_IMPORTS); }
