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

How to use
IntersectOperator
in
org.qcri.rheem.basic.operators

Best Java code snippets using org.qcri.rheem.basic.operators.IntersectOperator (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.qcri.rheem/rheem-basic

/**
 * Provides the type of input and output datasets.
 *
 * @return the {@link DataSetType}
 */
public DataSetType<Type> getType() {
  return this.getInputType0();
}
origin: org.qcri.rheem/rheem-java

private SubplanPattern createSubplanPattern() {
  final OperatorPattern operatorPattern = new OperatorPattern<>(
      "intersect", new IntersectOperator<>(DataSetType.none()), false
  );
  return SubplanPattern.createSingleton(operatorPattern);
}
origin: org.qcri.rheem/rheem-basic

  @Override
  public Optional<CardinalityEstimator> createCardinalityEstimator(
      final int outputIndex,
      final Configuration configuration) {
    Validate.inclusiveBetween(0, this.getNumOutputs() - 1, outputIndex);
    // The current idea: We assume that one side is duplicate-free and included in the other.
    // TODO: Find a better estimator.
    return Optional.of(new DefaultCardinalityEstimator(
        .5d, 2, this.isSupportingBroadcastInputs(),
        inputCards -> Math.min(inputCards[0], inputCards[1])
    ));
  }
}
origin: org.qcri.rheem/rheem-spark

private SubplanPattern createSubplanPattern() {
  final OperatorPattern operatorPattern = new OperatorPattern<>(
      "intersect", new IntersectOperator<>(DataSetType.none()), false
  );
  return SubplanPattern.createSingleton(operatorPattern);
}
org.qcri.rheem.basic.operatorsIntersectOperator

Javadoc

This operator returns the set intersection of elements of input datasets.

Most used methods

  • <init>
  • getInputType0
  • getNumOutputs
  • isSupportingBroadcastInputs

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
  • getContentResolver (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Join (org.hibernate.mapping)
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