Uses of Class
org.apache.storm.task.TopologyContext
-
-
Uses of TopologyContext in org.apache.storm
Methods in org.apache.storm with parameters of type TopologyContext Modifier and Type Method Description voidExclamationTopology.FixedOrderWordSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidExclamationTopology.ExclamationBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.bolt
Methods in org.apache.storm.bolt with parameters of type TopologyContext Modifier and Type Method Description voidJoinBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.clojure
Methods in org.apache.storm.clojure with parameters of type TopologyContext Modifier and Type Method Description voidClojureSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidClojureBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.coordination
Methods in org.apache.storm.coordination with parameters of type TopologyContext Modifier and Type Method Description voidBatchBoltExecutor. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector)voidCoordinatedBolt. prepare(Map<String,Object> config, TopologyContext context, OutputCollector collector)voidIBatchBolt. prepare(Map<String,Object> conf, TopologyContext context, BatchOutputCollector collector, T id) -
Uses of TopologyContext in org.apache.storm.daemon
Methods in org.apache.storm.daemon that return TopologyContext Modifier and Type Method Description TopologyContextTask. getUserContext()Methods in org.apache.storm.daemon with parameters of type TopologyContext Modifier and Type Method Description voidAcker. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.daemon.metrics
Methods in org.apache.storm.daemon.metrics with parameters of type TopologyContext Modifier and Type Method Description static voidBuiltinMetricsUtil. registerIconnectionServerMetric(Object server, Map<String,Object> topoConf, TopologyContext context)static voidBuiltinMetricsUtil. registerMetric(String name, IMetric metric, Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.drpc
Methods in org.apache.storm.drpc with parameters of type TopologyContext Modifier and Type Method Description voidDRPCSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidJoinResult. prepare(Map<String,Object> map, TopologyContext context, OutputCollector collector)voidKeyedFairBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidPrepareRequest. prepare(Map<String,Object> map, TopologyContext context)voidReturnResults. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.flux.examples
Methods in org.apache.storm.flux.examples with parameters of type TopologyContext Modifier and Type Method Description voidStatefulWordCounter. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestWindowBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidWordCounter. prepare(Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.hdfs.bolt
Methods in org.apache.storm.hdfs.bolt with parameters of type TopologyContext Modifier and Type Method Description protected abstract voidAbstractHdfsBolt. doPrepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)protected voidAvroGenericRecordBolt. doPrepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)voidHdfsBolt. doPrepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)voidSequenceFileBolt. doPrepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)voidHdfsFileTopology.SentenceSpout. open(Map<String,Object> config, TopologyContext context, SpoutOutputCollector collector)voidSequenceFileTopology.SentenceSpout. open(Map<String,Object> config, TopologyContext context, SpoutOutputCollector collector)voidAbstractHdfsBolt. prepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)Marked as final to prevent override.voidHdfsFileTopology.MyBolt. prepare(Map<String,Object> config, TopologyContext context, OutputCollector collector)voidSequenceFileTopology.MyBolt. prepare(Map<String,Object> config, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.hdfs.bolt.format
Methods in org.apache.storm.hdfs.bolt.format with parameters of type TopologyContext Modifier and Type Method Description voidDefaultFileNameFormat. prepare(Map<String,Object> conf, TopologyContext topologyContext)voidFileNameFormat. prepare(Map<String,Object> conf, TopologyContext topologyContext)voidSimpleFileNameFormat. prepare(Map<String,Object> conf, TopologyContext topologyContext) -
Uses of TopologyContext in org.apache.storm.hdfs.spout
Methods in org.apache.storm.hdfs.spout with parameters of type TopologyContext Modifier and Type Method Description voidHdfsSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidHdfsSpoutTopology.ConstBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.hdfs.trident
Methods in org.apache.storm.hdfs.trident with parameters of type TopologyContext Modifier and Type Method Description voidFixedBatchSpout. open(Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.hive.bolt
Methods in org.apache.storm.hive.bolt with parameters of type TopologyContext Modifier and Type Method Description voidBucketTestHiveTopology.UserDataSpout. open(Map<String,Object> config, TopologyContext context, SpoutOutputCollector collector)voidHiveTopology.UserDataSpout. open(Map<String,Object> config, TopologyContext context, SpoutOutputCollector collector)voidHiveTopologyPartitioned.UserDataSpout. open(Map<String,Object> config, TopologyContext context, SpoutOutputCollector collector)voidHiveBolt. prepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TopologyContext in org.apache.storm.hive.trident
Methods in org.apache.storm.hive.trident with parameters of type TopologyContext Modifier and Type Method Description voidTridentHiveTopology.FixedBatchSpout. open(Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.hooks
Methods in org.apache.storm.hooks with parameters of type TopologyContext Modifier and Type Method Description voidBaseTaskHook. prepare(Map<String,Object> conf, TopologyContext context)voidITaskHook. prepare(Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.hooks.info
Methods in org.apache.storm.hooks.info with parameters of type TopologyContext Modifier and Type Method Description voidBoltAckInfo. applyOn(TopologyContext topologyContext)voidBoltExecuteInfo. applyOn(TopologyContext topologyContext)voidBoltFailInfo. applyOn(TopologyContext topologyContext)voidEmitInfo. applyOn(TopologyContext topologyContext)voidSpoutAckInfo. applyOn(TopologyContext topologyContext)voidSpoutFailInfo. applyOn(TopologyContext topologyContext) -
Uses of TopologyContext in org.apache.storm.jdbc.bolt
Methods in org.apache.storm.jdbc.bolt with parameters of type TopologyContext Modifier and Type Method Description voidAbstractJdbcBolt. prepare(Map<String,Object> map, TopologyContext topologyContext, OutputCollector outputCollector)Subclasses should call this to ensure output collector and connection provider are set up, and finally jdbcClient is initialized properly.voidJdbcInsertBolt. prepare(Map<String,Object> map, TopologyContext topologyContext, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.jdbc.spout
Methods in org.apache.storm.jdbc.spout with parameters of type TopologyContext Modifier and Type Method Description voidUserSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.jms.bolt
Methods in org.apache.storm.jms.bolt with parameters of type TopologyContext Modifier and Type Method Description voidJmsBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)Initializes JMS resources. -
Uses of TopologyContext in org.apache.storm.jms.example
Methods in org.apache.storm.jms.example with parameters of type TopologyContext Modifier and Type Method Description voidGenericBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.jms.spout
Methods in org.apache.storm.jms.spout with parameters of type TopologyContext Modifier and Type Method Description voidJmsSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector spoutOutputCollector)ISpoutimplementation. -
Uses of TopologyContext in org.apache.storm.jms.trident
Methods in org.apache.storm.jms.trident with parameters of type TopologyContext Modifier and Type Method Description ITridentSpout.BatchCoordinator<JmsBatch>TridentJmsSpout. getCoordinator(String txStateId, Map<String,Object> conf, TopologyContext context)ITridentSpout.Emitter<JmsBatch>TridentJmsSpout. getEmitter(String txStateId, Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.kafka.bolt
Methods in org.apache.storm.kafka.bolt with parameters of type TopologyContext Modifier and Type Method Description voidKafkaBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidPreparableCallback. prepare(Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.kafka.spout
Methods in org.apache.storm.kafka.spout with parameters of type TopologyContext Modifier and Type Method Description voidEmptyKafkaTupleListener. open(Map<String,Object> conf, TopologyContext context)voidKafkaSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidKafkaTupleListener. open(Map<String,Object> conf, TopologyContext context)Called during the initialization of the kafka spout.voidKafkaSpoutTestBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.kafka.spout.internal
Constructors in org.apache.storm.kafka.spout.internal with parameters of type TopologyContext Constructor Description CommitMetadataManager(TopologyContext context, KafkaSpoutConfig.ProcessingGuarantee processingGuarantee)Create a manager with the given context. -
Uses of TopologyContext in org.apache.storm.kafka.spout.metrics2
Constructors in org.apache.storm.kafka.spout.metrics2 with parameters of type TopologyContext Constructor Description KafkaOffsetMetricManager(Supplier<Map<org.apache.kafka.common.TopicPartition,OffsetManager>> offsetManagerSupplier, Supplier<org.apache.kafka.clients.admin.Admin> adminSupplier, TopologyContext topologyContext) -
Uses of TopologyContext in org.apache.storm.kafka.spout.subscription
Methods in org.apache.storm.kafka.spout.subscription with parameters of type TopologyContext Modifier and Type Method Description Set<org.apache.kafka.common.TopicPartition>ManualPartitioner. getPartitionsForThisTask(List<org.apache.kafka.common.TopicPartition> allPartitionsSorted, TopologyContext context)Filter the list of all partitions handled by this set of spouts to get only the partitions assigned to this task.Set<org.apache.kafka.common.TopicPartition>RoundRobinManualPartitioner. getPartitionsForThisTask(List<org.apache.kafka.common.TopicPartition> allPartitionsSorted, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.kafka.spout.trident
Methods in org.apache.storm.kafka.spout.trident with parameters of type TopologyContext Modifier and Type Method Description IOpaquePartitionedTridentSpout.Coordinator<List<Map<String,Object>>>KafkaTridentSpoutOpaque. getCoordinator(Map<String,Object> conf, TopologyContext context)IPartitionedTridentSpout.Coordinator<List<Map<String,Object>>>KafkaTridentSpoutTransactional. getCoordinator(Map<String,Object> conf, TopologyContext context)IOpaquePartitionedTridentSpout.Emitter<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>KafkaTridentSpoutOpaque. getEmitter(Map<String,Object> conf, TopologyContext context)IPartitionedTridentSpout.Emitter<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>KafkaTridentSpoutTransactional. getEmitter(Map<String,Object> conf, TopologyContext context)Constructors in org.apache.storm.kafka.spout.trident with parameters of type TopologyContext Constructor Description KafkaTridentSpoutEmitter(KafkaTridentSpoutConfig<K,V> kafkaSpoutConfig, TopologyContext topologyContext)Create a new Kafka spout emitter. -
Uses of TopologyContext in org.apache.storm.lambda
Methods in org.apache.storm.lambda with parameters of type TopologyContext Modifier and Type Method Description voidLambdaSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.loadgen
Methods in org.apache.storm.loadgen with parameters of type TopologyContext Modifier and Type Method Description voidLoadSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidHttpForwardingMetricsConsumer. prepare(Map<String,Object> topoConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)voidLoadBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidThroughputVsLatency.SplitSentence. prepare(Map<String,Object> stormConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.metric
Methods in org.apache.storm.metric with parameters of type TopologyContext Modifier and Type Method Description voidEventLoggerBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidFileBasedEventLogger. prepare(Map<String,Object> conf, Map<String,Object> arguments, TopologyContext context)voidIEventLogger. prepare(Map<String,Object> conf, Map<String,Object> arguments, TopologyContext context)voidLoggingMetricsConsumer. prepare(Map<String,Object> topoConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)voidMetricsConsumerBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidSystemBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.metric.api
Methods in org.apache.storm.metric.api with parameters of type TopologyContext Modifier and Type Method Description voidIMetricsConsumer. prepare(Map<String,Object> topoConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)voidIMetricsRegistrant. registerMetrics(TopologyContext topoContext, Map<String,Object> topoConf) -
Uses of TopologyContext in org.apache.storm.metrics2
Methods in org.apache.storm.metrics2 with parameters of type TopologyContext Modifier and Type Method Description com.codahale.metrics.CounterStormMetricRegistry. counter(String name, TopologyContext context)<T> com.codahale.metrics.Gauge<T>StormMetricRegistry. gauge(String name, com.codahale.metrics.Gauge<T> gauge, TopologyContext context)com.codahale.metrics.HistogramStormMetricRegistry. histogram(String name, TopologyContext context)com.codahale.metrics.MeterStormMetricRegistry. meter(String name, TopologyContext context)voidStormMetricRegistry. metricSet(String prefix, com.codahale.metrics.MetricSet set, TopologyContext context)voidWorkerMetricRegistrant. registerMetrics(TopologyContext topologyContext)com.codahale.metrics.TimerStormMetricRegistry. timer(String name, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.metrics2.cgroup
Methods in org.apache.storm.metrics2.cgroup with parameters of type TopologyContext Modifier and Type Method Description voidCGroupCpu. registerMetrics(TopologyContext topologyContext)voidCGroupCpuGuarantee. registerMetrics(TopologyContext topologyContext)voidCGroupCpuGuaranteeByCfsQuota. registerMetrics(TopologyContext topologyContext)voidCGroupCpuStat. registerMetrics(TopologyContext topologyContext)voidCGroupMemoryLimit. registerMetrics(TopologyContext topologyContext)voidCGroupMemoryUsage. registerMetrics(TopologyContext topologyContext) -
Uses of TopologyContext in org.apache.storm.multilang
Methods in org.apache.storm.multilang with parameters of type TopologyContext Modifier and Type Method Description NumberISerializer. connect(Map<String,Object> conf, TopologyContext context)This method transmits the Storm config to the non-JVM process and receives its pid.NumberJsonSerializer. connect(Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.perf.bolt
Methods in org.apache.storm.perf.bolt with parameters of type TopologyContext Modifier and Type Method Description voidCountBolt. prepare(Map<String,Object> topoConf, TopologyContext context)voidDevNullBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidIdBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidSplitSentenceBolt. prepare(Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.perf.spout
Methods in org.apache.storm.perf.spout with parameters of type TopologyContext Modifier and Type Method Description voidConstSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidFileReadSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidStringGenSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidWordGenSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.perf.utils
Methods in org.apache.storm.perf.utils with parameters of type TopologyContext Modifier and Type Method Description voidIdentityBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.redis.bolt
Methods in org.apache.storm.redis.bolt with parameters of type TopologyContext Modifier and Type Method Description voidAbstractRedisBolt. prepare(Map<String,Object> map, TopologyContext topologyContext, OutputCollector collector)Called when a task for this component is initialized within a worker on the cluster. -
Uses of TopologyContext in org.apache.storm.redis.state
Methods in org.apache.storm.redis.state with parameters of type TopologyContext Modifier and Type Method Description StateRedisKeyValueStateProvider. newState(String namespace, Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.redis.topology
Methods in org.apache.storm.redis.topology with parameters of type TopologyContext Modifier and Type Method Description voidWordSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidLookupWordCount.PrintWordTotalCountBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidWhitelistWordCount.PrintWordTotalCountBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidWordCounter. prepare(Map<String,Object> topoConf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.security.auth.kerberos
Methods in org.apache.storm.security.auth.kerberos with parameters of type TopologyContext Modifier and Type Method Description voidAutoTGT. registerMetrics(TopologyContext topoContext, Map<String,Object> topoConf) -
Uses of TopologyContext in org.apache.storm.spout
Methods in org.apache.storm.spout with parameters of type TopologyContext Modifier and Type Method Description voidCheckpointSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidISpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)Called when a task for this component is initialized within a worker on the cluster.voidShellSpout. open(Map<String,Object> topoConf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.sql.runtime.datasource.socket.bolt
Methods in org.apache.storm.sql.runtime.datasource.socket.bolt with parameters of type TopologyContext Modifier and Type Method Description voidSocketBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.sql.runtime.datasource.socket.spout
Methods in org.apache.storm.sql.runtime.datasource.socket.spout with parameters of type TopologyContext Modifier and Type Method Description voidSocketSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.st.topology.window
Methods in org.apache.storm.st.topology.window with parameters of type TopologyContext Modifier and Type Method Description voidIncrementingSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidTimeDataIncrementingSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidTimeDataVerificationBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidVerificationBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.starter
Methods in org.apache.storm.starter with parameters of type TopologyContext Modifier and Type Method Description voidAnchoredWordCount.RandomSentenceSpout. open(Map conf, TopologyContext context, SpoutOutputCollector collector)voidBlobStoreAPIWordCountTopology.RandomSentenceSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidFastWordCountTopology.FastRandomSentenceSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidInOrderDeliveryTest.InOrderSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidExclamationTopology.ExclamationBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector)voidMultipleLoggerTopology.ExclamationLoggingBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector)voidMultiThreadWordCountTopology.MultiThreadedSplitSentence. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidReachTopology.CountAggregator. prepare(Map<String,Object> conf, TopologyContext context, BatchOutputCollector collector, Object id)voidReachTopology.PartialUniquer. prepare(Map<String,Object> conf, TopologyContext context, BatchOutputCollector collector, Object id)voidResourceAwareExampleTopology.ExclamationBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.starter.bolt
Methods in org.apache.storm.starter.bolt with parameters of type TopologyContext Modifier and Type Method Description voidRollingCountAggBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidRollingCountBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidSingleJoinBolt. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector)voidSlidingWindowSumBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.starter.spout
Methods in org.apache.storm.starter.spout with parameters of type TopologyContext Modifier and Type Method Description voidRandomIntegerSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidRandomNumberGeneratorSpout. open(Map<String,Object> conf, TopologyContext context)voidRandomSentenceSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector) -
Uses of TopologyContext in org.apache.storm.state
Methods in org.apache.storm.state with parameters of type TopologyContext Modifier and Type Method Description static StateStateFactory. getState(String namespace, Map<String,Object> topoConf, TopologyContext context)Returns a new state instance using theConfig.TOPOLOGY_STATE_PROVIDERor aInMemoryKeyValueStateif no provider is configured.StateInMemoryKeyValueStateProvider. newState(String namespace, Map<String,Object> topoConf, TopologyContext context)StateStateProvider. newState(String namespace, Map<String,Object> topoConf, TopologyContext context)Returns a new state instance.voidIStateSpout. open(Map<String,Object> conf, TopologyContext context)Constructors in org.apache.storm.state with parameters of type TopologyContext Constructor Description DefaultStateSerializer(Map<String,Object> topoConf, TopologyContext context)DefaultStateSerializer(Map<String,Object> topoConf, TopologyContext context, List<Class<?>> classesToRegister)Constructs aDefaultStateSerializerinstance with the given list of classes registered in kryo. -
Uses of TopologyContext in org.apache.storm.task
Methods in org.apache.storm.task with parameters of type TopologyContext Modifier and Type Method Description voidIBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)Called when a task for this component is initialized within a worker on the cluster.voidShellBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.testing
Methods in org.apache.storm.testing with parameters of type TopologyContext Modifier and Type Method Description voidFeederSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidFixedTupleSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidPythonShellMetricsSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidSpoutTracker. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidTestEventLogSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidTestPlannerSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidTestWordSpout. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidForwardingMetricsConsumer. prepare(Map<String,Object> topoConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)voidNonRichBoltTracker. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidPythonShellMetricsBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestAggregatesCounter. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestConfBolt. prepare(Map<String,Object> conf, TopologyContext context)voidTestEventOrderCheckBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestGlobalCount. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestPlannerBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidTestWordCounter. prepare(Map<String,Object> topoConf, TopologyContext context)voidTupleCaptureBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.topology
Methods in org.apache.storm.topology with parameters of type TopologyContext Modifier and Type Method Description protected voidWindowedBoltExecutor. doPrepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector, Collection<Event<Tuple>> queue, boolean stateful)protected voidBaseStatefulBoltExecutor. init(TopologyContext context, OutputCollector collector)voidBasicBoltExecutor. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidCheckpointTupleForwarder. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector outputCollector)voidIBasicBolt. prepare(Map<String,Object> topoConf, TopologyContext context)voidIStatefulBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)Analogue to bolt function.voidIWindowedBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)This is similar to theIBolt.prepare(Map, TopologyContext, OutputCollector)except that while emitting, the tuples are automatically anchored to the tuples in the inputWindow.voidPersistentWindowedBoltExecutor. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidStatefulBoltExecutor. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidStatefulWindowedBoltExecutor. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidWindowedBoltExecutor. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.topology.base
Methods in org.apache.storm.topology.base with parameters of type TopologyContext Modifier and Type Method Description voidBaseBasicBolt. prepare(Map<String,Object> topoConf, TopologyContext context)voidBaseStatefulBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector)voidBaseWindowedBolt. prepare(Map<String,Object> topoConf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.trident.operation
Constructors in org.apache.storm.trident.operation with parameters of type TopologyContext Constructor Description TridentOperationContext(TopologyContext topoContext, TridentTuple.Factory factory) -
Uses of TopologyContext in org.apache.storm.trident.planner
Methods in org.apache.storm.trident.planner with parameters of type TopologyContext Modifier and Type Method Description voidSubtopologyBolt. prepare(Map<String,Object> conf, TopologyContext context, BatchOutputCollector batchCollector)voidTridentProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext) -
Uses of TopologyContext in org.apache.storm.trident.planner.processor
Methods in org.apache.storm.trident.planner.processor with parameters of type TopologyContext Modifier and Type Method Description voidAggregateProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidEachProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidMapProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidMultiReducerProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidPartitionPersistProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidProjectedProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext)voidStateQueryProcessor. prepare(Map<String,Object> conf, TopologyContext context, TridentContext tridentContext) -
Uses of TopologyContext in org.apache.storm.trident.spout
Constructors in org.apache.storm.trident.spout with parameters of type TopologyContext Constructor Description Coordinator(Map<String,Object> conf, TopologyContext context)Emitter(String txStateId, Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.trident.testing
Methods in org.apache.storm.trident.testing with parameters of type TopologyContext Modifier and Type Method Description ITridentSpout.BatchCoordinator<Map<Integer,List<List<Object>>>>FeederBatchSpout. getCoordinator(String txStateId, Map<String,Object> conf, TopologyContext context)ITridentSpout.BatchCoordinator<Map<Integer,List<List<Object>>>>FeederCommitterBatchSpout. getCoordinator(String txStateId, Map<String,Object> conf, TopologyContext context)ITridentSpout.Emitter<Map<Integer,List<List<Object>>>>FeederBatchSpout. getEmitter(String txStateId, Map<String,Object> conf, TopologyContext context)ICommitterTridentSpout.EmitterFeederCommitterBatchSpout. getEmitter(String txStateId, Map<String,Object> conf, TopologyContext context)voidFixedBatchSpout. open(Map<String,Object> conf, TopologyContext context) -
Uses of TopologyContext in org.apache.storm.trident.topology
Methods in org.apache.storm.trident.topology with parameters of type TopologyContext Modifier and Type Method Description voidMasterBatchCoordinator. open(Map<String,Object> conf, TopologyContext context, SpoutOutputCollector collector)voidITridentBatchBolt. prepare(Map<String,Object> conf, TopologyContext context, BatchOutputCollector collector)voidTridentBoltExecutor. prepare(Map<String,Object> conf, TopologyContext context, OutputCollector collector) -
Uses of TopologyContext in org.apache.storm.trident.windowing
Methods in org.apache.storm.trident.windowing with parameters of type TopologyContext Modifier and Type Method Description voidWindowTridentProcessor. prepare(Map<String,Object> topoConf, TopologyContext context, TridentContext tridentContext) -
Uses of TopologyContext in org.apache.storm.utils
Methods in org.apache.storm.utils with parameters of type TopologyContext Modifier and Type Method Description NumberShellProcess. launch(Map<String,Object> conf, TopologyContext context)NumberShellProcess. launch(Map<String,Object> conf, TopologyContext context, boolean changeDirectory)voidDefaultShellLogHandler. setUpContext(Class<?> ownerCls, ShellProcess process, TopologyContext context)This default implementation saves theShellProcessso it can output the process info string later.voidShellLogHandler. setUpContext(Class<?> ownerCls, ShellProcess process, TopologyContext context)Called at least once beforeShellLogHandler.log(org.apache.storm.multilang.ShellMsg)for each spout and bolt.
-