congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ColumnIO.getRepetitionLevel
Code IndexAdd Tabnine to your IDE (free)

How to use
getRepetitionLevel
method
in
org.apache.parquet.io.ColumnIO

Best Java code snippets using org.apache.parquet.io.ColumnIO.getRepetitionLevel (Showing top 6 results out of 315)

origin: org.lasersonlab.apache.parquet/parquet-column

private void setRepetitionLevel() {
 r[currentLevel] = currentColumnIO.getRepetitionLevel();
 if (DEBUG) log("r: {}", r[currentLevel]);
}
origin: org.apache.parquet/parquet-column

private void setRepetitionLevel() {
 r[currentLevel] = currentColumnIO.getRepetitionLevel();
 if (DEBUG) log("r: {}", r[currentLevel]);
}
origin: org.apache.parquet/parquet-column

private void printState() {
 if (DEBUG) {
  log(currentLevel + ", " + fieldsWritten[currentLevel] + ": " + Arrays.toString(currentColumnIO.getFieldPath()) + " r:" + r[currentLevel]);
  if (r[currentLevel] > currentColumnIO.getRepetitionLevel()) {
   // sanity check
   throw new InvalidRecordException(r[currentLevel] + "(r) > " + currentColumnIO.getRepetitionLevel() + " ( schema r)");
  }
 }
}
origin: org.lasersonlab.apache.parquet/parquet-column

private void printState() {
 if (DEBUG) {
  log(currentLevel + ", " + fieldsWritten[currentLevel] + ": " + Arrays.toString(currentColumnIO.getFieldPath()) + " r:" + r[currentLevel]);
  if (r[currentLevel] > currentColumnIO.getRepetitionLevel()) {
   // sanity check
   throw new InvalidRecordException(r[currentLevel] + "(r) > " + currentColumnIO.getRepetitionLevel() + " ( schema r)");
  }
 }
}
origin: org.lasersonlab.apache.parquet/parquet-column

ColumnIO getParent(int r) {
 if (getRepetitionLevel() == r && getType().isRepetition(Repetition.REPEATED)) {
  return this;
 } else  if (getParent()!=null && getParent().getDefinitionLevel()>=r) {
  return getParent().getParent(r);
 } else {
  throw new InvalidRecordException("no parent("+r+") for "+Arrays.toString(this.getFieldPath()));
 }
}
origin: org.apache.parquet/parquet-column

ColumnIO getParent(int r) {
 if (getRepetitionLevel() == r && getType().isRepetition(Repetition.REPEATED)) {
  return this;
 } else  if (getParent()!=null && getParent().getDefinitionLevel()>=r) {
  return getParent().getParent(r);
 } else {
  throw new InvalidRecordException("no parent("+r+") for "+Arrays.toString(this.getFieldPath()));
 }
}
org.apache.parquet.ioColumnIOgetRepetitionLevel

Popular methods of ColumnIO

  • getType
  • getIndex
  • getParent
  • getColumnNames
  • getDefinitionLevel
  • getFieldPath
  • getFirst
  • getLast
  • getName
  • setDefinitionLevel
  • setFieldPath
  • setLevels
  • setFieldPath,
  • setLevels,
  • setRepetitionLevel

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best IntelliJ plugins
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