Tabnine Logo
ValueVector.isNull
Code IndexAdd Tabnine to your IDE (free)

How to use
isNull
method
in
org.apache.arrow.vector.ValueVector

Best Java code snippets using org.apache.arrow.vector.ValueVector.isNull (Showing top 6 results out of 315)

origin: org.apache.spark/spark-sql_2.11

boolean isNullAt(int rowId) {
 return vector.isNull(rowId);
}
origin: org.apache.spark/spark-sql

boolean isNullAt(int rowId) {
 return vector.isNull(rowId);
}
origin: dremio/dremio-oss

@Override
public boolean isNull(int index) {
 return v.isNull(index);
}
origin: dremio/dremio-oss

public void getFieldById(int fieldId, ComplexHolder holder) {
 final ValueVector vv = vectors[fieldId];
 if (vv instanceof BaseValueVector) {
  holder.isSet =vv.isNull(currentIndex) ? 1 : 0;
 } else {
  holder.isSet = vv.isNull(currentIndex) ? 1 : 0;
 }
 holder.reader = vv.getReader();
 holder.reader.setPosition(currentIndex);
}
origin: org.apache.arrow/arrow-vector

private boolean nullFilled(ValueVector vector) {
 for (int r = 0; r < vector.getValueCount(); r++) {
  if (!vector.isNull(r)) {
   return false;
  }
 }
 return true;
}
origin: dremio/dremio-oss

when(valueVector.isNull(anyInt())).thenAnswer(new Answer<Object>() {
org.apache.arrow.vectorValueVectorisNull

Javadoc

Check whether an element in the vector is null.

Popular methods of ValueVector

  • getField
    Get information about how this field is materialized.
  • getObject
    Get friendly type object from the vector.
  • setValueCount
    Set number of values in the vector.
  • allocateNew
    Allocate new buffers. ValueVector implements logic to determine how much to allocate.
  • clear
    Release any owned ArrowBuf and reset the ValueVector to the initial state. If the vector has any chi
  • close
    Alternative to clear(). Allows use as an AutoCloseable in try-with-resources.
  • getValueCount
    Gets the number of values.
  • allocateNewSafe
    Allocates new buffers. ValueVector implements logic to determine how much to allocate.
  • getBufferSize
    Get the number of bytes used by this vector.
  • getBufferSizeFor
    Returns the number of bytes that is used by this vector if it holds the given number of values. The
  • getBuffers
    Return the underlying buffers associated with this vector. Note that this doesn't impact the referen
  • getMinorType
  • getBuffers,
  • getMinorType,
  • getNullCount,
  • getReader,
  • getTransferPair,
  • setInitialCapacity,
  • getAllocator,
  • getDataBuffer,
  • getValidityBuffer

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top PhpStorm 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