MatrixCursor

Class of android.database · MatrixCursor.java · Android's reference

public class MatrixCursor extends AbstractCursor

MatrixCursor ← AbstractCursor

Rows kept in memory: a query's result, or rows an app builds.

Nested types

Constructors

public MatrixCursor(String[] columnNames) source
public MatrixCursor(String[] columnNames, int initialCapacity) source

Methods

public RowBuilder newRow() source
public void addRow(Object[] columnValues) source
public void addRow(Iterable<?> columnValues) source
public int getCount() source
public String[] getColumnNames() source
public String getString(int column) source
public short getShort(int column) source
public int getInt(int column) source
public long getLong(int column) source
public float getFloat(int column) source
public double getDouble(int column) source
public byte[] getBlob(int column) source
public int getType(int column) source
public boolean isNull(int column) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.