org.pentaho.di.core.database
Class SelectCountTests

java.lang.Object
  extended by 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 ....


Field Summary
static String h2DatabaseXML
           
static String MySQLDatabaseXML
           
static String OracleDatabaseXML
           
 
Constructor Summary
SelectCountTests()
           
 
Method Summary
 void testH2Database()
           
 void testMySQLDatabase()
           
 void testOracleDatabase()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SelectCountTests

public SelectCountTests()
Method Detail

testH2Database

public void testH2Database()

testOracleDatabase

public void testOracleDatabase()

testMySQLDatabase

public void testMySQLDatabase()