Class: KeyPair

KeyPair(args, idToTableNames)

This object contains a KeyPair result with metadata associated with the result. This is the result of a key-only iteration over an index using Store.indexKeyIterator. It contains the primary key for the row as well as the index key for the index entry returned. The primary key is accessed using the primary property and the index key is accessed using the secondary property.

Constructor

new KeyPair(args, idToTableNames)

Parameters:
Name Type Description
args
idToTableNames
Properties:
Name Type Description
keypair Row A container for the primary and secondary keys.
primary Row The primary key of the result.
secondary Row The index, or secondary key of the result.
table String The table name from the the pair, if available.
Source: