Class Graph.Hidden

java.lang.Object
org.apache.tinkerpop.gremlin.structure.Graph.Hidden
Enclosing interface:
Graph

public static class Graph.Hidden extends Object
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 Details

    • Hidden

      public Hidden()
  • Method Details

    • hide

      public static String hide(String key)
      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

      public static String unHide(String key)
      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

      public static boolean isHidden(String key)
      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