@InterfaceStability.Experimental @InterfaceAudience.Public public class ObjectFunctions extends Object
DSL for N1QL functions in the Object category.
Constructor and Description |
---|
ObjectFunctions() |
Modifier and Type | Method and Description |
---|---|
static Expression |
objectLength(Expression expression)
Returned expression results in the number of name-value pairs in the object.
|
static Expression |
objectLength(JsonObject value)
Returned expression results in the number of name-value pairs in the object.
|
static Expression |
objectLength(String expression)
Returned expression results in the number of name-value pairs in the object.
|
static Expression |
objectNames(Expression expression)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
|
static Expression |
objectNames(JsonObject value)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
|
static Expression |
objectNames(String expression)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
|
static Expression |
objectPairs(Expression expression)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
|
static Expression |
objectPairs(JsonObject value)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
|
static Expression |
objectPairs(String expression)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
|
static Expression |
objectValues(Expression expression)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
|
static Expression |
objectValues(JsonObject value)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
|
static Expression |
objectValues(String expression)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
|
public static Expression objectLength(Expression expression)
Returned expression results in the number of name-value pairs in the object.
public static Expression objectLength(String expression)
Returned expression results in the number of name-value pairs in the object.
public static Expression objectLength(JsonObject value)
Returned expression results in the number of name-value pairs in the object.
public static Expression objectNames(Expression expression)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
public static Expression objectNames(String expression)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
public static Expression objectNames(JsonObject value)
Returned expression results in an array containing the attribute names of the object, in N1QL collation order.
public static Expression objectPairs(Expression expression)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
public static Expression objectPairs(String expression)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
public static Expression objectPairs(JsonObject value)
Returned expression results in an array containing the attribute name and value pairs of the object, in N1QL collation order of the names.
public static Expression objectValues(Expression expression)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
public static Expression objectValues(String expression)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
public static Expression objectValues(JsonObject value)
Returned expression results in an array containing the attribute values of the object, in N1QL collation order of the corresponding names.
Copyright © 2014 Couchbase, Inc.