Class Graph.Hidden
java.lang.Object
org.apache.tinkerpop.gremlin.structure.Graph.Hidden
- Enclosing interface:
- Graph
This should only be used by providers to create keys, labels, etc. in a namespace safe from users.
Users are not allowed to generate property keys, step labels, etc. that are key'd "hidden".
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Hidden
public Hidden()
-
-
Method Details
-
hide
Turn the provided key into a hidden key. If the key is already a hidden key, return key.- Parameters:
key- The key to make a hidden key- Returns:
- The hidden key
-
unHide
Turn the provided hidden key into an non-hidden key. If the key is not a hidden key, return key.- Parameters:
key- The hidden key- Returns:
- The non-hidden representation of the key
-
isHidden
Determines whether the provided key is a hidden key or not.- Parameters:
key- The key to check for hidden status- Returns:
- Whether the provided key is a hidden key or not
-