@Test(expected = IllegalArgumentException.class) public void testDecompositionWithNullForTableNameThrowsException() { SchemaOperations.decomposeTable(null); }
DecomposeTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.decompositions = LinkedHashMultimap.create(); }
DecomposeTable implements SchemaOperation { DecomposeTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.decompositions = LinkedHashMultimap.create(); } }
DecomposeTable implements SchemaOperation { DecomposeTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.decompositions = LinkedHashMultimap.create(); } DecomposeTable(String tableName); }
DecomposeTable implements SchemaOperation { DecomposeTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.decompositions = LinkedHashMultimap.create(); } DecomposeTable(String tableName); DecomposeTable into(String tableName, String... columns); ImmutableMultimap<String, String> getDecompositions(); }
DecomposeTable implements SchemaOperation { DecomposeTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.decompositions = LinkedHashMultimap.create(); } DecomposeTable(String tableName); DecomposeTable into(String tableName, String... columns); ImmutableMultimap<String, String> getDecompositions();  }