Search
Preparing search index...
The search index is not available
@lokidb/lokidb-src
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
IRangedIndex
Interface IRangedIndex<T>
Defines interface which all loki ranged indexes need to implement
Type parameters
T
Hierarchy
IRangedIndex
Implemented by
AvlTreeIndex
Index
Methods
backup
insert
range
Request
remove
restore
update
validate
Index
Methods
backup
backup
(
)
:
IRangedIndex
<
T
>
Returns
IRangedIndex
<
T
>
insert
insert
(
id
:
number
, val
:
T
)
:
void
Parameters
id:
number
val:
T
Returns
void
range
Request
range
Request
(
range
?:
IRangedIndexRequest
<
T
>
)
:
number
[]
Parameters
Optional
range:
IRangedIndexRequest
<
T
>
Returns
number
[]
remove
remove
(
id
:
number
)
:
void
Parameters
id:
number
Returns
void
restore
restore
(
tree
:
any
)
:
void
Parameters
tree:
any
Returns
void
update
update
(
id
:
number
, val
:
T
)
:
void
Parameters
id:
number
val:
T
Returns
void
validate
Index
validate
Index
(
)
:
boolean
Returns
boolean
Globals
IRanged
Index
backup
insert
range
Request
remove
restore
update
validate
Index
Generated using
TypeDoc
Defines interface which all loki ranged indexes need to implement