From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../amazon/carbonado/qe/JoinedQueryExecutor.html | 374 +++++++++++++++++++++ 1 file changed, 374 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/qe/JoinedQueryExecutor.html (limited to 'apidocs/com/amazon/carbonado/qe/JoinedQueryExecutor.html') diff --git a/apidocs/com/amazon/carbonado/qe/JoinedQueryExecutor.html b/apidocs/com/amazon/carbonado/qe/JoinedQueryExecutor.html new file mode 100644 index 0000000..e8fd436 --- /dev/null +++ b/apidocs/com/amazon/carbonado/qe/JoinedQueryExecutor.html @@ -0,0 +1,374 @@ + + + + + + +JoinedQueryExecutor (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.qe
+

Class JoinedQueryExecutor<S extends Storable,T extends Storable>

+
+
+ +
+
    +
  • +
    Type Parameters:
    S - source type
    T - target type
    +
    +
    All Implemented Interfaces:
    +
    QueryExecutor<T>
    +
    +
    +
    +
    public class JoinedQueryExecutor<S extends Storable,T extends Storable>
    +extends AbstractQueryExecutor<T>
    +
    QueryExecutor which joins a source and target executor, + producing results of target type. The source executor is called once per + fetch (outer loop), but the target executor is called once per source result + (inner loop).
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        build

        +
        public static <T extends StorableQueryExecutor<T> build(RepositoryAccess repoAccess,
        +                                          ChainedProperty<T> targetToSourceProperty,
        +                                          Filter<T> targetFilter,
        +                                          OrderingList<T> targetOrdering,
        +                                          QueryHints hints)
        +                                               throws RepositoryException
        +
        Builds and returns a complex joined excutor against a chained property, + supporting multi-way joins. Filtering and ordering may also be supplied, + in order to better distribute work throughout the join.
        +
        Parameters:
        repoAccess - used to create query executors for outer and inner loops
        targetToSourceProperty - join property of target type which maps + to instances of source type
        targetFilter - optional filter for fetching target instances
        targetOrdering - optional ordering to apply to target executor + & @param hints optional hints
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if any parameter is null or if join + property is not a Storable type
        +
        RepositoryException - from RepositoryAccess
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getFilter

        +
        public Filter<T> getFilter()
        +
        Description copied from interface: QueryExecutor
        +
        Returns the filter used by this QueryExecutor.
        +
        Returns:
        query filter, never null
        +
      • +
      + + + +
        +
      • +

        getOrdering

        +
        public OrderingList<T> getOrdering()
        +
        Description copied from interface: QueryExecutor
        +
        Returns the result ordering of this QueryExecutor.
        +
        Returns:
        query ordering in an unmodifiable list
        +
      • +
      + + + +
        +
      • +

        printPlan

        +
        public boolean printPlan(java.lang.Appendable app,
        +                int indentLevel,
        +                FilterValues<T> values)
        +                  throws java.io.IOException
        +
        Description copied from interface: QueryExecutor
        +
        Prints the query plan to any appendable, if applicable.
        +
        values - optional
        +
        Returns:
        false if not implemented
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3