Lines Matching defs:column

74     private static native int nativeGetType(int windowPtr, int row, int column);
75 private static native byte[] nativeGetBlob(int windowPtr, int row, int column);
76 private static native String nativeGetString(int windowPtr, int row, int column);
77 private static native long nativeGetLong(int windowPtr, int row, int column);
78 private static native double nativeGetDouble(int windowPtr, int row, int column);
79 private static native void nativeCopyStringToBuffer(int windowPtr, int row, int column,
82 private static native boolean nativePutBlob(int windowPtr, byte[] value, int row, int column);
83 private static native boolean nativePutString(int windowPtr, String value, int row, int column);
84 private static native boolean nativePutLong(int windowPtr, long value, int row, int column);
85 private static native boolean nativePutDouble(int windowPtr, double value, int row, int column);
86 private static native boolean nativePutNull(int windowPtr, int row, int column);
276 * Returns true if the field at the specified row and column index
280 * @param column The zero-based column index.
285 public boolean isNull(int row, int column) {
286 return getType(row, column) == Cursor.FIELD_TYPE_NULL;
290 * Returns true if the field at the specified row and column index
294 * @param column The zero-based column index.
300 public boolean isBlob(int row, int column) {
301 int type = getType(row, column);
306 * Returns true if the field at the specified row and column index
310 * @param column The zero-based column index.
315 public boolean isLong(int row, int column) {
316 return getType(row, column) == Cursor.FIELD_TYPE_INTEGER;
320 * Returns true if the field at the specified row and column index
324 * @param column The zero-based column index.
329 public boolean isFloat(int row, int column) {
330 return getType(row, column) == Cursor.FIELD_TYPE_FLOAT;
334 * Returns true if the field at the specified row and column index
338 * @param column The zero-based column index.
344 public boolean isString(int row, int column) {
345 int type = getType(row, column);
350 * Returns the type of the field at the specified row and column index.
363 * @param column The zero-based column index.
366 public int getType(int row, int column) {
369 return nativeGetType(mWindowPtr, row - mStartPos, column);
376 * Gets the value of the field at the specified row and column index as a byte array.
393 * @param column The zero-based column index.
396 public byte[] getBlob(int row, int column) {
399 return nativeGetBlob(mWindowPtr, row - mStartPos, column);
406 * Gets the value of the field at the specified row and column index as a string.
428 * @param column The zero-based column index.
431 public String getString(int row, int column) {
434 return nativeGetString(mWindowPtr, row - mStartPos, column);
441 * Copies the text of the field at the specified row and column index into
466 * @param column The zero-based column index.
470 public void copyStringToBuffer(int row, int column, CharArrayBuffer buffer) {
476 nativeCopyStringToBuffer(mWindowPtr, row - mStartPos, column, buffer);
483 * Gets the value of the field at the specified row and column index as a <code>long</code>.
501 * @param column The zero-based column index.
504 public long getLong(int row, int column) {
507 return nativeGetLong(mWindowPtr, row - mStartPos, column);
514 * Gets the value of the field at the specified row and column index as a
533 * @param column The zero-based column index.
536 public double getDouble(int row, int column) {
539 return nativeGetDouble(mWindowPtr, row - mStartPos, column);
546 * Gets the value of the field at the specified row and column index as a
554 * @param column The zero-based column index.
557 public short getShort(int row, int column) {
558 return (short) getLong(row, column);
562 * Gets the value of the field at the specified row and column index as an
570 * @param column The zero-based column index.
573 public int getInt(int row, int column) {
574 return (int) getLong(row, column);
578 * Gets the value of the field at the specified row and column index as a
586 * @param column The zero-based column index.
589 public float getFloat(int row, int column) {
590 return (float) getDouble(row, column);
594 * Copies a byte array into the field at the specified row and column index.
598 * @param column The zero-based column index.
601 public boolean putBlob(byte[] value, int row, int column) {
604 return nativePutBlob(mWindowPtr, value, row - mStartPos, column);
611 * Copies a string into the field at the specified row and column index.
615 * @param column The zero-based column index.
618 public boolean putString(String value, int row, int column) {
621 return nativePutString(mWindowPtr, value, row - mStartPos, column);
628 * Puts a long integer into the field at the specified row and column index.
632 * @param column The zero-based column index.
635 public boolean putLong(long value, int row, int column) {
638 return nativePutLong(mWindowPtr, value, row - mStartPos, column);
646 * specified row and column index.
650 * @param column The zero-based column index.
653 public boolean putDouble(double value, int row, int column) {
656 return nativePutDouble(mWindowPtr, value, row - mStartPos, column);
663 * Puts a null value into the field at the specified row and column index.
666 * @param column The zero-based column index.
669 public boolean putNull(int row, int column) {
672 return nativePutNull(mWindowPtr, row - mStartPos, column);