Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

4.3.3.3 QueryBuilder

QueryBuilder represents a factory for queries.

4.3.3.3.1 Synopsis
 public interface QueryBuilder {
// Public Methods  public abstract QueryDomainType<T> createQueryDefinition(Class<T> cls);
}

Figure 4.39 QueryBuilder Class

QueryBuilder Class

4.3.3.3.2 createQueryDefinition(Class<T>)
public abstract QueryDomainType<T> createQueryDefinition(Class<T> cls);

Create a QueryDefinition to define queries.

Parameters

cls

the class of the type to be queried

return

the QueryDomainType to define the query


User Comments
Sign Up Login You must be logged in to post a comment.