public interface MapExpr
Modifier and Type | Method | Description |
---|---|---|
ServerExpression |
contains(ServerExpression map,
ServerExpression key) |
Returns true if the key exists in the map.
|
ServerExpression |
contains(ServerExpression map,
java.lang.String key) |
Returns true if the key exists in the map.
|
ServerExpression |
count(ServerExpression map) |
Returns the number of keys used in the
map.
|
ServerExpression |
entry(ServerExpression key,
ServerExpression value) |
Constructs a new map with a single entry
consisting of the key and value specified as arguments.
|
ServerExpression |
get(ServerExpression map,
ServerExpression key) |
Get a value from a map.
|
ServerExpression |
get(ServerExpression map,
java.lang.String key) |
Get a value from a map.
|
ServerExpression |
keys(ServerExpression map) |
Get the keys used in the map.
|
ServerExpression |
map() |
Creates a map.
|
ServerExpression |
map(ServerExpression map) |
Creates a map.
|
ServerExpression |
newExpr() |
Constructs a new map by combining the keys from
the maps given as an argument.
|
ServerExpression |
newExpr(ServerExpression maps) |
Constructs a new map by combining the keys from
the maps given as an argument.
|
ServerExpression contains(ServerExpression map, java.lang.String key)
Provides a client interface to the map:contains server function.
map
- A map. (of map:map)key
- A key. (of xs:string)ServerExpression contains(ServerExpression map, ServerExpression key)
Provides a client interface to the map:contains server function.
map
- A map. (of map:map)key
- A key. (of xs:string)ServerExpression count(ServerExpression map)
Provides a client interface to the map:count server function.
map
- A map. (of map:map)ServerExpression entry(ServerExpression key, ServerExpression value)
Provides a client interface to the map:entry server function.
ServerExpression get(ServerExpression map, java.lang.String key)
Provides a client interface to the map:get server function.
ServerExpression get(ServerExpression map, ServerExpression key)
Provides a client interface to the map:get server function.
ServerExpression keys(ServerExpression map)
Provides a client interface to the map:keys server function.
ServerExpression map()
Provides a client interface to the map:map server function.
ServerExpression map(ServerExpression map)
Provides a client interface to the map:map server function.
map
- A serialized map element. (of element-node)ServerExpression newExpr()
Provides a client interface to the map:new server function.
ServerExpression newExpr(ServerExpression maps)
Provides a client interface to the map:new server function.
Copyright © 2022 MarkLogic Corporation