Example usage for org.apache.spark.sql.catalyst.expressions UnsafeArrayData isNullAt

List of usage examples for org.apache.spark.sql.catalyst.expressions UnsafeArrayData isNullAt

Introduction

In this page you can find the example usage for org.apache.spark.sql.catalyst.expressions UnsafeArrayData isNullAt.

Prototype

@Override
    public boolean isNullAt(int ordinal) 

Source Link

Usage

From source file:com.splicemachine.db.iapi.types.HBaseRowLocation.java

License:Open Source License

@Override
public void read(UnsafeArrayData unsafeArrayData, int ordinal) throws StandardException {
    if (unsafeArrayData.isNullAt(ordinal))
        setToNull();/*from   w  w w. j a  va2 s . co m*/
    else
        slice = ByteSlice.wrap(unsafeArrayData.getBinary(ordinal));
}