Class PreparedSQLStoreQuery

    • Constructor Detail

      • PreparedSQLStoreQuery

        public PreparedSQLStoreQuery​(JDBCStore store)
    • Method Detail

      • newDataStoreExecutor

        public StoreQuery.Executor newDataStoreExecutor​(ClassMetaData meta,
                                                        boolean subclasses)
        Description copied from interface: StoreQuery
        Return an executor for datastore execution of this query. Executors must be cachable and thread safe. If this class returns true from StoreQuery.supportsAbstractExecutors(), the given metadata will always be for the candidate class of this query, or possibly null if the candidate class is not itself persistence capable (like an interface or abstract base class). Otherwise, the given type will be a mapped class.
        Specified by:
        newDataStoreExecutor in interface StoreQuery
        Overrides:
        newDataStoreExecutor in class SQLStoreQuery
        subclasses - whether to include dependent mapped subclasses in the results; independent subclasses should never be included
      • setQuery

        public boolean setQuery​(java.lang.Object query)
        Description copied from interface: StoreQuery
        This is invoked when the user or a facade creates a new query with an object that the system does not recognize. Return true if the object is recognized by the store, false otherwise.
        Specified by:
        setQuery in interface StoreQuery
        Overrides:
        setQuery in class AbstractStoreQuery