@Test public void testMigrateFile() throws Exception { tool.createOrMigrateSchemaFile(tableName, simpleSchemaFile, true); Dao<SimpleHBaseRecord> dao = new SpecificAvroDao<SimpleHBaseRecord>( tablePool, tableName, "SimpleHBaseRecord", manager); testBasicOperations(dao); }
public void createOrMigrateSchemaFile(String tableName, String entitySchemaFilePath, boolean createTableAndFamilies) throws InterruptedException { createOrMigrateSchemaFile(tableName, new File(entitySchemaFilePath), createTableAndFamilies); }
SchemaTool { public void createOrMigrateSchemaFile(String tableName, String entitySchemaFilePath, boolean createTableAndFamilies) throws InterruptedException { createOrMigrateSchemaFile(tableName, new File(entitySchemaFilePath), createTableAndFamilies); } }
SchemaTool { public void createOrMigrateSchemaFile(String tableName, String entitySchemaFilePath, boolean createTableAndFamilies) throws InterruptedException { createOrMigrateSchemaFile(tableName, new File(entitySchemaFilePath), createTableAndFamilies); } SchemaTool(HBaseAdmin hbaseAdmin, SchemaManager entityManager); }
SchemaTool { public void createOrMigrateSchemaFile(String tableName, String entitySchemaFilePath, boolean createTableAndFamilies) throws InterruptedException { createOrMigrateSchemaFile(tableName, new File(entitySchemaFilePath), createTableAndFamilies); } SchemaTool(HBaseAdmin hbaseAdmin, SchemaManager entityManager); void createOrMigrateSchemaDirectory(String schemaDirectory,
      boolean createTableAndFamilies); void createOrMigrateSchemaFile(String tableName,
      String entitySchemaFilePath, boolean createTableAndFamilies); void createOrMigrateSchemaFile(String tableName,
      File entitySchemaFile, boolean createTableAndFamilies); void createOrMigrateSchema(String tableName, String entitySchemaString,
      boolean createTableAndFamilies); }
SchemaTool { public void createOrMigrateSchemaFile(String tableName, String entitySchemaFilePath, boolean createTableAndFamilies) throws InterruptedException { createOrMigrateSchemaFile(tableName, new File(entitySchemaFilePath), createTableAndFamilies); } SchemaTool(HBaseAdmin hbaseAdmin, SchemaManager entityManager); void createOrMigrateSchemaDirectory(String schemaDirectory,
      boolean createTableAndFamilies); void createOrMigrateSchemaFile(String tableName,
      String entitySchemaFilePath, boolean createTableAndFamilies); void createOrMigrateSchemaFile(String tableName,
      File entitySchemaFile, boolean createTableAndFamilies); void createOrMigrateSchema(String tableName, String entitySchemaString,
      boolean createTableAndFamilies);  }