CursorKt
public final class CursorKt
Summary
Public methods |
|
|---|---|
static final @Nullable byte[] |
CursorKt.getBlobOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable byte array. |
static final @Nullable Double |
CursorKt.getDoubleOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable double. |
static final @Nullable Float |
CursorKt.getFloatOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable float. |
static final @Nullable Integer |
CursorKt.getIntOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable integer. |
static final @Nullable Long |
CursorKt.getLongOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable long. |
static final @Nullable Short |
CursorKt.getShortOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable short. |
static final @Nullable String |
CursorKt.getStringOrNull(@NonNull Cursor receiver, int index)Returns the value of the requested column as a nullable string. |
Public methods
CursorKt.getBlobOrNull
@Nullable
public static final byte[] CursorKt.getBlobOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable byte array.
The result and whether this method throws an exception when the column type is not a blob type is implementation-defined.
CursorKt.getDoubleOrNull
@Nullable
public static final Double CursorKt.getDoubleOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable double.
The result and whether this method throws an exception when the column type is not a floating-point type is implementation-defined.
CursorKt.getFloatOrNull
@Nullable
public static final Float CursorKt.getFloatOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable float.
The result and whether this method throws an exception when the column type is not a floating-point type is implementation-defined.
CursorKt.getIntOrNull
@Nullable
public static final Integer CursorKt.getIntOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable integer.
The result and whether this method throws an exception when the column type is not an integral type is implementation-defined.
CursorKt.getLongOrNull
@Nullable
public static final Long CursorKt.getLongOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable long.
The result and whether this method throws an exception when the column type is not an integral type is implementation-defined.
CursorKt.getShortOrNull
@Nullable
public static final Short CursorKt.getShortOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable short.
The result and whether this method throws an exception when the column type is not an integral type is implementation-defined.
CursorKt.getStringOrNull
@Nullable
public static final String CursorKt.getStringOrNull(@NonNull Cursor receiver, int index)
Returns the value of the requested column as a nullable string.
The result and whether this method throws an exception when the column type is not a string type is implementation-defined.