@Test(expected = IllegalArgumentException.class) public void testThatTableNameCannotBeNull() { SchemaOperations.partitionTable(null); }
PartitionTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.partitions = Maps.newLinkedHashMap(); }
PartitionTable implements SchemaOperation { PartitionTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.partitions = Maps.newLinkedHashMap(); } }
PartitionTable implements SchemaOperation { PartitionTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.partitions = Maps.newLinkedHashMap(); } PartitionTable(String tableName); }
PartitionTable implements SchemaOperation { PartitionTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.partitions = Maps.newLinkedHashMap(); } PartitionTable(String tableName); PartitionTable into(String tableName, String expression); ImmutableMap<String, String> getPartitions(); }
PartitionTable implements SchemaOperation { PartitionTable(String tableName) { checkArgument(!Strings.isNullOrEmpty(tableName), "You must specify a 'tableName'."); this.tableName = tableName; this.partitions = Maps.newLinkedHashMap(); } PartitionTable(String tableName); PartitionTable into(String tableName, String expression); ImmutableMap<String, String> getPartitions();  }