Table of Contents

Class ReservedKeysVerificationStrategy

Namespace
Gremlin.Net.Process.Traversal.Strategy.Verification
Assembly
Gremlin.Net.dll

Provides a way to prevent traversal from using property keys that are reserved terms. By default, these are "id" and "label" - providers may have their own reserved terms as well.

public class ReservedKeysVerificationStrategy : AbstractTraversalStrategy, ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Inheritance
ReservedKeysVerificationStrategy
Implements
Inherited Members

Constructors

ReservedKeysVerificationStrategy()

Initializes a new instance of the ReservedKeysVerificationStrategy class.

public ReservedKeysVerificationStrategy()

ReservedKeysVerificationStrategy(bool, bool, List<string>?)

Initializes a new instance of the ReservedKeysVerificationStrategy class

public ReservedKeysVerificationStrategy(bool logWarning = false, bool throwException = false, List<string>? keys = null)

Parameters

logWarning bool

Write a warning to the configured log on the server if a reserved key is used.

throwException bool

Throw an exception if a reserved key is used.

keys List<string>

List of keys to define as reserved. If not set then the defaults are used.