co.cask.tigon.app.queue
Interface QueueSpecificationGenerator


public interface QueueSpecificationGenerator

This interface specifies how the QueueSpecification is generated for each Flowlet and within each Flowlet the inputs and outputs.

This requires looking at the whole Specification..


Nested Class Summary
static class QueueSpecificationGenerator.Node
          This class represents a node in the DAG.
 
Method Summary
 com.google.common.collect.Table<QueueSpecificationGenerator.Node,String,Set<QueueSpecification>> create(co.cask.tigon.api.flow.FlowSpecification specification)
          Given a FlowSpecification we generate a map of from flowlet to to flowlet with their queue and schema.
 

Method Detail

create

com.google.common.collect.Table<QueueSpecificationGenerator.Node,String,Set<QueueSpecification>> create(co.cask.tigon.api.flow.FlowSpecification specification)
Given a FlowSpecification we generate a map of from flowlet to to flowlet with their queue and schema.

Parameters:
specification - of a Flow
Returns:
A Table consisting of From, To Flowlet and QueueSpecification.


Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.