@Test public void testIllegalDedicatedRowNumber() { ImmutableTargetedSweepMetadata.Builder builder = ImmutableTargetedSweepMetadata.builder().from( ALL_ZERO_METADATA); assertThatThrownBy(() -> builder.dedicatedRowNumber(-1).build()).isInstanceOf(IllegalArgumentException.class); }
public abstract long dedicatedRowNumber();
TargetedSweepMetadata implements Persistable { public abstract long dedicatedRowNumber(); }
TargetedSweepMetadata implements Persistable { public abstract long dedicatedRowNumber();  }
TargetedSweepMetadata implements Persistable { public abstract long dedicatedRowNumber();  abstract boolean conservative(); abstract boolean dedicatedRow(); abstract int shard(); abstract long dedicatedRowNumber(); @Override byte[] persistToBytes(); }
TargetedSweepMetadata implements Persistable { public abstract long dedicatedRowNumber();  abstract boolean conservative(); abstract boolean dedicatedRow(); abstract int shard(); abstract long dedicatedRowNumber(); @Override byte[] persistToBytes(); static final int MAX_SHARDS; static final int MAX_DEDICATED_ROWS; static final Hydrator<TargetedSweepMetadata> BYTES_HYDRATOR; }