public class CqlCollection extends Object
Note: CQL collection predicates are only available when using the binary subprotocol.
Constructor and Description |
---|
CqlCollection() |
Modifier and Type | Method and Description |
---|---|
static <C extends Collection<V>,V> |
contains(V value)
Checks if the target collection contains the given value.
|
static <M extends Map<K,?>,K> |
containsKey(K key)
Checks if the target map contains the given key.
|
static <M extends Map<?,V>,V> |
containsValue(V value)
Checks if the target map contains the given value.
|
static <M extends Map<K,V>,K,V> |
entryEq(K key,
V value)
Checks if the target map contains the given entry.
|
public static <C extends Collection<V>,V> org.apache.tinkerpop.gremlin.process.traversal.P<C> contains(V value)
value
- the value to look for; cannot be null
.GraphTraversal
.public static <M extends Map<K,?>,K> org.apache.tinkerpop.gremlin.process.traversal.P<M> containsKey(K key)
key
- the key to look for; cannot be null
.GraphTraversal
.public static <M extends Map<?,V>,V> org.apache.tinkerpop.gremlin.process.traversal.P<M> containsValue(V value)
value
- the value to look for; cannot be null
.GraphTraversal
.public static <M extends Map<K,V>,K,V> org.apache.tinkerpop.gremlin.process.traversal.P<M> entryEq(K key, V value)
key
- the key to look for; cannot be null
.value
- the value to look for; cannot be null
.GraphTraversal
.Copyright © 2017–2024. All rights reserved.