Matrix Cursor

Mindmap for MatrixCursor class from d.android. For Android Component Development course

Get Started. It's Free
or sign up with your email address
Matrix Cursor by Mind Map: Matrix Cursor

1. Constructors

1.1. Public

1.1.1. Matrix Cursor

1.1.1.1. type string: columnNames

1.1.1.1.1. names of the columns, the ordering of which determines column ordering elsewhere in this cursor

1.1.1.2. type int: initialCapacity(optional)

1.1.1.2.1. given in number of rows

2. Methods

2.1. Public

2.1.1. addRow(Object[] columnValues)

2.1.1.1. adds new row at end with given column values

2.1.2. string[] getColumnName()

2.1.2.1. returns the names of the columns in order

2.1.3. int getCount()

2.1.3.1. returns the number of rows in cursor

2.1.4. double getDouble(int column)

2.1.4.1. returns value of target column as a double

2.1.5. float getFloat(int column)

2.1.5.1. returns value of target column as a float

2.1.6. int getInt(int column)

2.1.6.1. returns value of target column as an integer

2.1.7. long getLong(int column)

2.1.7.1. returns value of target column as a long

2.1.8. short getShort(int column)

2.1.8.1. returns value of target column as a short

2.1.9. string getString(int column)

2.1.9.1. returns value of target column as a string

2.1.10. int getType(int column)

2.1.10.1. returns the data type of the target column

2.1.11. bool isNull(int column)

2.1.11.1. returns true if target column is null

2.1.12. byte[] getBlob(int column)

2.1.12.1. returns value of requested column as byte array

3. Nested Classes

3.1. MatrixCursor.RowBuilder

3.1.1. builds a row, starting from the left-most column and adding one column value at a time.

4. Constants

4.1. Inherited

4.1.1. android.database.cursor

4.1.1.1. FIELD_TYPE_BLOB

4.1.1.2. FIELD_TYPE_FLOAT

4.1.1.3. FIELD_TYPE_INTEGER

4.1.1.4. FIELD_TYPE_NULL

4.1.1.5. FIELD_TYPE_STRING

4.1.2. MatrixCursor is a subclass of this

5. Fields

5.1. Inherited

5.1.1. AbstractCursor

5.1.1.1. handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons

5.1.2. MatrixCursor is a subclass of this