Home | History | Annotate | Download | only in database

Lines Matching refs:column

71     private static native int nativeGetType(long windowPtr, int row, int column);
72 private static native byte[] nativeGetBlob(long windowPtr, int row, int column);
73 private static native String nativeGetString(long windowPtr, int row, int column);
74 private static native long nativeGetLong(long windowPtr, int row, int column);
75 private static native double nativeGetDouble(long windowPtr, int row, int column);
76 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column,
79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column);
80 private static native boolean nativePutString(long windowPtr, String value, int row, int column);
81 private static native boolean nativePutLong(long windowPtr, long value, int row, int column);
82 private static native boolean nativePutDouble(long windowPtr, double value, int row, int column);
83 private static native boolean nativePutNull(long windowPtr, int row, int column);
280 * Returns true if the field at the specified row and column index
284 * @param column The zero-based column index.
289 public boolean isNull(int row, int column) {
290 return getType(row, column) == Cursor.FIELD_TYPE_NULL;
294 * Returns true if the field at the specified row and column index
298 * @param column The zero-based column index.
304 public boolean isBlob(int row, int column) {
305 int type = getType(row, column);
310 * Returns true if the field at the specified row and column index
314 * @param column The zero-based column index.
319 public boolean isLong(int row, int column) {
320 return getType(row, column) == Cursor.FIELD_TYPE_INTEGER;
324 * Returns true if the field at the specified row and column index
328 * @param column The zero-based column index.
333 public boolean isFloat(int row, int column) {
334 return getType(row, column) == Cursor.FIELD_TYPE_FLOAT;
338 * Returns true if the field at the specified row and column index
342 * @param column The zero-based column index.
348 public boolean isString(int row, int column) {
349 int type = getType(row, column);
354 * Returns the type of the field at the specified row and column index.
367 * @param column The zero-based column index.
370 public int getType(int row, int column) {
373 return nativeGetType(mWindowPtr, row - mStartPos, column);
380 * Gets the value of the field at the specified row and column index as a byte array.
397 * @param column The zero-based column index.
400 public byte[] getBlob(int row, int column) {
403 return nativeGetBlob(mWindowPtr, row - mStartPos, column);
410 * Gets the value of the field at the specified row and column index as a string.
432 * @param column The zero-based column index.
435 public String getString(int row, int column) {
438 return nativeGetString(mWindowPtr, row - mStartPos, column);
445 * Copies the text of the field at the specified row and column index into
470 * @param column The zero-based column index.
474 public void copyStringToBuffer(int row, int column, CharArrayBuffer buffer) {
480 nativeCopyStringToBuffer(mWindowPtr, row - mStartPos, column, buffer);
487 * Gets the value of the field at the specified row and column index as a <code>long</code>.
505 * @param column The zero-based column index.
508 public long getLong(int row, int column) {
511 return nativeGetLong(mWindowPtr, row - mStartPos, column);
518 * Gets the value of the field at the specified row and column index as a
537 * @param column The zero-based column index.
540 public double getDouble(int row, int column) {
543 return nativeGetDouble(mWindowPtr, row - mStartPos, column);
550 * Gets the value of the field at the specified row and column index as a
558 * @param column The zero-based column index.
561 public short getShort(int row, int column) {
562 return (short) getLong(row, column);
566 * Gets the value of the field at the specified row and column index as an
574 * @param column The zero-based column index.
577 public int getInt(int row, int column) {
578 return (int) getLong(row, column);
582 * Gets the value of the field at the specified row and column index as a
590 * @param column The zero-based column index.
593 public float getFloat(int row, int column) {
594 return (float) getDouble(row, column);
598 * Copies a byte array into the field at the specified row and column index.
602 * @param column The zero-based column index.
605 public boolean putBlob(byte[] value, int row, int column) {
608 return nativePutBlob(mWindowPtr, value, row - mStartPos, column);
615 * Copies a string into the field at the specified row and column index.
619 * @param column The zero-based column index.
622 public boolean putString(String value, int row, int column) {
625 return nativePutString(mWindowPtr, value, row - mStartPos, column);
632 * Puts a long integer into the field at the specified row and column index.
636 * @param column The zero-based column index.
639 public boolean putLong(long value, int row, int column) {
642 return nativePutLong(mWindowPtr, value, row - mStartPos, column);
650 * specified row and column index.
654 * @param column The zero-based column index.
657 public boolean putDouble(double value, int row, int column) {
660 return nativePutDouble(mWindowPtr, value, row - mStartPos, column);
667 * Puts a null value into the field at the specified row and column index.
670 * @param column The zero-based column index.
673 public boolean putNull(int row, int column) {
676 return nativePutNull(mWindowPtr, row - mStartPos, column);