org.pentaho.di.core.database
Class SelectCountTests
java.lang.Object
org.pentaho.di.core.database.SelectCountTests
public class SelectCountTests
- extends Object
Tests the value returned from org.pentaho.di.core.database.DatabaseInterface.getSelectCountStatement
for the database the interface is fronting.
As this release, Hive uses the following to select the number of rows:
SELECT COUNT(1) FROM ....
All other databases use:
SELECT COUNT(*) FROM ....
h2DatabaseXML
public static final String h2DatabaseXML
- See Also:
- Constant Field Values
OracleDatabaseXML
public static final String OracleDatabaseXML
- See Also:
- Constant Field Values
MySQLDatabaseXML
public static final String MySQLDatabaseXML
- See Also:
- Constant Field Values
SelectCountTests
public SelectCountTests()
testH2Database
public void testH2Database()
testOracleDatabase
public void testOracleDatabase()
testMySQLDatabase
public void testMySQLDatabase()