Class CreateFunction


  • public class CreateFunction
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateFunction()  
    • Method Summary

      Modifier and Type Method Description
      static StorageKey.StorageFunction createFunction​(java.lang.String section, java.lang.String method, Modules.StorageFunctionMetadata meta, boolean isUnhashed, java.lang.String key)
      From the schema of a function in the module's storage, generate the function that will return the correct storage key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CreateFunction

        public CreateFunction()
    • Method Detail

      • createFunction

        public static StorageKey.StorageFunction createFunction​(java.lang.String section,
                                                                java.lang.String method,
                                                                Modules.StorageFunctionMetadata meta,
                                                                boolean isUnhashed,
                                                                java.lang.String key)
        From the schema of a function in the module's storage, generate the function that will return the correct storage key.
        Parameters:
        schema - - The function's definition schema to create the function from. The schema is taken from state_getMetadata.
        options - - Additional options when creating the function. These options are not known at runtime (from state_getMetadata), they need to be supplied by us manually at compile time.