Class AdHocPythonAggregate
java.lang.Object
com.inductiveautomation.ignition.common.sqltags.history.AdHocPythonAggregate
- All Implemented Interfaces:
Aggregate
,Serializable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
These are the parameters (the expected signature) of the functionFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetDesc()
A possible description for how the aggregate behaves.int
getId()
Returns the identifier for the aggregate.getName()
A display name for the aggregate.boolean
If true, the "function" here is actually a path to a function defined in a shared library, such as "shared.custom.coolaggregate"
-
Field Details
-
SIGNATURE
These are the parameters (the expected signature) of the function- See Also:
-
-
Constructor Details
-
AdHocPythonAggregate
public AdHocPythonAggregate() -
AdHocPythonAggregate
-
-
Method Details
-
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
Description copied from interface:Aggregate
A display name for the aggregate. -
getDesc
Description copied from interface:Aggregate
A possible description for how the aggregate behaves.
-