Class AbstractQueryFactory

    • Constructor Detail

      • AbstractQueryFactory

        public AbstractQueryFactory()
    • Method Detail

      • createQuery

        public <T> Query<T> createQuery​(Datastore datastore,
                                        Class<T> type)
        Description copied from interface: QueryFactory
        Creates and returns a Query for the given arguments. Default implementations of this method will simply delegate to QueryFactory.createQuery(Datastore, Class) with the last argument being null.
        Specified by:
        createQuery in interface QueryFactory
        Type Parameters:
        T - the type of the result
        Parameters:
        datastore - the Datastore to use
        type - the type of the result
        Returns:
        the query