region.startRegionOperation();
try {
byte[] systemTableKeyPrefix = ByteUtil.concat(PhoenixDatabaseMetaData.TYPE_SCHEMA_BYTES, QueryConstants.SEPARATOR_BYTE_ARRAY, PhoenixDatabaseMetaData.TYPE_TABLE_BYTES);
do {
result = Lists.newArrayList();
scanner.nextRaw(result, null);
for (KeyValue keyValue : result) {
byte[] buf = keyValue.getBuffer();
int rowOffset = keyValue.getRowOffset();
int rowLength = keyValue.getRowLength();
if (Type.codeToType(keyValue.getType()) == Type.Put) {