public interface MapExpr
Builds expressions to call functions in the map server library for a row pipeline.
| Modifier and Type | Method and Description |
|---|---|
XsBooleanExpr |
contains(MapMapExpr map,
String key)
Returns true if the key exists in the map.
|
XsBooleanExpr |
contains(MapMapExpr map,
XsStringExpr key)
Returns true if the key exists in the map.
|
XsUnsignedIntExpr |
count(MapMapExpr map)
Returns the number of keys used in the map.
|
MapMapExpr |
entry(XsStringExpr key,
ItemSeqExpr value)
Constructs a new map with a single entry consisting of the key and value specified as arguments.
|
ItemSeqExpr |
get(MapMapExpr map,
String key)
Get a value from a map.
|
ItemSeqExpr |
get(MapMapExpr map,
XsStringExpr key)
Get a value from a map.
|
XsStringSeqExpr |
keys(MapMapExpr map)
Get the keys used in the map.
|
MapMapExpr |
map()
Creates a map.
|
MapMapExpr |
map(ElementNodeExpr map)
Creates a map.
|
MapMapSeqExpr |
mapSeq(MapMapExpr... items)
Constructs a sequence of MapMapExpr items.
|
XsBooleanExpr contains(MapMapExpr map, String key)
Returns true if the key exists in the map.
Provides a client interface to a server function. See map:contains
map - A map.key - A key.XsBooleanExpr contains(MapMapExpr map, XsStringExpr key)
Returns true if the key exists in the map.
Provides a client interface to a server function. See map:contains
map - A map.key - A key.XsUnsignedIntExpr count(MapMapExpr map)
Returns the number of keys used in the map.
Provides a client interface to a server function. See map:count
map - A map.MapMapExpr entry(XsStringExpr key, ItemSeqExpr value)
Constructs a new map with a single entry consisting of the key and value specified as arguments. This is particularly helpful when used as part of an argument to map:new().
Provides a client interface to a server function. See map:entry
key - The map key.value - The map value.ItemSeqExpr get(MapMapExpr map, String key)
Get a value from a map.
Provides a client interface to a server function. See map:get
map - A map.key - A key.ItemSeqExpr get(MapMapExpr map, XsStringExpr key)
Get a value from a map.
Provides a client interface to a server function. See map:get
map - A map.key - A key.XsStringSeqExpr keys(MapMapExpr map)
Get the keys used in the map.
Provides a client interface to a server function. See map:keys
map - A map.MapMapExpr map()
Creates a map.
Provides a client interface to a server function. See map:map
MapMapExpr map(ElementNodeExpr map)
Creates a map.
Provides a client interface to a server function. See map:map
map - A serialized map element.MapMapSeqExpr mapSeq(MapMapExpr... items)
Constructs a sequence of MapMapExpr items.
Copyright © 2013-2017 MarkLogic Corporation.