Source:
private static Schema generateSchema() { Schema schema = new Schema("TargetedSweep", TargetedSweepSchema.class.getPackage().getName() + ".generated", NAMESPACE, OptionalType.JAVA8); schema.addTableDefinition("sweepableCells", new TableDefinition() {{ javaTableName("SweepableCells"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("timestamp_partition", ValueType.VAR_LONG); rowComponent("metadata", ValueType.BLOB); dynamicColumns(); columnComponent("timestamp_modulus", ValueType.VAR_LONG); columnComponent("write_index", ValueType.VAR_LONG); value(TableReferenceAndCell.class); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.addTableDefinition("sweepableTimestamps", new TableDefinition() {{ javaTableName("SweepableTimestamps"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("shard", ValueType.VAR_LONG); rowComponent("timestamp_partition", ValueType.VAR_LONG); rowComponent("sweep_conservative", ValueType.BLOB); dynamicColumns(); columnComponent("timestamp_modulus", ValueType.VAR_LONG); value(ValueType.BLOB); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.addTableDefinition("sweepProgressPerShard", new TableDefinition() {{ javaTableName("SweepShardProgress"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("shard", ValueType.VAR_LONG); rowComponent("sweep_conservative", ValueType.BLOB); columns(); column("value", "v", ValueType.VAR_LONG); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.validate(); return schema; }

Target:
private static Schema generateSchema() { Schema schema = new Schema("TargetedSweep", TargetedSweepSchema.class.getPackage().getName() + ".generated", NAMESPACE, OptionalType.JAVA8); schema.addTableDefinition("sweepableCells", new TableDefinition() {{ javaTableName("SweepableCells"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("timestamp_partition", ValueType.VAR_LONG); rowComponent("metadata", ValueType.BLOB); dynamicColumns(); columnComponent("timestamp_modulus", ValueType.VAR_LONG); columnComponent("write_index", ValueType.VAR_LONG); value(TableReferenceAndCell.class); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.addTableDefinition("sweepableTimestamps", new TableDefinition() {{ javaTableName("SweepableTimestamps"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("shard", ValueType.VAR_LONG); rowComponent("timestamp_partition", ValueType.VAR_LONG); rowComponent("sweep_conservative", ValueType.BLOB); dynamicColumns(); columnComponent("timestamp_modulus", ValueType.VAR_LONG); value(ValueType.BLOB); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.addTableDefinition("sweepProgressPerShard", new TableDefinition() {{ javaTableName("SweepShardProgress"); allSafeForLoggingByDefault(); rowName(); hashFirstRowComponent(); rowComponent("shard", ValueType.VAR_SIGNED_LONG); rowComponent("sweep_conservative", ValueType.BLOB); columns(); column("value", "v", ValueType.VAR_LONG); sweepStrategy(TableMetadataPersistence.SweepStrategy.NOTHING); conflictHandler(ConflictHandler.IGNORE_ALL); }}); schema.validate(); return schema; }