Class OrdQueryListCursor
Extends
baja.SyncCursor.
Cursor for an ORD Query List.
Defined in: ord.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| <inner> |
| Method Attributes | Method Name and Description |
|---|---|
|
each(func)
Iterate through the Cursor and call 'each' on every item.
|
|
|
get()
Return the current query from the Cursor.
|
|
|
getIndex()
Return the current index for the Cursor.
|
|
|
getOrd()
Return the current ORD String at the current index.
|
|
|
hasNext()
Return true if there's another query in the Cursor.
|
|
|
next()
Advance the Cursor to the next query.
|
|
|
resolveNext(target, options)
Resolve the next ORD Query.
|
Method Detail
each(func)
Iterate through the Cursor and call 'each' on every item.
- Parameters:
- {Function} func
- function called on every iteration with the 'value' being used as an argument.
get()
Return the current query from the Cursor.
- Returns:
- the ORD Query.
{Number}
getIndex()
Return the current index for the Cursor.
- Returns:
- {Number}
{String}
getOrd()
Return the current ORD String at the current index.
- Returns:
- {String}
{Boolean}
hasNext()
Return true if there's another query in the Cursor.
- Returns:
- {Boolean}
{Boolean}
next()
Advance the Cursor to the next query.
- Returns:
- {Boolean} returns true if there's another query in the Cursor.
resolveNext(target, options)
Resolve the next ORD Query.
- Parameters:
- {OrdTarget} target
- {Object} options