com.ibm.streams.operator
Class PERuntime
- java.lang.Object
-
- com.ibm.streams.operator.PERuntime
-
public class PERuntime extends java.lang.Object
Utility methods to get information about the current processing element and operator context. Allows methods that are executing as SPL native Java functions to access operator context.- Since:
- InfoSphere® Streams Version 4.0
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
IBM_COPYRIGHT
-
Constructor Summary
Constructors Constructor and Description PERuntime()
-
Method Summary
Methods Modifier and Type Method and Description static OperatorContext
getCurrentContext()
Get the operator context for the current operator.static ProcessingElement
getPE()
Get the processing element for the current operator.
-
-
-
Field Detail
-
IBM_COPYRIGHT
public static final java.lang.String IBM_COPYRIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPE
public static ProcessingElement getPE()
Get the processing element for the current operator.- Returns:
- ProcessingElement hosting this Operator instance.
-
getCurrentContext
public static OperatorContext getCurrentContext()
Get the operator context for the current operator.- Returns:
- OperatorContext for the current Operator instance.
-
-