Codota Logo
CoGroupOperatorBase
Code IndexAdd Codota to your IDE (free)

How to use
CoGroupOperatorBase
in
eu.stratosphere.api.common.operators.base

Best Java code snippets using eu.stratosphere.api.common.operators.base.CoGroupOperatorBase (Showing top 13 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: stratosphere/stratosphere

/**
 * Gets the order of elements within a group for the first input.
 * If no such order has been set, this method returns null.
 * 
 * @return The group order for the first input.
 */
public Ordering getGroupOrderForInputOne() {
  return getGroupOrder(0);
}

origin: eu.stratosphere/stratosphere-core

/**
 * Sets the order of the elements within a group for the first input.
 * 
 * @param order The order for the elements in a group.
 */
public void setGroupOrderForInputOne(Ordering order) {
  setGroupOrder(0, order);
}

origin: stratosphere/stratosphere

    new CoGroupOperatorBase<I1, I2, OUT, GenericCoGrouper<I1, I2, OUT>>(
        function, new BinaryOperatorInformation<I1, I2, OUT>(getInput1Type(), getInput2Type(), getResultType()),
        logicalKeyPositions1, logicalKeyPositions2, name);
po.setFirstInput(input1);
po.setSecondInput(input2);
po.setDegreeOfParallelism(this.getParallelism());
origin: stratosphere/stratosphere

@Override
protected List<OperatorDescriptorDual> getPossibleProperties() {
  Ordering groupOrder1 = null;
  Ordering groupOrder2 = null;
  
  CoGroupOperatorBase<?, ?, ?, ?> cgc = getPactContract();
  groupOrder1 = cgc.getGroupOrderForInputOne();
  groupOrder2 = cgc.getGroupOrderForInputTwo();
    
  if (groupOrder1 != null && groupOrder1.getNumberOfFields() == 0) {
    groupOrder1 = null;
  }
  if (groupOrder2 != null && groupOrder2.getNumberOfFields() == 0) {
    groupOrder2 = null;
  }
  
  List<OperatorDescriptorDual> l = new ArrayList<OperatorDescriptorDual>(1);
  l.add(new CoGroupDescriptor(this.keys1, this.keys2, groupOrder1, groupOrder2));
  return l;
}

origin: eu.stratosphere/stratosphere-compiler

@Override
protected List<OperatorDescriptorDual> getPossibleProperties() {
  Ordering groupOrder1 = null;
  Ordering groupOrder2 = null;
  
  CoGroupOperatorBase<?, ?, ?, ?> cgc = getPactContract();
  groupOrder1 = cgc.getGroupOrderForInputOne();
  groupOrder2 = cgc.getGroupOrderForInputTwo();
    
  if (groupOrder1 != null && groupOrder1.getNumberOfFields() == 0) {
    groupOrder1 = null;
  }
  if (groupOrder2 != null && groupOrder2.getNumberOfFields() == 0) {
    groupOrder2 = null;
  }
  
  List<OperatorDescriptorDual> l = new ArrayList<OperatorDescriptorDual>(1);
  l.add(new CoGroupDescriptor(this.keys1, this.keys2, groupOrder1, groupOrder2));
  return l;
}

origin: stratosphere/stratosphere

Ordering groupOrder1 = ((CoGroupOperatorBase<?, ?, ?, ?>) contract).getGroupOrderForInputOne();
Ordering groupOrder2 = ((CoGroupOperatorBase<?, ?, ?, ?>) contract).getGroupOrderForInputTwo();
origin: stratosphere/stratosphere

/**
 * Sets the order of the elements within a group for the first input.
 * 
 * @param order The order for the elements in a group.
 */
public void setGroupOrderForInputOne(Ordering order) {
  setGroupOrder(0, order);
}

origin: stratosphere/stratosphere

/**
 * Gets the order of elements within a group for the second input.
 * If no such order has been set, this method returns null.
 * 
 * @return The group order for the second input.
 */
public Ordering getGroupOrderForInputTwo() {
  return getGroupOrder(1);
}

origin: eu.stratosphere/stratosphere-compiler

Ordering groupOrder1 = ((CoGroupOperatorBase<?, ?, ?, ?>) contract).getGroupOrderForInputOne();
Ordering groupOrder2 = ((CoGroupOperatorBase<?, ?, ?, ?>) contract).getGroupOrderForInputTwo();
origin: eu.stratosphere/stratosphere-core

/**
 * Sets the order of the elements within a group for the second input.
 * 
 * @param order The order for the elements in a group.
 */
public void setGroupOrderForInputTwo(Ordering order) {
  setGroupOrder(1, order);
}

origin: eu.stratosphere/stratosphere-core

/**
 * Gets the order of elements within a group for the first input.
 * If no such order has been set, this method returns null.
 * 
 * @return The group order for the first input.
 */
public Ordering getGroupOrderForInputOne() {
  return getGroupOrder(0);
}

origin: stratosphere/stratosphere

/**
 * Sets the order of the elements within a group for the second input.
 * 
 * @param order The order for the elements in a group.
 */
public void setGroupOrderForInputTwo(Ordering order) {
  setGroupOrder(1, order);
}

origin: eu.stratosphere/stratosphere-core

/**
 * Gets the order of elements within a group for the second input.
 * If no such order has been set, this method returns null.
 * 
 * @return The group order for the second input.
 */
public Ordering getGroupOrderForInputTwo() {
  return getGroupOrder(1);
}

eu.stratosphere.api.common.operators.baseCoGroupOperatorBase

Most used methods

  • <init>
  • getGroupOrder
    Gets the value order for an input, i.e. the order of elements within a group. If no such order has b
  • getGroupOrderForInputOne
    Gets the order of elements within a group for the first input. If no such order has been set, this m
  • getGroupOrderForInputTwo
    Gets the order of elements within a group for the second input. If no such order has been set, this
  • setDegreeOfParallelism
  • setFirstInput
  • setGroupOrder
    Sets the order of the elements within a group for the given input.
  • setSecondInput

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
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