The only place where the sample size really matters is on the ResultSet . When a ResultSet is created, it gets its sample size from the Statement , which was used to create it, but can be changed later.
Consider the default Statement sample size that will be passed to all ResultSet created. If you do not want to use this default value, you can override it.
Mureinik
source share