Deprecate unused "rowsExpected" property of SqlQuery for removal
See gh-34526 Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
committed by
Sam Brannen
parent
5ffaea7a43
commit
78cc5df748
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -84,14 +84,18 @@ public abstract class SqlQuery<T> extends SqlOperation {
|
||||
* Set the number of rows expected.
|
||||
* <p>This can be used to ensure efficient storage of results. The
|
||||
* default behavior is not to expect any specific number of rows.
|
||||
* @deprecated since 6.2.4 with no replacement; it's for internal use only
|
||||
*/
|
||||
@Deprecated(since = "6.2.4", forRemoval = true)
|
||||
public void setRowsExpected(int rowsExpected) {
|
||||
this.rowsExpected = rowsExpected;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the number of rows expected.
|
||||
* @deprecated since 6.2.4 with no replacement; it's for internal use only
|
||||
*/
|
||||
@Deprecated(since = "6.2.4", forRemoval = true)
|
||||
public int getRowsExpected() {
|
||||
return this.rowsExpected;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user