diff --git a/integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java b/integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java index 6036112dde..0442896e81 100644 --- a/integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java +++ b/integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java @@ -210,29 +210,59 @@ public void importTable_ForImportedTable_ShouldPutThenGetCorrectly() throws Exec /** This interface defines test data for running import table related integration tests. */ public interface TestData { - /** Returns true if the table is supported for import, false otherwise */ + /** + * Returns true if the table is supported for import, false otherwise + * + * @return true if the table is supported for import, false otherwise + */ boolean isImportableTable(); - /** Returns the table name */ + /** + * Returns the table name + * + * @return the table name + */ String getTableName(); - /** Returns the columns for which the data type should be overridden when importing the table */ + /** + * Returns the columns for which the data type should be overridden when importing the table + * + * @return the columns for which the data type should be overridden when importing the table + */ Map getOverrideColumnsType(); /* * Returns the expected table metadata of the imported table + * @return the expected table metadata of the imported table */ TableMetadata getTableMetadata(); - /** Returns a sample Insert operation for the table */ + /** + * Returns a sample Insert operation for the table + * + * @param namespace the namespace of the table + * @param table the table name + * @return a sample Insert operation + */ Insert getInsert(String namespace, String table); - /** Returns a sample Put operation for the table */ + /** + * Returns a sample Put operation for the table + * + * @param namespace the namespace of the table + * @param table the table name + * @return a sample Put operation + */ Put getPut(String namespace, String table); /** * Returns a Get operation to retrieve the record inserted with {@link #getPut(String, String)} * or {@link #getInsert(String, String)} + * + * @param namespace the namespace of the table + * @param table the table name + * @return a Get operation to retrieve the record inserted with {@link #getPut(String, String)} + * or {@link #getInsert(String, String)} */ Get getGet(String namespace, String table); }