public class TridentUtils extends Object
Constructor and Description |
---|
TridentUtils() |
Modifier and Type | Method and Description |
---|---|
static Fields |
fieldsConcat(Fields... fields) |
static Fields |
fieldsSubtract(Fields all,
Fields minus) |
static Fields |
fieldsUnion(Fields... fields) |
static <T> List<T> |
getChildren(org.apache.storm.shade.org.jgrapht.DirectedGraph g,
T n) |
static <T> T |
getParent(org.apache.storm.shade.org.jgrapht.DirectedGraph g,
T n) |
static <T> List<T> |
getParents(org.apache.storm.shade.org.jgrapht.DirectedGraph g,
T n)
Assumes edge contains an index.
|
static Fields |
getSingleOutputStreamFields(IComponent component) |
static <T> T |
thriftDeserialize(Class<T> c,
byte[] b) |
static byte[] |
thriftSerialize(org.apache.storm.thrift.TBase t) |
public static Fields getSingleOutputStreamFields(IComponent component)
public static <T> List<T> getParents(org.apache.storm.shade.org.jgrapht.DirectedGraph g, T n)
Assumes edge contains an index.
public static <T> List<T> getChildren(org.apache.storm.shade.org.jgrapht.DirectedGraph g, T n)
public static <T> T getParent(org.apache.storm.shade.org.jgrapht.DirectedGraph g, T n)
public static byte[] thriftSerialize(org.apache.storm.thrift.TBase t)
public static <T> T thriftDeserialize(Class<T> c, byte[] b)
Copyright © 2020 The Apache Software Foundation. All rights reserved.