Home | History | Annotate | Download | only in room

Lines Matching refs:query

71     // number of arguments in the query
84 * @param supportSQLiteQuery The query to copy from
85 * @return A new query copied from the provided one.
88 final RoomSQLiteQuery query = RoomSQLiteQuery.acquire(
94 query.bindNull(index);
99 query.bindLong(index, value);
104 query.bindDouble(index, value);
109 query.bindString(index, value);
114 query.bindBlob(index, value);
119 query.clearBindings();
127 return query;
132 * given query.
134 * @param query The query to prepare
135 * @param argumentCount The number of query arguments
136 * @return A RoomSQLiteQuery that holds the given query and has space for the given number of
140 public static RoomSQLiteQuery acquire(String query, int argumentCount) {
147 sqliteQuery.init(query, argumentCount);
152 sqLiteQuery.init(query, argumentCount);
169 void init(String query, int argCount) {
170 mQuery = query;
175 * Releases the query back to the pool.
267 * Copies arguments from another RoomSQLiteQuery into this query.
269 * @param other The other query, which holds the arguments to be copied.