Class DefaultQueryFactory

    • Constructor Detail

      • DefaultQueryFactory

        public DefaultQueryFactory()
    • Method Detail

      • createQuery

        public <T> Query<T> createQuery​(Datastore datastore,
                                        Class<T> type,
                                        @Nullable
                                        Document query)
        Description copied from interface: QueryFactory
        Creates and returns a Query for the given arguments. The last argument is optional and may be 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
        query - the Document containing the query structure
        Returns:
        the query