Enum Class Configuration.GeneratedNames

java.lang.Object
java.lang.Enum<Configuration.GeneratedNames>
org.neo4j.cypherdsl.core.renderer.Configuration.GeneratedNames
All Implemented Interfaces:
Serializable, Comparable<Configuration.GeneratedNames>, Constable
Enclosing class:
Configuration

public static enum Configuration.GeneratedNames extends Enum<Configuration.GeneratedNames>
Enum for configuring name rewriting.
  • Enum Constant Details

    • ENTITY_NAMES

      public static final Configuration.GeneratedNames ENTITY_NAMES
      Entity names are rewritten
    • PARAMETER_NAMES

      public static final Configuration.GeneratedNames PARAMETER_NAMES
      Parameter names are rewritten
    • ALL_ALIASES

      public static final Configuration.GeneratedNames ALL_ALIASES
      All aliases are rewritten
    • INTERNAL_ALIASES_ONLY

      public static final Configuration.GeneratedNames INTERNAL_ALIASES_ONLY
      All aliases except the ones used in the last RETURN clause.
    • REUSE_ALIASES

      public static final Configuration.GeneratedNames REUSE_ALIASES
      This is an additional flag that is on by default for aliases, but can be removed from the config, so that every alias name triggers a new generated name. Otherwise, any overwriting of an alias will reuse the name that was previously generated for that alias.
  • Method Details

    • values

      public static Configuration.GeneratedNames[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Configuration.GeneratedNames valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null