// (1) Only include TARGET_PROCEDURE traces
// (2) Only include traces with 10 orderline items
// (3) Only include traces that execute on the BASE_PARTITION
// (4) Limit the total number of traces to WORKLOAD_XACT_LIMIT
List<ProcParameter> array_params = CatalogUtil.getArrayProcParameters(this.catalog_proc);
Filter filter = new ProcedureNameFilter(false)
.include(TARGET_PROCEDURE.getSimpleName())
.attach(new NoAbortFilter())
.attach(new ProcParameterArraySizeFilter(array_params.get(0), 10, ExpressionType.COMPARE_EQUAL))
.attach(new BasePartitionTxnFilter(p_estimator, BASE_PARTITION))
.attach(new ProcedureLimitFilter(WORKLOAD_XACT_LIMIT));