List of usage examples for org.apache.spark.sql.catalyst.expressions UnsafeRow getByte
@Override
public byte getByte(int ordinal)
From source file:com.splicemachine.db.iapi.types.SQLTinyint.java
License:Apache License
/** * * Read from Project Tungsten Format (UnsafeRow) * * @see UnsafeRow#getByte(int)//ww w . j a va 2s . co m * * @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.getByte(ordinal); } }