Class AdHocPythonAggregate

  • All Implemented Interfaces:
    Aggregate, java.io.Serializable

    public class AdHocPythonAggregate
    extends java.lang.Object
    implements Aggregate
    Defines an aggregation function that is defined in python. This can be either a full definition, or a referenced to a shared library.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDesc()
      A possible description for how the aggregate behaves.
      java.lang.String getFunction()  
      int getId()
      Returns the identifier for the aggregate.
      java.lang.String getName()
      A display name for the aggregate.
      boolean isLibraryReference()
      If true, the "function" here is actually a path to a function defined in a shared library, such as "shared.custom.coolaggregate"
      • Methods inherited from class java.lang.Object

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

      • SIGNATURE

        public static final java.lang.String SIGNATURE
        These are the parameters (the expected signature) of the function
        See Also:
        Constant Field Values
    • Constructor Detail

      • AdHocPythonAggregate

        public AdHocPythonAggregate()
      • AdHocPythonAggregate

        public AdHocPythonAggregate​(java.lang.String function,
                                    boolean isLibRef)
    • Method Detail

      • getFunction

        public java.lang.String getFunction()
      • isLibraryReference

        public boolean isLibraryReference()
        If true, the "function" here is actually a path to a function defined in a shared library, such as "shared.custom.coolaggregate"
      • getId

        public int getId()
        Description copied from interface: Aggregate
        Returns the identifier for the aggregate. This is the only true identifier for the aggregate, name and description should not be taken into account for equality.
        Specified by:
        getId in interface Aggregate
      • getName

        public java.lang.String getName()
        Description copied from interface: Aggregate
        A display name for the aggregate.
        Specified by:
        getName in interface Aggregate
      • getDesc

        public java.lang.String getDesc()
        Description copied from interface: Aggregate
        A possible description for how the aggregate behaves.
        Specified by:
        getDesc in interface Aggregate