use of org.apache.pinot.common.request.context.FilterContext in project trino by trinodb.
the class PinotSqlFormatter method formatFilter.
public static String formatFilter(SchemaTableName schemaTableName, FilterContext filterContext, Map<String, ColumnHandle> columnHandles) {
requireNonNull(filterContext, "filterContext is null");
Context context = new Context() {
@Override
public SchemaTableName getSchemaTableName() {
return schemaTableName;
}
@Override
public Optional<Map<String, ColumnHandle>> getColumnHandles() {
return Optional.of(columnHandles);
}
};
return formatFilter(filterContext, context);
}
Aggregations