@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
/** * Binds SQL parameter to a BLOB value, represented by a byte array. * * @param index the index of the boundable parameter, starting with 1 * @param value an array of bytes to be used as the blob value; if null, {@link #bindNull} is called * @return this object * @throws SQLiteException if SQLite returns an error, or if the call violates the contract of this class * @see <a href="http://www.sqlite.org/c3ref/bind_blob.html">sqlite3_bind_blob</a> */ public SQLiteStatement bind(int index, byte[] value) throws SQLiteException { return value == null ? bindNull(index) : bind(index, value, 0, value.length); }
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
@Override public Object call() throws Exception { SQLiteStatement stmt = stmt(connectionPtr, statementPtr); stmt.bind(index, value); return null; } });
public void accept(SQLiteStatement stmt) throws SQLiteException { stmt.bind(1, 2); // Bind the msLevel stmt.bind(2, minParentMz); // Bind the minParentMz stmt.bind(3, maxParentMz); // Bind the maxParentMz stmt.bind(4, minRunSliceMz); // Bind the minRunSliceMz stmt.bind(5, maxRunSliceMz); // Bind the maxRunSliceMz } }
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
@Override public Object call() throws Exception { SQLiteStatement stmt = stmt(connectionPtr, statementPtr); stmt.bind(index, value); return null; } });
@Override public Object call() throws Exception { SQLiteStatement stmt = stmt(connectionPtr, statementPtr); stmt.bind(index, value); return null; } });
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
public void accept(SQLiteStatement stmt) throws SQLiteException { stmt.bind(1, msLevel); // Bind msLevel } }
@Override public Object call() throws Exception { SQLiteStatement stmt = stmt(connectionPtr, statementPtr); stmt.bind(index, value); return null; } });
@Override public Void call(final SQLiteStatement statement) throws Exception { statement.bind(index, value); return null; } });
public void accept(SQLiteStatement stmt) throws SQLiteException { stmt.bind(1, 1); // Bind the msLevel } };
public SQLiteQuery bind(int index, int value) throws SQLiteException { this.stmt.bind(index, value); return this; }
/** * Binds SQL parameter to a BLOB value, represented by a byte array. * * @param name parameter name * @param value an array of bytes to be used as the blob value; if null, {@link #bindNull} is called * @return this object * @throws SQLiteException if SQLite returns an error, * or if parameter with specified name was not found, * or if the call violates the contract of this class * @see <a href="http://www.sqlite.org/c3ref/bind_blob.html">sqlite3_bind_blob</a> */ public SQLiteStatement bind(String name, byte[] value) throws SQLiteException { return bind(getValidBindParameterIndex(name), value); }