private final TComparison comparison;
private final boolean reverseComparison;
}
private void explainColumnExpression(TPreparedExpression expression, ColumnExpression column) {
CompoundExplainer explainer = new CompoundExplainer(Type.EXTRA_INFO);
explainer.addAttribute(Label.POSITION,
PrimitiveExplainer.getInstance(column.getPosition()));
Column aisColumn = column.getColumn();
if (aisColumn != null) {
explainer.addAttribute(Label.TABLE_CORRELATION,
PrimitiveExplainer.getInstance(column.getTable().getName()));
TableName tableName = aisColumn.getTable().getName();
explainer.addAttribute(Label.TABLE_SCHEMA,
PrimitiveExplainer.getInstance(tableName.getSchemaName()));
explainer.addAttribute(Label.TABLE_NAME,
PrimitiveExplainer.getInstance(tableName.getTableName()));
explainer.addAttribute(Label.COLUMN_NAME,
PrimitiveExplainer.getInstance(aisColumn.getName()));
}
explainContext.putExtraInfo(expression, explainer);
}