@Test public void testGetAccessTypeList() { assertArrayEquals( new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }, baseSimbaDatabaseMeta.getAccessTypeList() ); }
@Override public int[] getAccessTypeList() { return new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }; }
BaseSimbaDatabaseMeta extends Hive2DatabaseMeta { @Override public int[] getAccessTypeList() { return new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }; } }
BaseSimbaDatabaseMeta extends Hive2DatabaseMeta { @Override public int[] getAccessTypeList() { return new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }; } BaseSimbaDatabaseMeta( DriverLocator driverLocator, NamedClusterService namedClusterService,
                         MetastoreLocator metastoreLocator ); }
BaseSimbaDatabaseMeta extends Hive2DatabaseMeta { @Override public int[] getAccessTypeList() { return new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }; } BaseSimbaDatabaseMeta( DriverLocator driverLocator, NamedClusterService namedClusterService,
                         MetastoreLocator metastoreLocator ); @Override abstract String getDriverClass(); @Override int[] getAccessTypeList(); @Override String getURL( String hostname, String port, String databaseName ); @Override String getFieldDefinition( ValueMetaInterface v, String tk, String pk, boolean useAutoinc,
                                    boolean addFieldname, boolean addCr ); }
BaseSimbaDatabaseMeta extends Hive2DatabaseMeta { @Override public int[] getAccessTypeList() { return new int[] { DatabaseMeta.TYPE_ACCESS_NATIVE, DatabaseMeta.TYPE_ACCESS_ODBC, DatabaseMeta.TYPE_ACCESS_JNDI }; } BaseSimbaDatabaseMeta( DriverLocator driverLocator, NamedClusterService namedClusterService,
                         MetastoreLocator metastoreLocator ); @Override abstract String getDriverClass(); @Override int[] getAccessTypeList(); @Override String getURL( String hostname, String port, String databaseName ); @Override String getFieldDefinition( ValueMetaInterface v, String tk, String pk, boolean useAutoinc,
                                    boolean addFieldname, boolean addCr );  }