Codota Logo
BlockletIndex.getB_tree_index
Code IndexAdd Codota to your IDE (free)

How to use
getB_tree_index
method
in
org.apache.carbondata.format.BlockletIndex

Best Java code snippets using org.apache.carbondata.format.BlockletIndex.getB_tree_index (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.apache.carbondata/carbondata-format

public Object getFieldValue(_Fields field) {
 switch (field) {
 case MIN_MAX_INDEX:
  return getMin_max_index();
 case B_TREE_INDEX:
  return getB_tree_index();
 }
 throw new IllegalStateException();
}
origin: org.apache.carbondata/carbondata-core

/**
 * Below method will be used to convert the blocklet index of thrift to
 * wrapper
 *
 * @param blockletIndexThrift
 * @return blocklet index wrapper
 */
protected BlockletIndex getBlockletIndex(
  org.apache.carbondata.format.BlockletIndex blockletIndexThrift) {
 org.apache.carbondata.format.BlockletBTreeIndex btreeIndex =
   blockletIndexThrift.getB_tree_index();
 org.apache.carbondata.format.BlockletMinMaxIndex minMaxIndex =
   blockletIndexThrift.getMin_max_index();
 List<Boolean> isMinMaxSet = null;
 // Below logic is added to handle backward compatibility
 if (minMaxIndex.isSetMin_max_presence()) {
  isMinMaxSet = minMaxIndex.getMin_max_presence();
 } else {
  Boolean[] minMaxFlag = new Boolean[minMaxIndex.getMax_values().size()];
  Arrays.fill(minMaxFlag, true);
  isMinMaxSet = Arrays.asList(minMaxFlag);
 }
 return new BlockletIndex(
   new BlockletBTreeIndex(btreeIndex.getStart_key(), btreeIndex.getEnd_key()),
   new BlockletMinMaxIndex(minMaxIndex.getMin_values(), minMaxIndex.getMax_values(),
     isMinMaxSet));
}
org.apache.carbondata.formatBlockletIndexgetB_tree_index

Popular methods of BlockletIndex

  • getMin_max_index
  • <init>
    Performs a deep copy on other.
  • setMin_max_index
  • setB_tree_index
  • equals
  • isSetB_tree_index
    Returns true if field b_tree_index is set (has been assigned a value) and false otherwise
  • isSetMin_max_index
    Returns true if field min_max_index is set (has been assigned a value) and false otherwise
  • read
  • setB_tree_indexIsSet
  • setMin_max_indexIsSet
  • unsetB_tree_index
  • unsetMin_max_index
  • unsetB_tree_index,
  • unsetMin_max_index,
  • validate,
  • write

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • orElseThrow (Optional)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JTextField (javax.swing)
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