Tabnine Logo
BlockletIndex.getB_tree_index
Code IndexAdd Tabnine 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)

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

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now