Class OrSource

    • Constructor Detail

      • OrSource

        public OrSource​(Collection<? extends com.google.gerrit.index.query.Predicate<ChangeData>> that)
    • Method Detail

      • read

        public com.google.gwtorm.server.ResultSet<ChangeData> read()
                                                            throws com.google.gwtorm.server.OrmException
        Specified by:
        read in interface com.google.gerrit.index.query.DataSource<ChangeData>
        Throws:
        com.google.gwtorm.server.OrmException
      • hasChange

        public boolean hasChange()
        Specified by:
        hasChange in interface ChangeDataSource
        Returns:
        true if all returned ChangeData.hasChange() will be true.
      • getCardinality

        public int getCardinality()
        Specified by:
        getCardinality in interface com.google.gerrit.index.query.DataSource<ChangeData>