List of usage examples for org.apache.spark.sql.catalyst.expressions UnsafeRow getDouble
@Override
public double getDouble(int ordinal)
From source file:com.splicemachine.db.iapi.types.SQLDouble.java
License:Apache License
/** * * Read from a Project Tungsten Format./*w w w. ja v a 2s . co m*/ * * @see UnsafeRow#getDouble(int) * * @param unsafeRow * @param ordinal * @throws StandardException */ @Override public void read(UnsafeRow unsafeRow, int ordinal) throws StandardException { if (unsafeRow.isNullAt(ordinal)) setToNull(); else { isNull = false; value = unsafeRow.getDouble(ordinal); } }