Interface OnInterface


  • public interface OnInterface
    Illustrates PL/Java functions on an interface instead of a class.

    The SQL/JRT standard has always just said "class", but there is no technical obstacle to permitting a PL/Java function to be a static interface method, so that earlier restriction has been relaxed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  OnInterface.A  
      static class  OnInterface.B  
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static int answer()
      Returns the answer.
    • Method Detail

      • answer

        @Function(schema="javatest")
        static int answer()
        Returns the answer.