public class FluxBuilder extends Object
Constructor and Description |
---|
FluxBuilder() |
Modifier and Type | Method and Description |
---|---|
static Config |
buildConfig(TopologyDef topologyDef)
Given a topology definition, return a populated `backtype.storm.Config` instance.
|
static StormTopology |
buildTopology(ExecutionContext context)
Given a topology definition, return a Storm topology that can be run either locally or remotely.
|
static void |
invokeConfigMethods(ObjectDef bean,
Object instance,
ExecutionContext context) |
static boolean |
isPrimitiveNumber(Class clazz) |
public static Config buildConfig(TopologyDef topologyDef)
topologyDef
- public static StormTopology buildTopology(ExecutionContext context) throws IllegalAccessException, InstantiationException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException
context
- IllegalAccessException
InstantiationException
ClassNotFoundException
NoSuchMethodException
InvocationTargetException
public static void invokeConfigMethods(ObjectDef bean, Object instance, ExecutionContext context) throws InvocationTargetException, IllegalAccessException
public static boolean isPrimitiveNumber(Class clazz)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.