for (Map.Entry<ColumnRef, byte[]> entry : addViewColumns.entrySet()) {
ColumnRef ref = entry.getKey();
PColumn column = ref.getColumn();
byte[] byteValue = entry.getValue();
Object value = column.getDataType().toObject(byteValue);
selectNodes.add(new AliasedNode(null, new LiteralParseNode(value)));
}
if (table.isMultiTenant() && tenantId != null) {
selectNodes.add(new AliasedNode(null, new LiteralParseNode(tenantId)));
}
return SelectStatement.create(select, selectNodes);
}