@Test @Category(UnitTest.class) public void testGetVectorDataProviderForWriteWhenExisting() throws IOException { try { @SuppressWarnings("unused") VectorDataProvider dp = DataProviderFactory.getVectorDataProvider(test_tsv, AccessMode.WRITE, providerProperties); Assert.fail("Should not be able to use WRITE with an existing resource"); } catch (DataProviderNotFound e) { } }
public static VectorDataProvider getVectorDataProvider(String name, AccessMode accessMode, ProviderProperties providerProperties) throws DataProviderNotFound { return getVectorDataProvider(name, accessMode, getBasicConfig(), providerProperties); }
DataProviderFactory { public static VectorDataProvider getVectorDataProvider(String name, AccessMode accessMode, ProviderProperties providerProperties) throws DataProviderNotFound { return getVectorDataProvider(name, accessMode, getBasicConfig(), providerProperties); } }
DataProviderFactory { public static VectorDataProvider getVectorDataProvider(String name, AccessMode accessMode, ProviderProperties providerProperties) throws DataProviderNotFound { return getVectorDataProvider(name, accessMode, getBasicConfig(), providerProperties); }  }
DataProviderFactory { public static VectorDataProvider getVectorDataProvider(String name, AccessMode accessMode, ProviderProperties providerProperties) throws DataProviderNotFound { return getVectorDataProvider(name, accessMode, getBasicConfig(), providerProperties); }  static void saveProviderPropertiesToConfig(ProviderProperties providerProperties,
    Configuration conf); static ProviderProperties loadProviderPropertiesFromConfig(Configuration conf); static Map<String, String> getConfigurationFromProviders(); static void setConfigurationForProviders(Map<String, String> properties); static AdHocDataProvider createAdHocDataProvider(ProviderProperties providerProperties); static AdHocDataProvider createAdHocDataProvider(Configuration conf); static AdHocDataProvider getAdHocDataProvider(String name,
    AccessMode mode,
    ProviderProperties providerProperties); static AdHocDataProvider getAdHocDataProvider(String name,
    AccessMode mode,
    Configuration conf); static String[] listImages(ProviderProperties providerProperties); static String[] listVectors(ProviderProperties providerProperties); static MrsImageDataProvider createTempMrsImageDataProvider(ProviderProperties props); static MrsImageDataProvider createTempMrsImageDataProvider(Configuration conf); static MrsImageDataProvider getMrsImageDataProvider(String name,
    AccessMode accessMode,
    ProviderProperties props); static MrsImageDataProvider getMrsImageDataProviderNoCache(String name,
    AccessMode accessMode,
    ProviderProperties props); static MrsImageDataProvider getMrsImageDataProvider(String name,
    AccessMode accessMode,
    Configuration conf); static VectorDataProvider getVectorDataProvider(String name,
    AccessMode accessMode,
    ProviderProperties providerProperties); static VectorDataProvider getVectorDataProvider(String name,
    AccessMode accessMode, Configuration conf); static void invalidateCache(); static void invalidateCache(String resource); static void delete(String resource,
    ProviderProperties providerProperties); static void addDependencies(Configuration conf); static Set<String> getDependencies(); }
DataProviderFactory { public static VectorDataProvider getVectorDataProvider(String name, AccessMode accessMode, ProviderProperties providerProperties) throws DataProviderNotFound { return getVectorDataProvider(name, accessMode, getBasicConfig(), providerProperties); }  static void saveProviderPropertiesToConfig(ProviderProperties providerProperties,
    Configuration conf); static ProviderProperties loadProviderPropertiesFromConfig(Configuration conf); static Map<String, String> getConfigurationFromProviders(); static void setConfigurationForProviders(Map<String, String> properties); static AdHocDataProvider createAdHocDataProvider(ProviderProperties providerProperties); static AdHocDataProvider createAdHocDataProvider(Configuration conf); static AdHocDataProvider getAdHocDataProvider(String name,
    AccessMode mode,
    ProviderProperties providerProperties); static AdHocDataProvider getAdHocDataProvider(String name,
    AccessMode mode,
    Configuration conf); static String[] listImages(ProviderProperties providerProperties); static String[] listVectors(ProviderProperties providerProperties); static MrsImageDataProvider createTempMrsImageDataProvider(ProviderProperties props); static MrsImageDataProvider createTempMrsImageDataProvider(Configuration conf); static MrsImageDataProvider getMrsImageDataProvider(String name,
    AccessMode accessMode,
    ProviderProperties props); static MrsImageDataProvider getMrsImageDataProviderNoCache(String name,
    AccessMode accessMode,
    ProviderProperties props); static MrsImageDataProvider getMrsImageDataProvider(String name,
    AccessMode accessMode,
    Configuration conf); static VectorDataProvider getVectorDataProvider(String name,
    AccessMode accessMode,
    ProviderProperties providerProperties); static VectorDataProvider getVectorDataProvider(String name,
    AccessMode accessMode, Configuration conf); static void invalidateCache(); static void invalidateCache(String resource); static void delete(String resource,
    ProviderProperties providerProperties); static void addDependencies(Configuration conf); static Set<String> getDependencies(); static final String PROVIDER_PROPERTY_USER_NAME; static final String PROVIDER_PROPERTY_USER_ROLES; }