Codota Logo
DataMapExprWrapper.prune
Code IndexAdd Codota to your IDE (free)

How to use
prune
method
in
org.apache.carbondata.core.datamap.dev.expr.DataMapExprWrapper

Best Java code snippets using org.apache.carbondata.core.datamap.dev.expr.DataMapExprWrapper.prune (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.apache.carbondata/carbondata-core

@Override
public List<ExtendedBlocklet> prune(DataMapDistributable distributable,
  List<PartitionSpec> partitionsToPrune)
    throws IOException {
 List<ExtendedBlocklet> leftPrune = left.prune(distributable, partitionsToPrune);
 List<ExtendedBlocklet> rightPrune = right.prune(distributable, partitionsToPrune);
 Set<ExtendedBlocklet> andBlocklets = new HashSet<>();
 andBlocklets.addAll(leftPrune);
 andBlocklets.addAll(rightPrune);
 return new ArrayList<>(andBlocklets);
}
origin: org.apache.carbondata/carbondata-core

@Override
public List<ExtendedBlocklet> prune(List<Segment> segments, List<PartitionSpec> partitionsToPrune)
  throws IOException {
 List<ExtendedBlocklet> leftPrune = left.prune(segments, partitionsToPrune);
 List<ExtendedBlocklet> rightPrune = right.prune(segments, partitionsToPrune);
 List<ExtendedBlocklet> andBlocklets = new ArrayList<>();
 for (ExtendedBlocklet blocklet : leftPrune) {
  if (rightPrune.contains(blocklet)) {
   andBlocklets.add(blocklet);
  }
 }
 return andBlocklets;
}
origin: org.apache.carbondata/carbondata-core

@Override
public List<ExtendedBlocklet> prune(DataMapDistributable distributable,
  List<PartitionSpec> partitionsToPrune)
    throws IOException {
 List<ExtendedBlocklet> leftPrune = left.prune(distributable, partitionsToPrune);
 List<ExtendedBlocklet> rightPrune = right.prune(distributable, partitionsToPrune);
 List<ExtendedBlocklet> andBlocklets = new ArrayList<>();
 for (ExtendedBlocklet blocklet : leftPrune) {
  if (rightPrune.contains(blocklet)) {
   andBlocklets.add(blocklet);
  }
 }
 return andBlocklets;
}
origin: org.apache.carbondata/carbondata-core

@Override
public List<ExtendedBlocklet> prune(List<Segment> segments, List<PartitionSpec> partitionsToPrune)
  throws IOException {
 List<ExtendedBlocklet> leftPrune = left.prune(segments, partitionsToPrune);
 List<ExtendedBlocklet> rightPrune = right.prune(segments, partitionsToPrune);
 Set<ExtendedBlocklet> andBlocklets = new HashSet<>();
 andBlocklets.addAll(leftPrune);
 andBlocklets.addAll(rightPrune);
 return new ArrayList<>(andBlocklets);
}
origin: org.apache.carbondata/carbondata-search

for (int i = 0; i < distributables.size(); i++) {
 DataMapDistributable dataMapDistributable = distributables.get(i).getDistributable();
 prunnedBlocklets.addAll(datamap.prune(dataMapDistributable, null));
origin: org.apache.carbondata/carbondata-hadoop

   resolver, segmentIds, cgDataMapExprWrapper, dataMapJob, partitionsToPrune);
} else {
 cgPrunedBlocklets = cgDataMapExprWrapper.prune(segmentIds, partitionsToPrune);
org.apache.carbondata.core.datamap.dev.exprDataMapExprWrapperprune

Javadoc

It get the blocklets from each leaf node datamap and apply expressions on the blocklets using list of segments, it is used in case on non distributable datamap.

Popular methods of DataMapExprWrapper

  • toDistributable
    Convert to distributable objects for executing job.
  • getDataMapLevel
    Get the datamap level.
  • getFilterResolverIntf
    Each leaf node is identified by uniqueid, so if user wants the underlying filter expression for any
  • getLeftDataMapWrapper
    get the left datamap wrapper
  • getRightDataMapWrapprt
    get the right datamap wrapper
  • pruneBlocklets
    It is used in case on distributable datamap. First using job it gets all blockets from all related d

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
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