.setEncoding(RowKeyEncoding.FORMATTED)
.setSalt(new HashSpec(HashType.MD5, hashLength, false))
.setRangeScanStartIndex(1);
List<RowKeyComponent> components = ImmutableList.of(
new RowKeyComponent("id", INTEGER), // this one is included in the hash
new RowKeyComponent("ts", LONG)); // this one is not
builder.setComponents(components);
RowKeyFormat2 rowKeyFormat = builder.build();
EntityIdFactory factory = EntityIdFactory.getFactory(rowKeyFormat);
FormattedEntityIdRowFilter filter = createFilter(rowKeyFormat, 100);