QueryDest¶
-
public class
QueryDestextends zn_query_dest_t¶ A data structure defining which storages or evals should be destination of a query (see
Session.query(String,String,ReplyCallback,QueryDest,QueryDest)).
Methods¶
all¶
-
public static QueryDest
all()¶ Returns: a QueryDestwith kindKind.ZN_ALL.
bestMatch¶
-
public static QueryDest
bestMatch()¶ Returns: a QueryDestwith kindKind.ZN_BEST_MATCH.
complete¶
-
public static QueryDest
complete()¶ Returns: a QueryDestwith kindKind.ZN_COMPLETE.
complete¶
-
public static QueryDest
complete(short nb)¶ Returns a
QueryDestwith kindKind.ZN_COMPLETEand with the number of storages or evals that should be destination of the query.Parameters: - nb – the number of storages or evals that should be destination of the query
Returns: a
QueryDestwith kindKind.ZN_COMPLETE.
none¶
-
public static QueryDest
none()¶ Returns: a QueryDestwith kindKind.ZN_NONE.