Codota Logo
FlowletConnection
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • findViewById (Activity)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now