Package | Description |
---|---|
org.apache.sling.testing.clients.query |
Query tools leveraging javax.jcr.query
|
Modifier and Type | Method and Description |
---|---|
static QueryClient.QueryType |
QueryClient.QueryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryClient.QueryType[] |
QueryClient.QueryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
long |
QueryClient.doCount(String query,
QueryClient.QueryType type)
Executes a query on the server and returns only the number of rows in the result
|
org.codehaus.jackson.JsonNode |
QueryClient.doQuery(String query,
QueryClient.QueryType type)
Executes a query on the server and returns the results as a json
|
protected org.codehaus.jackson.JsonNode |
QueryClient.doQuery(String query,
QueryClient.QueryType type,
boolean showResults,
boolean explain) |
String |
QueryClient.getPlan(String query,
QueryClient.QueryType type)
Retrieves the plan of the query.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.