java.lang.Object
org.graylog.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport.search.Search
All Implemented Interfaces:
MongoEntity

public abstract class Search extends Object implements MongoEntity
  • Constructor Details

    • Search

      public Search()
  • Method Details

    • id

      @Nullable public abstract String id()
      Description copied from interface: MongoEntity
      ID of the entity. Will be stored as field "_id" with type ObjectId in MongoDB.
      Specified by:
      id in interface MongoEntity
      Returns:
      Hex string representation of the entity's ID
    • create

      public static Search create(String id, Set<Query> queries, String owner, org.joda.time.DateTime createdAt)