public abstract class GetResolver<T>
extends java.lang.Object
Implementation should be thread-safe!
| Constructor and Description |
|---|
GetResolver() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
mapFromCursor(android.database.Cursor cursor)
Converts
Cursor with already set position to object of required type. |
abstract android.database.Cursor |
performGet(StorIOSQLite storIOSQLite,
Query query)
Performs get of results with passed query.
|
abstract android.database.Cursor |
performGet(StorIOSQLite storIOSQLite,
RawQuery rawQuery)
Performs get of results with passed query.
|
@NonNull public abstract T mapFromCursor(@NonNull android.database.Cursor cursor)
Cursor with already set position to object of required type.cursor - not closed Cursor with already set position
that should be parsed and converted to object of required type.Cursor.@NonNull
public abstract android.database.Cursor performGet(@NonNull
StorIOSQLite storIOSQLite,
@NonNull
RawQuery rawQuery)
storIOSQLite - StorIOSQLite instance to perform get from.rawQuery - query that should be performed.Cursor that can be empty
or contain data with results of Get Operation.@NonNull
public abstract android.database.Cursor performGet(@NonNull
StorIOSQLite storIOSQLite,
@NonNull
Query query)
storIOSQLite - StorIOSQLite instance to perform get from.query - query that should be performed.Cursor that can be empty
or contain data with results of Get Operation.