Class SymbolGenerator


  • public final class SymbolGenerator
    extends Object
    The singleton SymbolGenerator is used to automatically generate symbol names when a Java lambda function is provided where a FaunaDB lambda expression is accepted. The symbol space is 2^64 and thread-safe.
    • Method Detail

      • genSym

        public static String genSym​(String prefix)
        Generate a new symbol with the provided prefix.
        Parameters:
        prefix - the symbol prefix
        Returns:
        a new symbol