Preparing search index...
The search index is not available
composable-indexes-root
composable-indexes-root
composable-indexes
HashIndex
Class HashIndex<In, Out>
Indexes items using a JavaScript
Map
.
Type Parameters
In
extends
number
|
string
Out
Hierarchy
Index
<
In
,
Out
>
HashIndex
Index
Constructors
constructor
Properties
ix
Methods
_on
Update
add
count
Distinct
delete
eq
item
items
update
create
Constructors
Private
constructor
new
Hash
Index
<
In
,
Out
>
(
ctx
)
:
HashIndex
<
In
,
Out
>
Type Parameters
In
extends
string
|
number
Out
Parameters
ctx
:
IndexContext
<
Out
>
Returns
HashIndex
<
In
,
Out
>
Properties
Private
Readonly
ix
ix
:
Map
<
In
,
IdSet
>
= ...
Methods
_on
Update
_on
Update
(
update
)
:
(
(
)
=>
void
)
Parameters
update
:
Update
<
In
>
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Private
add
add
(
id
,
value
)
:
void
Parameters
id
:
Id
value
:
In
Returns
void
count
Distinct
count
Distinct
(
)
:
number
Returns
number
Private
delete
delete
(
id
,
oldValue
)
:
void
Parameters
id
:
Id
oldValue
:
In
Returns
void
eq
eq
(
value
)
:
Item
<
Out
>
[]
Parameters
value
:
In
Returns
Item
<
Out
>
[]
Protected
item
item
(
id
)
:
Item
<
Out
>
Parameters
id
:
Id
Returns
Item
<
Out
>
Private
items
items
(
set
)
:
Item
<
Out
>
[]
Parameters
set
:
undefined
|
IdSet
Returns
Item
<
Out
>
[]
Private
update
update
(
id
,
oldValue
,
newValue
)
:
void
Parameters
id
:
Id
oldValue
:
In
newValue
:
In
Returns
void
Static
create
create
<
T
,
O
>
(
)
:
UnregisteredIndex
<
T
,
O
,
HashIndex
<
T
,
O
>
>
Type Parameters
T
extends
string
|
number
O
Returns
UnregisteredIndex
<
T
,
O
,
HashIndex
<
T
,
O
>
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
ix
_on
Update
add
count
Distinct
delete
eq
item
items
update
create
composable-
indexes-
root
composable-
indexes-
docs
composable-
indexes
Aggregate
Index
BTree
Index
Collection
Condition
Failed
Exception
Conflict
Exception
Fold
Index
Hash
Index
Id
Index
Item
Unique
Hash
Index
Unregistered
Aggregate
Index
Unregistered
Index
algebraic
Group
Index
arithmetic
Mean
Index
btree
Index
count
Index
fold
Index
group
hash
Index
premap
sum
Index
unique
Hash
Index
Generated using
TypeDoc
Indexes items using a JavaScript
Map
.