See: Description
| Interface | Description |
|---|---|
| SPLInput |
Interface that can be connected to an SPL input port.
|
| SPLSchemas |
Interchangeable SPL types.
|
| SPLStream |
A
SPLStream is a declaration of a continuous sequence of tuples with
a defined SPL schema. |
| SPLWindow |
An SPL window, that has an SPL eviction policy and an SPL trigger policy.
|
| Class | Description |
|---|---|
| FileSPLStreams |
Creation of SPLStreams that relate to files.
|
| JavaPrimitive |
Integration between Java topologies and SPL Java primitive operators.
|
| SPL |
Integration between Java topologies and SPL operator invocations.
|
| SPLStreams |
Utilities for SPL attribute schema streams.
|
| Enum | Description |
|---|---|
| FileSPLStreams.Compression |
SPL and
Java primitives
a topology can include invocations of any SPL primitive or composite operator.
::'. For example
the FileSource operator from the SPL Standard toolkit must be specified
as:
spl.adapter::FileSource.
SPL operator (including
Java primitives)
optionally includes a set of parameters. The parameters are provided as
a Map<String,Object>. The String key is the parameter
name and the value is the parameter value.
boolean : java.lang.Booleanint8 : java.lang.Byteint16 : java.lang.Shortint32 : java.lang.Integerint64 : java.lang.Longfloat32 : java.lang.Floatfloat64 : java.lang.Doublerstring : java.lang.Stringuint8 : Object returned by SPL.createValue(Byte value, MetaType.UINT8)uint16 : Object returned by SPL.createValue(Short value, MetaType.UINT16)uint32 : Object returned by SPL.createValue(Integer value, MetaType.UINT32)uint64 : Object returned by SPL.createValue(Long value, MetaType.UINT64)ustring : Object returned by SPL.createValue(String value, MetaType.USTRING)java.util.Collection containing values of the correct type, typically
a java.util.List or java.util.Set.
Operator parameters can also be passed as submission parameters, see
SPL for examples.
SPL input attributes are passed using an instance of com.ibm.streams.operator.Attribute from
the input schema. For example setting the key parameter for the DeDuplicate operator
to the input attribute id would use (where s is the input stream):
params.put("key", s.getSchema().getAttribute("id"));