Interface QueryFactory<T,F>
-
- Type Parameters:
T- The type of connection queries are made for.F- The type of filters that make up the queries.
- All Known Implementing Classes:
LdapQueryFactory,QueryFactory
public interface QueryFactory<T,F>Responsible for generating instances of QueryBuilder and QueryFilter to perform queries against the connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.forgerock.util.query.QueryFilterVisitor<F,Void,CoreTokenField>createFilterConverter()Generate an instance of the QueryFilter for use with the QueryBuilder.QueryBuilder<T,F>createInstance()Generate an instance of the QueryBuilder.
-
-
-
Method Detail
-
createInstance
QueryBuilder<T,F> createInstance()
Generate an instance of the QueryBuilder.- Returns:
- A non null instance of the QueryBuilder.
-
createFilterConverter
org.forgerock.util.query.QueryFilterVisitor<F,Void,CoreTokenField> createFilterConverter()
Generate an instance of the QueryFilter for use with the QueryBuilder.- Returns:
- A non null QueryFilter instance.
-
-