Class TableSettings.Builder

  • Enclosing class:
    TableSettings

    public static class TableSettings.Builder
    extends java.lang.Object
    Builder for constructing a tableSettings
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • addFields

        public TableSettings.Builder addFields​(java.util.Collection<Field> values)
        Convenience function for adding multiple fields that are already in a collection.
        Parameters:
        values - The fields to add
        Returns:
        this builder, with the fields added.
      • addMaxResults

        public TableSettings.Builder addMaxResults​(java.util.Collection<java.lang.Integer> values)
        Add a collection of max result values
        Parameters:
        values - The list of max result values
        Returns:
        this builder
      • extractionPipeline

        public TableSettings.Builder extractionPipeline​(DocRef value)
        Parameters:
        value - The reference to the extraction pipeline that will be used on the results
        Returns:
        The TableSettings.Builder, enabling method chaining
      • extractionPipeline

        public TableSettings.Builder extractionPipeline​(java.lang.String type,
                                                        java.lang.String uuid,
                                                        java.lang.String name)
        Shortcut function for creating the extractionPipeline DocRef in one go
        Parameters:
        type - The type of the extractionPipeline
        uuid - The UUID of the extractionPipeline
        name - The name of the extractionPipeline
        Returns:
        this builder, with the completed extractionPipeline added.
      • showDetail

        public TableSettings.Builder showDetail​(java.lang.Boolean value)
        Parameters:
        value - When grouping is used a value of true indicates that the results will include the full detail of any results aggregated into a group as well as their aggregates. A value of false will only include the aggregated values for each group. Defaults to false.
        Returns:
        The TableSettings.Builder, enabling method chaining