Class GenericAggregateOptions

  • All Implemented Interfaces:
    AggregateOptions

    public class GenericAggregateOptions
    extends java.lang.Object
    implements AggregateOptions
    GenericAggregateOptions
    Since:
    0.0.10
    • Constructor Detail

      • GenericAggregateOptions

        public GenericAggregateOptions()
    • Method Detail

      • setActivityStreamFilter

        public GenericAggregateOptions setActivityStreamFilter​(ActivityStreamFilter filter)
        Sets the stream filter
        Parameters:
        filter - the filter
        Returns:
        this aggregate options for chaining.
      • relationshipTypes

        public java.lang.String[] relationshipTypes()
        Returns the list of relationship types to follow while aggregating. A null return value specifies to use the configured default, and empty array specifies not to follow any relationships.
        Specified by:
        relationshipTypes in interface AggregateOptions
        Returns:
        the list of relationship types
      • setRelationshipTypes

        public GenericAggregateOptions setRelationshipTypes​(java.lang.String[] types)
        Sets the array of relationship types
        Parameters:
        types - the types
        Returns:
        this aggregate options for chaining.