Interface CredentialTraversalDsl<S,E>
-
- All Superinterfaces:
AutoCloseable
,Cloneable
,GraphTraversal<S,E>
,GraphTraversal.Admin<S,E>
,Iterator<E>
,Serializable
,Traversal<S,E>
,Traversal.Admin<S,E>
- All Known Subinterfaces:
CredentialTraversal<S,E>
- All Known Implementing Classes:
DefaultCredentialTraversal
public interface CredentialTraversalDsl<S,E> extends GraphTraversal.Admin<S,E>
A DSL for managing a "credentials graph" used by Gremlin Server for simple authentication functions.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal
GraphTraversal.Admin<S,E>, GraphTraversal.Symbols
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal
Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
-
-
Field Summary
Fields Modifier and Type Field Description static int
BCRYPT_ROUNDS
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GraphTraversal<S,Vertex>
user(String username, String password)
Creates or updates a user.default GraphTraversal<S,Vertex>
users()
Finds all users.default GraphTraversal<S,Vertex>
users(String username, String... more)
Finds users by name.-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal
addE, addE, addV, addV, addV, aggregate, aggregate, all, and, any, as, asAdmin, asDate, asString, barrier, barrier, barrier, both, bothE, bothV, branch, branch, by, by, by, by, by, by, by, by, by, by, call, call, call, call, cap, choose, choose, choose, choose, choose, choose, coalesce, coin, combine, concat, concat, conjoin, connectedComponent, constant, count, count, cyclicPath, dateAdd, dateDiff, dateDiff, dedup, dedup, difference, disjunct, drop, E, element, elementMap, emit, emit, emit, fail, fail, filter, filter, flatMap, flatMap, fold, fold, from, from, from, group, group, groupCount, groupCount, has, has, has, has, has, has, has, has, has, hasId, hasId, hasKey, hasKey, hasLabel, hasLabel, hasNot, hasValue, hasValue, id, identity, in, index, inE, inject, intersect, inV, is, is, key, label, length, limit, limit, local, loops, loops, lTrim, map, map, match, math, max, max, mean, mean, merge, mergeE, mergeE, mergeE, mergeV, mergeV, mergeV, min, min, none, not, option, option, option, option, optional, or, order, order, otherV, out, outE, outV, pageRank, pageRank, path, peerPressure, product, profile, profile, program, project, properties, property, property, property, propertyMap, range, range, read, repeat, repeat, replace, reverse, rTrim, sack, sack, sample, sample, select, select, select, select, select, select, select, shortestPath, sideEffect, sideEffect, simplePath, skip, skip, split, store, subgraph, substring, substring, sum, sum, tail, tail, tail, tail, timeLimit, times, to, to, to, to, toE, toLower, toUpper, toV, tree, tree, trim, unfold, union, until, until, V, value, valueMap, valueMap, values, where, where, where, with, with, write
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Admin
addStep, clone, iterate
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal
close, explain, fill, forEachRemaining, forEachRemaining, next, notifyClose, promise, toBulkSet, toList, toSet, toStream, tryNext
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin
addStart, addStarts, addStep, applyStrategies, equals, getBytecode, getEndStep, getGraph, getParent, getSideEffects, getStartStep, getSteps, getStrategies, getTraversalSource, getTraverserGenerator, getTraverserRequirements, getTraverserSetSupplier, isLocked, isRoot, lock, nextTraverser, removeStep, removeStep, reset, setGraph, setParent, setSideEffects, setStrategies
-
-
-
-
Field Detail
-
BCRYPT_ROUNDS
static final int BCRYPT_ROUNDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
users
default GraphTraversal<S,Vertex> users()
Finds all users.
-
users
default GraphTraversal<S,Vertex> users(String username, String... more)
Finds users by name.
-
user
default GraphTraversal<S,Vertex> user(String username, String password)
Creates or updates a user.
-
-