Lines Matching defs:field

580      * Reads a String out of a field in a Cursor and writes it to a Map.
583 * @param field The TEXT field to read
584 * @param values The {@link ContentValues} to put the value into, with the field as the key
586 public static void cursorStringToContentValues(Cursor cursor, String field,
588 cursorStringToContentValues(cursor, field, values, field);
592 * Reads a String out of a field in a Cursor and writes it to an InsertHelper.
595 * @param field The TEXT field to read
599 public static void cursorStringToInsertHelper(Cursor cursor, String field,
601 inserter.bind(index, cursor.getString(cursor.getColumnIndexOrThrow(field)));
605 * Reads a String out of a field in a Cursor and writes it to a Map.
608 * @param field The TEXT field to read
609 * @param values The {@link ContentValues} to put the value into, with the field as the key
612 public static void cursorStringToContentValues(Cursor cursor, String field,
614 values.put(key, cursor.getString(cursor.getColumnIndexOrThrow(field)));
618 * Reads an Integer out of a field in a Cursor and writes it to a Map.
621 * @param field The INTEGER field to read
622 * @param values The {@link ContentValues} to put the value into, with the field as the key
624 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values) {
625 cursorIntToContentValues(cursor, field, values, field);
629 * Reads a Integer out of a field in a Cursor and writes it to a Map.
632 * @param field The INTEGER field to read
633 * @param values The {@link ContentValues} to put the value into, with the field as the key
636 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values,
638 int colIndex = cursor.getColumnIndex(field);
647 * Reads a Long out of a field in a Cursor and writes it to a Map.
650 * @param field The INTEGER field to read
651 * @param values The {@link ContentValues} to put the value into, with the field as the key
653 public static void cursorLongToContentValues(Cursor cursor, String field, ContentValues values)
655 cursorLongToContentValues(cursor, field, values, field);
659 * Reads a Long out of a field in a Cursor and writes it to a Map.
662 * @param field The INTEGER field to read
666 public static void cursorLongToContentValues(Cursor cursor, String field, ContentValues values,
668 int colIndex = cursor.getColumnIndex(field);
678 * Reads a Double out of a field in a Cursor and writes it to a Map.
681 * @param field The REAL field to read
684 public static void cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values)
686 cursorDoubleToContentValues(cursor, field, values, field);
690 * Reads a Double out of a field in a Cursor and writes it to a Map.
693 * @param field The REAL field to read
697 public static void cursorDoubleToContentValues(Cursor cursor, String field,
699 int colIndex = cursor.getColumnIndex(field);
1317 // terminate statements. It is possible that a text field contains ;\n. We will have to fix