@Override public void setBoolean(OptimizedElementArray row, int columnPosition, boolean x) throws SQLException { // mark as non-null and call the underlying type's method getConverterForSet(row.setNotNull(columnPosition - 1), "boolean", columnPosition).setBoolean(row, columnPosition, x); }
/** * {@inheritDoc} */ @Override public final void setBoolean(int parameterIndex, boolean x) throws SQLException { checkValidParameterIndex(parameterIndex); Converters.getConverter(getType(parameterIndex), "boolean", true, parameterIndex).setBoolean(this.paramsList, parameterIndex, x); }
/** * {@inheritDoc} */ @Override public final void updateBoolean(int columnIndex, boolean x) throws SQLException { final Row currentRow = checkValidColumn(columnIndex); initRowUpdate("updateBoolean"); ColumnValueConverter cvc = Converters.getConverter( getSnappyType(columnIndex, currentRow), "boolean", true, columnIndex); cvc.setBoolean(currentRow, columnIndex, x); this.changedColumns.set(columnIndex - 1); }