Class LegacyQueryFactory

    • Constructor Detail

      • LegacyQueryFactory

        public LegacyQueryFactory()
    • Method Detail

      • createQuery

        public <T> Query<T> createQuery​(Datastore datastore,
                                        Class<T> type,
                                        @Nullable
                                        Document seed)
        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
        seed - the Document containing the query structure
        Returns:
        the query