Tabnine Logo
FlowletConnection
Code IndexAdd Tabnine to your IDE (free)

How to use
FlowletConnection
in
co.cask.tigon.api.flow

Best Java code snippets using co.cask.tigon.api.flow.FlowletConnection (Showing top 3 results out of 315)

origin: co.cask.tigon/tigon-api

@Override
public MoreConnect to(String flowlet) {
 Preconditions.checkArgument(flowlet != null, UserMessages.getMessage(UserErrors.INVALID_FLOWLET_NULL));
 Preconditions.checkArgument(flowlets.containsKey(flowlet),
     UserMessages.getMessage(UserErrors.INVALID_FLOWLET_NAME), flowlet);
 FlowletConnection.Type sourceType;
 String sourceName;
 sourceType = FlowletConnection.Type.FLOWLET;
 sourceName = fromFlowlet.getFlowletSpec().getName();
 connections.add(new FlowletConnection(sourceType, sourceName, flowlet));
 return this;
}
origin: co.cask.tigon/tigon-flow

final String source = connection.getSourceName();
final String target = connection.getTargetName();
final Node sourceNode = new Node(connection.getSourceType(), source);
origin: co.cask.tigon/tigon-flow

if (connection.getSourceType() == FlowletConnection.Type.STREAM) {
 builder.add(createSpec(QueueName.fromStream(outputName),
             schemas.getFirst(), schemas.getSecond()));
} else {
 builder.add(createSpec(QueueName.fromFlowlet(flow, flow,
                        connection.getSourceName(), outputName),
             schemas.getFirst(), schemas.getSecond()));
co.cask.tigon.api.flowFlowletConnection

Javadoc

Defines a connection between two co.cask.tigon.api.flow.flowlet.Flowlet

Most used methods

  • <init>
  • getSourceName
  • getSourceType
  • getTargetName

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JComboBox (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now