List of usage examples for android.database.sqlite SQLiteStatement simpleQueryForBlobFileDescriptor
public ParcelFileDescriptor simpleQueryForBlobFileDescriptor()
From source file:io.requery.android.database.sqlite.SQLiteDatabase.java
/** * Utility method to run the pre-compiled query and return the blob value in the * first column of the first row.// ww w . j av a2 s . c o m * * @return A read-only file descriptor for a copy of the blob value. */ public static ParcelFileDescriptor blobFileDescriptorForQuery(SQLiteStatement prog, String[] selectionArgs) { prog.bindAllArgsAsStrings(selectionArgs); return prog.simpleQueryForBlobFileDescriptor(); }