public class LayoutInfo
extends java.lang.Object
Constructor and Description |
---|
LayoutInfo() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
group(com.google.gson.JsonObject invokeInfo,
com.google.gson.JsonObject... others)
Group multiple operators together.
|
static java.lang.String |
group(com.google.gson.JsonObject invokeInfo,
java.lang.String kind,
java.lang.String name,
java.lang.String id)
Provide a hint that that an operator invocation should be
grouped with other operator invocations.
|
static void |
hide(com.google.gson.JsonObject invokeInfo)
Provide a hint that the operator invocation should be hidden.
|
static void |
kind(com.google.gson.JsonObject invokeInfo,
java.lang.String kind)
Provide a hint that the operator invocation kind should
be set to
kind instead of its SPL kind. |
public static void hide(com.google.gson.JsonObject invokeInfo)
invokeInfo
- Operator invocation information.public static void kind(com.google.gson.JsonObject invokeInfo, java.lang.String kind)
kind
instead of its SPL kind.invokeInfo
- Operator invocation information.kind
- Kind to display for operator invocation.public static java.lang.String group(com.google.gson.JsonObject invokeInfo, java.lang.String kind, java.lang.String name, java.lang.String id)
id
will be shown as a single operator invocation in the Streams console.
The name and kind of the invocation are taken from name
and kind
.invokeInfo
- Operator invocation information.kind
- Kind to display for the group operator invocation.name
- Name of the group operator invocation.id
- Group identifier, if null
a new identifier is created.id
if it was non-null, otherwise a new identifier.public static java.lang.String group(com.google.gson.JsonObject invokeInfo, com.google.gson.JsonObject... others)
invokeInfo
- Operator invocation with existing group information created by
group(JsonObject, String, String, String)
.others
- Operator invocations to be grouped with operator invocation
represented by invokeInfo
.