Change Password

Input error
Input error
Input error
Submit
v2.x

UQL Request Interface

Custom Request

Composite a valid uQL statement for the custom query:

String uql = "t(p).n({_id:{$eq: 2}}).e().n().return(p)";
println(client.uql(uql));

Asynchronous UQL

All the requests introduced in this SDK manual support asynchronous execution.

Example: Asynchronous query for one thousand nodes where age = 18:

SearchNodesRequest request = new SearchNodesRequest();
request.setFilter(Filter.newGtBuilder("age").gt(18).build());
request.setLimit(10000);
client.uqlStreamListener(request, new UqlListener() {
@Override
public void onReady() {
// do something
}
@Override
public void onError(Throwable t) {
// do something
}
@Override
public void onComplete() {
// do something
}
@Override
public void next(Result result) {
// do something
}
});