Class AggregationRule


  • @Deprecated
    public class AggregationRule
    extends java.lang.Object
    Deprecated.
    This class represents Oak Lucene Index Aggregation Rule
    • Constructor Summary

      Constructors 
      Constructor Description
      AggregationRule​(java.lang.String primaryType, java.util.List<java.lang.String> includes)
      Deprecated.
      Creates an AggregationRule for given primaryType
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void build​(Resource resource)
      Deprecated.
      Creates AggregationRule under given resource
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregationRule

        public AggregationRule​(java.lang.String primaryType,
                               java.util.List<java.lang.String> includes)
        Deprecated.
        Creates an AggregationRule for given primaryType
        Parameters:
        primaryType - primaryType for which aggregation rule is defined
        includes - contains list of paths to be included under given primary type aggregate
    • Method Detail

      • build

        public void build​(Resource resource)
                   throws PersistenceException
        Deprecated.
        Creates AggregationRule under given resource
        Parameters:
        resource - resource under which AggregationRule will be created
        Throws:
        PersistenceException