android.database
Class MatrixCursor
java.lang.Object
android.database.AbstractCursor
android.database.MatrixCursor
- All Implemented Interfaces:
- CrossProcessCursor, Cursor
public class MatrixCursor
- extends AbstractCursor
Methods inherited from class android.database.AbstractCursor |
checkPosition, close, copyStringToBuffer, deactivate, fillWindow, finalize, getColumnCount, getColumnIndex, getColumnIndexOrThrow, getColumnName, getExtras, getNotificationUri, getPosition, getUpdatedField, getWantsAllOnMoveCalls, getWindow, isAfterLast, isBeforeFirst, isClosed, isFieldUpdated, isFirst, isLast, move, moveToFirst, moveToLast, moveToNext, moveToPosition, moveToPrevious, onChange, onMove, registerContentObserver, registerDataSetObserver, requery, respond, setNotificationUri, unregisterContentObserver, unregisterDataSetObserver |
MatrixCursor
public MatrixCursor(String[] columnNames,
int initialCapacity)
MatrixCursor
public MatrixCursor(String[] columnNames)
newRow
public MatrixCursor.RowBuilder newRow()
addRow
public void addRow(Object[] columnValues)
addRow
public void addRow(Iterable<?> columnValues)
getCount
public int getCount()
- Specified by:
getCount
in interface Cursor
- Specified by:
getCount
in class AbstractCursor
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interface Cursor
- Specified by:
getColumnNames
in class AbstractCursor
getString
public String getString(int column)
- Specified by:
getString
in interface Cursor
- Specified by:
getString
in class AbstractCursor
getShort
public short getShort(int column)
- Specified by:
getShort
in interface Cursor
- Specified by:
getShort
in class AbstractCursor
getInt
public int getInt(int column)
- Specified by:
getInt
in interface Cursor
- Specified by:
getInt
in class AbstractCursor
getLong
public long getLong(int column)
- Specified by:
getLong
in interface Cursor
- Specified by:
getLong
in class AbstractCursor
getFloat
public float getFloat(int column)
- Specified by:
getFloat
in interface Cursor
- Specified by:
getFloat
in class AbstractCursor
getDouble
public double getDouble(int column)
- Specified by:
getDouble
in interface Cursor
- Specified by:
getDouble
in class AbstractCursor
getBlob
public byte[] getBlob(int column)
- Specified by:
getBlob
in interface Cursor
- Overrides:
getBlob
in class AbstractCursor
getType
public int getType(int column)
- Specified by:
getType
in interface Cursor
- Overrides:
getType
in class AbstractCursor
isNull
public boolean isNull(int column)
- Specified by:
isNull
in interface Cursor
- Specified by:
isNull
in class AbstractCursor
Copyright © 2008-2012. All Rights Reserved.