protected final int getInt(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "int", false, columnIndex); int v = cvc.toInteger(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final byte getByte(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "byte", false, columnIndex); byte v = cvc.toByte(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final short getShort(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "short", false, columnIndex); short v = cvc.toShort(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final boolean getBoolean(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "boolean", false, columnIndex); boolean v = cvc.toBoolean(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final long getLong(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "long", false, columnIndex); long v = cvc.toLong(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final float getFloat(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "float", false, columnIndex); float v = cvc.toFloat(row, columnIndex); this.wasNull = cvc.isNull(); return v; }
protected final double getDouble(final int columnIndex, final int snappyTypeValue, final Row row) throws SQLException { ColumnValueConverter cvc = Converters.getConverter( snappyTypeValue, "doube", false, columnIndex); double v = cvc.toDouble(row, columnIndex); this.wasNull = cvc.isNull(); return v; }