VTICosting is the interface that the query optimizer uses to cost VTIs. The methods on the interface provide the optimizer with the following information:
the estimated number of rows returned by the VTI in a single instantiation.
the estimated cost to instantiate and iterate through the VTI.
whether or not the VTI can be instantiated multiple times within a single query execution
This class can only be used within an SQL-J statement. Using the methods in application-side Java code results in Exceptions being thrown.
@see org.apache.derby.vti.VTIEnvironment
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.