java.lang.Object | |
↳ | android.database.sqlite.HtcAdjustableCursorFactory |
A curosr factory which can produce HtcSQLiteAdjustableCursor
HtcSQLiteAdjustableCursor
.
HtcAdjustableCursorFactory is not internally synchronized so code using a HtcAdjustableCursorFactory
from multiple threads should perform its own synchronization when changing the size of generated
cursor window .
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a fatory object that can generate HtcSQLiteAdjustableCursor with cursor window size = cwSize
| |||||||||||
Create a fatory object that can generate HtcSQLiteAdjustableCursor with cursor window size =
MIN_WINDOW_SIZE
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new object of HtcSQLiteAdjustableCursor
| |||||||||||
Set the size of CursorWindow generated.The size unit is in KB.The acutal size allocated
will be slight larger if the specified size is not mutiple of page size.If a size smaller
than
MIN_WINDOW_SIZE is specified, CursorWindow.MIN_WINDOW_SIZE is used. | |||||||||||
Set the size of CursorWindow generated to
DEFAULT_WINDOW_SIZE . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a fatory object that can generate HtcSQLiteAdjustableCursor with cursor window size = cwSize
Create a fatory object that can generate HtcSQLiteAdjustableCursor with cursor window size =
MIN_WINDOW_SIZE
Create a new object of HtcSQLiteAdjustableCursor
Set the size of CursorWindow generated.The size unit is in KB.The acutal size allocated
will be slight larger if the specified size is not mutiple of page size.If a size smaller
than MIN_WINDOW_SIZE
is specified, CursorWindow.MIN_WINDOW_SIZE is used.
Set the size of CursorWindow generated to DEFAULT_WINDOW_SIZE
.