You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java
+35-5Lines changed: 35 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -210,29 +210,59 @@ public void importTable_ForImportedTable_ShouldPutThenGetCorrectly() throws Exec
210
210
/** This interface defines test data for running import table related integration tests. */
211
211
publicinterfaceTestData {
212
212
213
-
/** Returns true if the table is supported for import, false otherwise */
213
+
/**
214
+
* Returns true if the table is supported for import, false otherwise
215
+
*
216
+
* @return true if the table is supported for import, false otherwise
217
+
*/
214
218
booleanisImportableTable();
215
219
216
-
/** Returns the table name */
220
+
/**
221
+
* Returns the table name
222
+
*
223
+
* @return the table name
224
+
*/
217
225
StringgetTableName();
218
226
219
-
/** Returns the columns for which the data type should be overridden when importing the table */
227
+
/**
228
+
* Returns the columns for which the data type should be overridden when importing the table
229
+
*
230
+
* @return the columns for which the data type should be overridden when importing the table
231
+
*/
220
232
Map<String, DataType> getOverrideColumnsType();
221
233
222
234
/*
223
235
* Returns the expected table metadata of the imported table
236
+
* @return the expected table metadata of the imported table
224
237
*/
225
238
TableMetadatagetTableMetadata();
226
239
227
-
/** Returns a sample Insert operation for the table */
240
+
/**
241
+
* Returns a sample Insert operation for the table
242
+
*
243
+
* @param namespace the namespace of the table
244
+
* @param table the table name
245
+
* @return a sample Insert operation
246
+
*/
228
247
InsertgetInsert(Stringnamespace, Stringtable);
229
248
230
-
/** Returns a sample Put operation for the table */
249
+
/**
250
+
* Returns a sample Put operation for the table
251
+
*
252
+
* @param namespace the namespace of the table
253
+
* @param table the table name
254
+
* @return a sample Put operation
255
+
*/
231
256
PutgetPut(Stringnamespace, Stringtable);
232
257
233
258
/**
234
259
* Returns a Get operation to retrieve the record inserted with {@link #getPut(String, String)}
235
260
* or {@link #getInsert(String, String)}
261
+
*
262
+
* @param namespace the namespace of the table
263
+
* @param table the table name
264
+
* @return a Get operation to retrieve the record inserted with {@link #getPut(String, String)}
0 commit comments