Example usage for org.apache.spark.sql.catalyst.expressions.codegen UnsafeArrayWriter write

List of usage examples for org.apache.spark.sql.catalyst.expressions.codegen UnsafeArrayWriter write

Introduction

In this page you can find the example usage for org.apache.spark.sql.catalyst.expressions.codegen UnsafeArrayWriter write.

Prototype

@Override
    public void write(int ordinal, double value) 

Source Link

Usage

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

License:Open Source License

@Override
public void writeArray(UnsafeArrayWriter unsafeArrayWriter, int ordinal) throws StandardException {
    if (isNull())
        unsafeArrayWriter.setNull(ordinal);
    else//from  w  ww. j  av a2  s .  c  om
        unsafeArrayWriter.write(ordinal, slice.getByteCopy());
}