Class AdHocPythonAggregate
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.history.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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIGNATURE
These are the parameters (the expected signature) of the function-
Fields inherited from interface com.inductiveautomation.ignition.common.sqltags.history.Aggregate
AD_HOC_PYTHON_ID, CUSTOM_RESERVED_ID, PYTHON_LIB_ID, SERIALIZATION_WHITELIST
-
-
Constructor Summary
Constructors Constructor Description AdHocPythonAggregate()
AdHocPythonAggregate(java.lang.String function, boolean isLibRef)
-
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"
-
-
-
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
-
-
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.
-
getName
public java.lang.String getName()
Description copied from interface:Aggregate
A display name for the aggregate.
-
-